#AFD358
Closest named color: Pale Olive Green (#B1D27B). oklch(81.6% 0.155 123.5), rgb(175, 211, 88).
Aa
Black text reads best on this color (12.28:1).
About this color
#AFD358 is a light, vivid yellow. In OKLCH its lightness is 82%, its chroma 0.155 and its hue 124°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Pale Olive Green (#B1D27B), ΔE 0.037 away. Black text reads best on it, at 12.28:1.
| Hue family | Yellows |
| Lightness | light (82%) |
| Chroma | vivid (0.155) |
| Temperature | in between |
| Nearest name | Pale Olive Green (#B1D27B) |
| Black text | 12.28:1 |
| White text | 1.70:1 |
Values
| HEX | #AFD358 |
| RGB | rgb(175, 211, 88) |
| HSL | hsl(78, 58%, 59%) |
| OKLCH | oklch(81.6% 0.155 123.5) |
Contrast
WCAG 2 contrast ratios are the conformance target: AA needs 4.5:1 for body text and 3:1 for large text, AAA needs 7:1. APCA Lc values are supplementary guidance from the WCAG 3 drafts.
| Pair | WCAG 2 | Result | APCA | APCA guidance |
|---|---|---|---|---|
| White text on #AFD358 | 1.70:1 | Fails | Lc -34.4 | Non-text elements, placeholder text |
| Black text on #AFD358 | 12.28:1 | AAA | Lc 73.2 | Content text, not long reading |
| #AFD358 text on white | 1.70:1 | Fails | Lc 30.6 | Non-text elements, placeholder text |
| #AFD358 text on black | 12.28:1 | AAA | Lc -72.2 | Content text, not long reading |
Tints and shades
A 50–950 scale built in OKLCH: the hue is held, lightness follows a Tailwind v4-like curve, and every step is kept inside the sRGB gamut. This color sits at step 300.
-
Step 50
50
#F2F8E9
oklch(97.1% 0.021 124.7)
-
Step 100
100
#E4EFCF
oklch(93.5% 0.044 122.7)
-
Step 200
200
#CEE3A4
oklch(88.5% 0.086 123.1)
-
Step 300
300 (this color)
#AFD358
oklch(81.6% 0.155 123.5)
-
Step 400
400
#8BB100
oklch(70.6% 0.175 123.7)
-
Step 500
500
#779800
oklch(63.1% 0.156 123.6)
-
Step 600
600
#648000
oklch(55.8% 0.138 123.5)
-
Step 700
700
#536B00
oklch(49% 0.121 123.6)
-
Step 800
800
#445800
oklch(42.8% 0.106 123.5)
-
Step 900
900
#384900
oklch(37.7% 0.093 123.4)
-
Step 950
950
#202B00
oklch(26.9% 0.066 123.3)
#AFD358 with color blindness
Simulated with the Machado et al. (2009) model. ΔE is how far the color moves: below about 0.02 you would not notice a change.
| Vision | Seen as | Shift (ΔE) |
|---|---|---|
| Protanopia (no red cones) | #DEC74B | 0.066 |
| Deuteranopia (no green cones) | #D9C660 | 0.067 |
| Tritanopia (no blue cones) | #B7C9B8 | 0.128 |
| Achromatopsia (no color) | #C6C6C6 | 0.156 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #AFD358
#AFD358
oklch(81.6% 0.155 123.5)
- #D2B1FF
#D2B1FF
oklch(81.6% 0.113 303.4)
Analogous
Neighbouring hues, 30° either side.
Split complementary
The two hues beside the complement (150° and 210°).
Triadic
Three hues spaced 120° apart.
Palettes with this color
Curated palettes that contain a color within ΔE 0.04 (OKLab) of #AFD358, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Pale Olive Green #B1D27B ΔE 0.037
- Yellow Green #9ACD32 ΔE 0.043
- Light Moss Green #A6C875 ΔE 0.049
- Greenish Tan #BCCB7A ΔE 0.051
- Greenish Beige #C9D179 ΔE 0.053
- Pale Olive #B9CC81 ΔE 0.055
- Slime Green #99CC04 ΔE 0.055
- Pea #A4BF20 ΔE 0.061
Use #AFD358 in your product
Turn it into light and dark UI roles checked for contrast, then export to Tailwind v4, shadcn/ui, CSS or design tokens.