#AFC388
Closest named color: Tan Green (#A9BE70). oklch(78.7% 0.083 123.5), rgb(175, 195, 136).
Aa
Black text reads best on this color (10.98:1).
About this color
#AFC388 is a light, moderately saturated yellow. In OKLCH its lightness is 79%, its chroma 0.083 and its hue 123°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Tan Green (#A9BE70), ΔE 0.031 away. Black text reads best on it, at 10.98:1.
| Hue family | Yellows |
| Lightness | light (79%) |
| Chroma | moderately saturated (0.083) |
| Temperature | in between |
| Nearest name | Tan Green (#A9BE70) |
| Black text | 10.98:1 |
| White text | 1.91:1 |
Values
| HEX | #AFC388 |
| RGB | rgb(175, 195, 136) |
| HSL | hsl(80, 33%, 65%) |
| OKLCH | oklch(78.7% 0.083 123.5) |
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 #AFC388 | 1.91:1 | Fails | Lc -40.8 | Non-text elements, placeholder text |
| Black text on #AFC388 | 10.98:1 | AAA | Lc 67.4 | Content text, not long reading |
| #AFC388 text on white | 1.91:1 | Fails | Lc 36.5 | Non-text elements, placeholder text |
| #AFC388 text on black | 10.98:1 | AAA | Lc -66.0 | 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
#F4F7EF
oklch(97.2% 0.011 123.5)
-
Step 100
100
#E6EDDC
oklch(93.6% 0.024 125.2)
-
Step 200
200
#D3DFBE
oklch(88.6% 0.046 123.6)
-
Step 300
300 (this color)
#AFC388
oklch(78.7% 0.083 123.5)
-
Step 400
400
#90AE4A
oklch(70.7% 0.132 123.7)
-
Step 500
500
#779800
oklch(63.1% 0.156 123.6)
-
Step 600
600
#647F00
oklch(55.5% 0.136 123.2)
-
Step 700
700
#536B00
oklch(49% 0.121 123.6)
-
Step 800
800
#445800
oklch(42.8% 0.106 123.5)
-
Step 900
900
#384900
oklch(37.7% 0.093 123.4)
-
Step 950
950
#202B00
oklch(26.9% 0.066 123.3)
#AFC388 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) | #CABC84 | 0.039 |
| Deuteranopia (no green cones) | #C7BB8B | 0.039 |
| Tritanopia (no blue cones) | #B3BDB4 | 0.068 |
| Achromatopsia (no color) | #BBBBBB | 0.083 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #AFC388
#AFC388
oklch(78.7% 0.083 123.5)
- #C5ADE6
#C5ADE6
oklch(78.8% 0.083 303.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 #AFC388, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Tan Green #A9BE70 ΔE 0.031
- Pale Olive #B9CC81 ΔE 0.032
- Light Moss Green #A6C875 ΔE 0.034
- Light Olive #ACBF69 ΔE 0.036
- Greenish Tan #BCCB7A ΔE 0.036
- Dark Khaki #BDB76B ΔE 0.039
- Dark Sea Green #8FBC8F ΔE 0.047
- Pale Olive Green #B1D27B ΔE 0.049
Use #AFC388 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.