#AFD248
Closest named color: Yellow Green (#9ACD32). oklch(81.2% 0.167 122.4), rgb(175, 210, 72).
Aa
Black text reads best on this color (12.13:1).
About this color
#AFD248 is a light, vivid yellow. In OKLCH its lightness is 81%, its chroma 0.167 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.035 away. Black text reads best on it, at 12.13:1.
| Hue family | Yellows |
| Lightness | light (81%) |
| Chroma | vivid (0.167) |
| Temperature | in between |
| Nearest name | Yellow Green (#9ACD32) |
| Black text | 12.13:1 |
| White text | 1.73:1 |
Values
| HEX | #AFD248 |
| RGB | rgb(175, 210, 72) |
| HSL | hsl(75, 61%, 55%) |
| OKLCH | oklch(81.2% 0.167 122.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 #AFD248 | 1.73:1 | Fails | Lc -35.1 | Non-text elements, placeholder text |
| Black text on #AFD248 | 12.13:1 | AAA | Lc 72.6 | Content text, not long reading |
| #AFD248 text on white | 1.73:1 | Fails | Lc 31.2 | Non-text elements, placeholder text |
| #AFD248 text on black | 12.13:1 | AAA | Lc -71.5 | 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
#E4F0CC
oklch(93.7% 0.049 122.3)
-
Step 200
200
#CEE49F
oklch(88.6% 0.093 122.7)
-
Step 300
300 (this color)
#AFD248
oklch(81.2% 0.167 122.4)
-
Step 400
400
#8EB000
oklch(70.6% 0.172 122.4)
-
Step 500
500
#7A9700
oklch(63.1% 0.154 122.2)
-
Step 600
600
#667F00
oklch(55.6% 0.135 122.3)
-
Step 700
700
#556B00
oklch(49.2% 0.12 122.6)
-
Step 800
800
#455700
oklch(42.6% 0.104 122.4)
-
Step 900
900
#394900
oklch(37.8% 0.092 122.7)
-
Step 950
950
#212B00
oklch(27% 0.066 122.2)
#AFD248 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) | #DEC635 | 0.066 |
| Deuteranopia (no green cones) | #D9C552 | 0.068 |
| Tritanopia (no blue cones) | #B8C8B6 | 0.138 |
| Achromatopsia (no color) | #C5C5C5 | 0.167 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #AFD248
#AFD248
oklch(81.2% 0.167 122.4)
- #D0B0FF
#D0B0FF
oklch(81.3% 0.114 302.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 #AFD248, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Yellow Green #9ACD32 ΔE 0.035
- Slime Green #99CC04 ΔE 0.045
- Pale Olive Green #B1D27B ΔE 0.049
- Pea #A4BF20 ΔE 0.055
- Light Moss Green #A6C875 ΔE 0.057
- Greenish Tan #BCCB7A ΔE 0.061
- Kiwi Green #8EE53F ΔE 0.062
- Greenish Beige #C9D179 ΔE 0.063
Use #AFD248 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.