#AFCA3D
Closest named color: Yellow Green (#9ACD32). oklch(79.3% 0.165 119.8), rgb(175, 202, 61).
Aa
Black text reads best on this color (11.33:1).
About this color
#AFCA3D is a light, vivid yellow. In OKLCH its lightness is 79%, its chroma 0.165 and its hue 120°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Yellow Green (#9ACD32), ΔE 0.029 away. Black text reads best on it, at 11.33:1.
| Hue family | Yellows |
| Lightness | light (79%) |
| Chroma | vivid (0.165) |
| Temperature | in between |
| Nearest name | Yellow Green (#9ACD32) |
| Black text | 11.33:1 |
| White text | 1.85:1 |
Values
| HEX | #AFCA3D |
| RGB | rgb(175, 202, 61) |
| HSL | hsl(71, 57%, 52%) |
| OKLCH | oklch(79.3% 0.165 119.8) |
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 #AFCA3D | 1.85:1 | Fails | Lc -38.9 | Non-text elements, placeholder text |
| Black text on #AFCA3D | 11.33:1 | AAA | Lc 69.1 | Content text, not long reading |
| #AFCA3D text on white | 1.85:1 | Fails | Lc 34.7 | Non-text elements, placeholder text |
| #AFCA3D text on black | 11.33:1 | AAA | Lc -67.8 | 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
#F3F8E8
oklch(97.1% 0.022 121)
-
Step 100
100
#E5EFCC
oklch(93.5% 0.047 120.3)
-
Step 200
200
#D1E39E
oklch(88.6% 0.092 120.2)
-
Step 300
300 (this color)
#AFCA3D
oklch(79.3% 0.165 119.8)
-
Step 400
400
#95AE00
oklch(70.7% 0.167 119.5)
-
Step 500
500
#7F9500
oklch(63% 0.149 119.6)
-
Step 600
600
#6A7D00
oklch(55.5% 0.131 119.7)
-
Step 700
700
#596900
oklch(49% 0.116 119.6)
-
Step 800
800
#495600
oklch(42.7% 0.101 119.3)
-
Step 900
900
#3C4800
oklch(37.7% 0.09 119.9)
-
Step 950
950
#232B00
oklch(27.2% 0.064 120)
#AFCA3D 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) | #D7BF26 | 0.058 |
| Deuteranopia (no green cones) | #D4BF48 | 0.060 |
| Tritanopia (no blue cones) | #B9BFAE | 0.140 |
| Achromatopsia (no color) | #BEBEBE | 0.165 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #AFCA3D
#AFCA3D
oklch(79.3% 0.165 119.8)
- #C7A9FF
#C7A9FF
oklch(79.2% 0.123 299.6)
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 #AFCA3D, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Yellow Green #9ACD32 ΔE 0.029
- Pea #A4BF20 ΔE 0.036
- Slime Green #99CC04 ΔE 0.040
- Light Olive Green #A4BE5C ΔE 0.049
- Olive Yellow #C2B709 ΔE 0.050
- Light Moss Green #A6C875 ΔE 0.052
- Bright Olive #9CBB04 ΔE 0.052
- Mustard Yellow #D2BD0A ΔE 0.053
Use #AFCA3D 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.