#AFD048
Closest named color: Yellow Green (#9ACD32). oklch(80.8% 0.164 121.9), rgb(175, 208, 72).
Aa
Black text reads best on this color (11.93:1).
About this color
#AFD048 is a light, vivid yellow. In OKLCH its lightness is 81%, its chroma 0.164 and its hue 122°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Yellow Green (#9ACD32), ΔE 0.033 away. Black text reads best on it, at 11.93:1.
| Hue family | Yellows |
| Lightness | light (81%) |
| Chroma | vivid (0.164) |
| Temperature | in between |
| Nearest name | Yellow Green (#9ACD32) |
| Black text | 11.93:1 |
| White text | 1.75:1 |
Values
| HEX | #AFD048 |
| RGB | rgb(175, 208, 72) |
| HSL | hsl(75, 59%, 55%) |
| OKLCH | oklch(80.8% 0.164 121.9) |
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 #AFD048 | 1.75:1 | Fails | Lc -36.0 | Non-text elements, placeholder text |
| Black text on #AFD048 | 11.93:1 | AAA | Lc 71.8 | Content text, not long reading |
| #AFD048 text on white | 1.75:1 | Fails | Lc 32.1 | Non-text elements, placeholder text |
| #AFD048 text on black | 11.93:1 | AAA | Lc -70.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
#F3F8E8
oklch(97.1% 0.022 121)
-
Step 100
100
#E4EFCD
oklch(93.5% 0.046 121.9)
-
Step 200
200
#CFE39F
oklch(88.5% 0.091 121.6)
-
Step 300
300 (this color)
#AFD048
oklch(80.8% 0.164 121.9)
-
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
#3A4900
oklch(37.9% 0.092 122)
-
Step 950
950
#212B00
oklch(27% 0.066 122.2)
#AFD048 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) | #DCC435 | 0.064 |
| Deuteranopia (no green cones) | #D8C352 | 0.067 |
| Tritanopia (no blue cones) | #B8C6B4 | 0.137 |
| Achromatopsia (no color) | #C3C3C3 | 0.164 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #AFD048
#AFD048
oklch(80.8% 0.164 121.9)
- #CEAEFF
#CEAEFF
oklch(80.8% 0.117 302)
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 #AFD048, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Yellow Green #9ACD32 ΔE 0.033
- Slime Green #99CC04 ΔE 0.044
- Pale Olive Green #B1D27B ΔE 0.048
- Pea #A4BF20 ΔE 0.050
- Light Moss Green #A6C875 ΔE 0.054
- Light Olive Green #A4BE5C ΔE 0.059
- Greenish Tan #BCCB7A ΔE 0.059
- Mustard Yellow #D2BD0A ΔE 0.061
Use #AFD048 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.