#AFCA57
Closest named color: Light Moss Green (#A6C875). oklch(79.5% 0.145 120.8), rgb(175, 202, 87).
Aa
Black text reads best on this color (11.40:1).
About this color
#AFCA57 is a light, vivid yellow. In OKLCH its lightness is 80%, its chroma 0.145 and its hue 121°. 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.40:1.
| Hue family | Yellows |
| Lightness | light (80%) |
| Chroma | vivid (0.145) |
| Temperature | in between |
| Nearest name | Light Moss Green (#A6C875) |
| Black text | 11.40:1 |
| White text | 1.84:1 |
Values
| HEX | #AFCA57 |
| RGB | rgb(175, 202, 87) |
| HSL | hsl(74, 52%, 57%) |
| OKLCH | oklch(79.5% 0.145 120.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 #AFCA57 | 1.84:1 | Fails | Lc -38.6 | Non-text elements, placeholder text |
| Black text on #AFCA57 | 11.40:1 | AAA | Lc 69.4 | Content text, not long reading |
| #AFCA57 text on white | 1.84:1 | Fails | Lc 34.5 | Non-text elements, placeholder text |
| #AFCA57 text on black | 11.40:1 | AAA | Lc -68.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
#F3F8E9
oklch(97.1% 0.02 121.8)
-
Step 100
100
#E5EFD0
oklch(93.6% 0.042 121.8)
-
Step 200
200
#D1E2A6
oklch(88.5% 0.081 120.9)
-
Step 300
300 (this color)
#AFCA57
oklch(79.5% 0.145 120.8)
-
Step 400
400
#92AF00
oklch(70.7% 0.169 120.8)
-
Step 500
500
#7D9600
oklch(63.1% 0.151 120.8)
-
Step 600
600
#697E00
oklch(55.6% 0.133 120.6)
-
Step 700
700
#576A00
oklch(49.1% 0.118 121.1)
-
Step 800
800
#475700
oklch(42.8% 0.103 121.1)
-
Step 900
900
#3B4800
oklch(37.7% 0.09 120.7)
-
Step 950
950
#222B00
oklch(27.1% 0.065 121.1)
#AFCA57 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) | #D5BF4B | 0.055 |
| Deuteranopia (no green cones) | #D2BF5E | 0.057 |
| Tritanopia (no blue cones) | #B7C1B1 | 0.121 |
| Achromatopsia (no color) | #BFBFBF | 0.145 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #AFCA57
#AFCA57
oklch(79.5% 0.145 120.8)
- #C9A9FF
#C9A9FF
oklch(79.4% 0.124 300.7)
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 #AFCA57, 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.037
- Light Olive Green #A4BE5C ΔE 0.038
- Light Olive #ACBF69 ΔE 0.040
- Greenish Tan #BCCB7A ΔE 0.042
- Yellow Green #9ACD32 ΔE 0.044
- Pea #A4BF20 ΔE 0.046
- Pale Olive #B9CC81 ΔE 0.048
Use #AFCA57 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.