#AFC666
Closest named color: Light Moss Green (#A6C875). oklch(78.8% 0.125 120.4), rgb(175, 198, 102).
Aa
Black text reads best on this color (11.09:1).
About this color
#AFC666 is a light, moderately saturated yellow. In OKLCH its lightness is 79%, its chroma 0.125 and its hue 120°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Light Moss Green (#A6C875), ΔE 0.017 away. Black text reads best on it, at 11.09:1.
| Hue family | Yellows |
| Lightness | light (79%) |
| Chroma | moderately saturated (0.125) |
| Temperature | in between |
| Nearest name | Light Moss Green (#A6C875) |
| Black text | 11.09:1 |
| White text | 1.89:1 |
Values
| HEX | #AFC666 |
| RGB | rgb(175, 198, 102) |
| HSL | hsl(74, 46%, 59%) |
| OKLCH | oklch(78.8% 0.125 120.4) |
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 #AFC666 | 1.89:1 | Fails | Lc -40.2 | Non-text elements, placeholder text |
| Black text on #AFC666 | 11.09:1 | AAA | Lc 68.0 | Content text, not long reading |
| #AFC666 text on white | 1.89:1 | Fails | Lc 35.9 | Non-text elements, placeholder text |
| #AFC666 text on black | 11.09:1 | AAA | Lc -66.6 | 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
#F4F7EB
oklch(97.1% 0.016 118.1)
-
Step 100
100
#E6EED3
oklch(93.6% 0.037 120.5)
-
Step 200
200
#D2E1AD
oklch(88.5% 0.071 120.9)
-
Step 300
300 (this color)
#AFC666
oklch(78.8% 0.125 120.4)
-
Step 400
400
#93AF00
oklch(70.7% 0.169 120.5)
-
Step 500
500
#7E9600
oklch(63.2% 0.151 120.4)
-
Step 600
600
#697E00
oklch(55.6% 0.133 120.6)
-
Step 700
700
#586A00
oklch(49.2% 0.117 120.6)
-
Step 800
800
#485700
oklch(42.9% 0.102 120.5)
-
Step 900
900
#3B4800
oklch(37.7% 0.09 120.7)
-
Step 950
950
#222B00
oklch(27.1% 0.065 121.1)
#AFC666 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) | #D0BD5E | 0.048 |
| Deuteranopia (no green cones) | #CDBD6B | 0.048 |
| Tritanopia (no blue cones) | #B7BDB0 | 0.106 |
| Achromatopsia (no color) | #BCBCBC | 0.125 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #AFC666
#AFC666
oklch(78.8% 0.125 120.4)
- #C7A7FE
#C7A7FE
oklch(78.8% 0.125 300.5)
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 #AFC666, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Light Moss Green #A6C875 ΔE 0.017
- Light Olive #ACBF69 ΔE 0.021
- Light Olive Green #A4BE5C ΔE 0.028
- Tan Green #A9BE70 ΔE 0.029
- Greenish Tan #BCCB7A ΔE 0.031
- Pale Olive Green #B1D27B ΔE 0.034
- Pale Olive #B9CC81 ΔE 0.035
- Dark Khaki #BDB76B ΔE 0.046
Use #AFC666 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.