#AFC38D
Closest named color: Pale Olive (#B9CC81). oklch(78.8% 0.076 124.6), rgb(175, 195, 141).
Aa
Black text reads best on this color (11.01:1).
About this color
#AFC38D is a light, moderately saturated yellow. In OKLCH its lightness is 79%, its chroma 0.076 and its hue 125°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Pale Olive (#B9CC81), ΔE 0.035 away. Black text reads best on it, at 11.01:1.
| Hue family | Yellows |
| Lightness | light (79%) |
| Chroma | moderately saturated (0.076) |
| Temperature | in between |
| Nearest name | Pale Olive (#B9CC81) |
| Black text | 11.01:1 |
| White text | 1.90:1 |
Values
| HEX | #AFC38D |
| RGB | rgb(175, 195, 141) |
| HSL | hsl(82, 31%, 66%) |
| OKLCH | oklch(78.8% 0.076 124.6) |
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 #AFC38D | 1.90:1 | Fails | Lc -40.6 | Non-text elements, placeholder text |
| Black text on #AFC38D | 11.01:1 | AAA | Lc 67.6 | Content text, not long reading |
| #AFC38D text on white | 1.90:1 | Fails | Lc 36.3 | Non-text elements, placeholder text |
| #AFC38D text on black | 11.01:1 | AAA | Lc -66.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
#F4F7EF
oklch(97.2% 0.011 123.5)
-
Step 100
100
#E6EDDD
oklch(93.6% 0.023 126.2)
-
Step 200
200
#D3DEC0
oklch(88.4% 0.042 123.7)
-
Step 300
300 (this color)
#AFC38D
oklch(78.8% 0.076 124.6)
-
Step 400
400
#90AE54
oklch(70.8% 0.122 124.7)
-
Step 500
500
#759806
oklch(63% 0.156 124.5)
-
Step 600
600
#618000
oklch(55.5% 0.139 124.8)
-
Step 700
700
#516C00
oklch(49.2% 0.123 125)
-
Step 800
800
#425800
oklch(42.6% 0.107 124.6)
-
Step 900
900
#374900
oklch(37.6% 0.094 124.1)
-
Step 950
950
#1F2B02
oklch(26.8% 0.064 124.8)
#AFC38D 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) | #C9BC8A | 0.038 |
| Deuteranopia (no green cones) | #C6BB8F | 0.038 |
| Tritanopia (no blue cones) | #B3BEB5 | 0.061 |
| Achromatopsia (no color) | #BCBCBC | 0.077 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #AFC38D
#AFC38D
oklch(78.8% 0.076 124.6)
- #C5AEE2
#C5AEE2
oklch(78.8% 0.077 304.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 #AFC38D, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Pale Olive #B9CC81 ΔE 0.035
- Tan Green #A9BE70 ΔE 0.036
- Light Moss Green #A6C875 ΔE 0.039
- Greenish Tan #BCCB7A ΔE 0.040
- Light Olive #ACBF69 ΔE 0.042
- Dark Khaki #BDB76B ΔE 0.043
- Dark Sea Green #8FBC8F ΔE 0.046
- Ash Gray #BFC8AD ΔE 0.049
Use #AFC38D 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.