#AFB90E
Closest named color: Mustard Green (#A8B504). oklch(75.2% 0.166 113.6), rgb(175, 185, 14).
Aa
Black text reads best on this color (9.76:1).
About this color
#AFB90E is a medium-light, vivid yellow. In OKLCH its lightness is 75%, its chroma 0.166 and its hue 114°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Mustard Green (#A8B504), ΔE 0.015 away. Black text reads best on it, at 9.76:1.
| Hue family | Yellows |
| Lightness | medium-light (75%) |
| Chroma | vivid (0.166) |
| Temperature | in between |
| Nearest name | Mustard Green (#A8B504) |
| Black text | 9.76:1 |
| White text | 2.14:1 |
Values
| HEX | #AFB90E |
| RGB | rgb(175, 185, 14) |
| HSL | hsl(64, 86%, 39%) |
| OKLCH | oklch(75.2% 0.166 113.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 #AFB90E | 2.14:1 | Fails | Lc -46.7 | Large or bold text, headings |
| Black text on #AFB90E | 9.76:1 | AAA | Lc 61.9 | Content text, not long reading |
| #AFB90E text on white | 2.14:1 | Fails | Lc 42.0 | Non-text elements, placeholder text |
| #AFB90E text on black | 9.76:1 | AAA | Lc -60.2 | 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 400.
-
Step 50
50
#F5F7EC
oklch(97.2% 0.015 115)
-
Step 100
100
#E9ECD6
oklch(93.5% 0.029 113.3)
-
Step 200
200
#D8DEB3
oklch(88.5% 0.057 114)
-
Step 300
300
#C0C878
oklch(80.8% 0.104 113.4)
-
Step 400
400 (this color)
#AFB90E
oklch(75.2% 0.166 113.6)
-
Step 500
500
#8A9200
oklch(63.2% 0.142 113.6)
-
Step 600
600
#737A00
oklch(55.5% 0.124 113.7)
-
Step 700
700
#616700
oklch(49.2% 0.11 113.7)
-
Step 800
800
#4F5400
oklch(42.7% 0.096 113.7)
-
Step 900
900
#424600
oklch(37.8% 0.084 113.4)
-
Step 950
950
#262900
oklch(26.9% 0.06 113.9)
#AFB90E 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) | #C8AF00 | 0.043 |
| Deuteranopia (no green cones) | #C7B227 | 0.042 |
| Tritanopia (no blue cones) | #BCAD9D | 0.147 |
| Achromatopsia (no color) | #B1B1B1 | 0.166 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #AFB90E
#AFB90E
oklch(75.2% 0.166 113.6)
- #B49CFF
#B49CFF
oklch(75.3% 0.141 293.9)
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 #AFB90E, closest first.
No curated palette has a color within ΔE 0.04 of #AFB90E.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Mustard Green #A8B504 ΔE 0.015
- Pea #A4BF20 ΔE 0.019
- Bright Olive #9CBB04 ΔE 0.026
- Olive Yellow #C2B709 ΔE 0.027
- Muddy Yellow #BFAC05 ΔE 0.039
- Light Olive Green #A4BE5C ΔE 0.044
- Mustard #CEB301 ΔE 0.046
- Avocado #90B134 ΔE 0.050
Use #AFB90E 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.