#AFCC5B
Closest named color: Light Moss Green (#A6C875). oklch(80% 0.144 121.7), rgb(175, 204, 91).
Aa
Black text reads best on this color (11.61:1).
About this color
#AFCC5B is a light, vivid yellow. In OKLCH its lightness is 80%, its chroma 0.144 and its hue 122°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Light Moss Green (#A6C875), ΔE 0.033 away. Black text reads best on it, at 11.61:1.
| Hue family | Yellows |
| Lightness | light (80%) |
| Chroma | vivid (0.144) |
| Temperature | in between |
| Nearest name | Light Moss Green (#A6C875) |
| Black text | 11.61:1 |
| White text | 1.80:1 |
Values
| HEX | #AFCC5B |
| RGB | rgb(175, 204, 91) |
| HSL | hsl(75, 53%, 58%) |
| OKLCH | oklch(80% 0.144 121.7) |
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 #AFCC5B | 1.80:1 | Fails | Lc -37.6 | Non-text elements, placeholder text |
| Black text on #AFCC5B | 11.61:1 | AAA | Lc 70.3 | Content text, not long reading |
| #AFCC5B text on white | 1.80:1 | Fails | Lc 33.6 | Non-text elements, placeholder text |
| #AFCC5B text on black | 11.61:1 | AAA | Lc -69.1 | 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
#F3F8EA
oklch(97.2% 0.019 122.8)
-
Step 100
100
#E5EFD0
oklch(93.6% 0.042 121.8)
-
Step 200
200
#D0E2A7
oklch(88.5% 0.08 121.8)
-
Step 300
300 (this color)
#AFCC5B
oklch(80% 0.144 121.7)
-
Step 400
400
#90B000
oklch(70.8% 0.171 121.8)
-
Step 500
500
#7B9700
oklch(63.2% 0.153 121.9)
-
Step 600
600
#677F00
oklch(55.7% 0.135 121.9)
-
Step 700
700
#566A00
oklch(49% 0.118 121.7)
-
Step 800
800
#465700
oklch(42.7% 0.103 121.8)
-
Step 900
900
#3A4800
oklch(37.6% 0.091 121.4)
-
Step 950
950
#212B00
oklch(27% 0.066 122.2)
#AFCC5B 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) | #D7C150 | 0.058 |
| Deuteranopia (no green cones) | #D3C162 | 0.058 |
| Tritanopia (no blue cones) | #B7C3B3 | 0.119 |
| Achromatopsia (no color) | #C1C1C1 | 0.144 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #AFCC5B
#AFCC5B
oklch(80% 0.144 121.7)
- #CCABFF
#CCABFF
oklch(80% 0.121 301.8)
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 #AFCC5B, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Light Moss Green #A6C875 ΔE 0.033
- Pale Olive Green #B1D27B ΔE 0.033
- Greenish Tan #BCCB7A ΔE 0.040
- Light Olive Green #A4BE5C ΔE 0.042
- Light Olive #ACBF69 ΔE 0.043
- Pale Olive #B9CC81 ΔE 0.045
- Yellow Green #9ACD32 ΔE 0.045
- Tan Green #A9BE70 ΔE 0.050
Use #AFCC5B 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.