#A8B331
Closest named color: Mustard Green (#A8B504). oklch(73.5% 0.148 114.3), rgb(168, 179, 49).
Aa
Black text reads best on this color (9.15:1).
About this color
#A8B331 is a medium-light, vivid yellow. In OKLCH its lightness is 73%, its chroma 0.148 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.018 away. Black text reads best on it, at 9.15:1.
| Hue family | Yellows |
| Lightness | medium-light (73%) |
| Chroma | vivid (0.148) |
| Temperature | in between |
| Nearest name | Mustard Green (#A8B504) |
| Black text | 9.15:1 |
| White text | 2.29:1 |
Values
| HEX | #A8B331 |
| RGB | rgb(168, 179, 49) |
| HSL | hsl(65, 57%, 45%) |
| OKLCH | oklch(73.5% 0.148 114.3) |
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 #A8B331 | 2.29:1 | Fails | Lc -50.0 | Large or bold text, headings |
| Black text on #A8B331 | 9.15:1 | AAA | Lc 58.9 | Large or bold text, headings |
| #A8B331 text on white | 2.29:1 | Fails | Lc 45.1 | Large or bold text, headings |
| #A8B331 text on black | 9.15:1 | AAA | Lc -57.0 | Large or bold text, headings |
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
#F5F7ED
oklch(97.2% 0.013 115.8)
-
Step 100
100
#E9ECD8
oklch(93.5% 0.027 113.8)
-
Step 200
200
#D8DEB7
oklch(88.6% 0.052 114.6)
-
Step 300
300
#BFC881
oklch(80.9% 0.093 114.4)
-
Step 400
400 (this color)
#A8B331
oklch(73.5% 0.148 114.3)
-
Step 500
500
#899200
oklch(63.1% 0.142 114.1)
-
Step 600
600
#737B00
oklch(55.7% 0.125 114.2)
-
Step 700
700
#606700
oklch(49.1% 0.111 114.3)
-
Step 800
800
#4E5400
oklch(42.6% 0.096 114.4)
-
Step 900
900
#414600
oklch(37.7% 0.085 114.3)
-
Step 950
950
#262900
oklch(26.9% 0.06 113.9)
#A8B331 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) | #C0AA18 | 0.038 |
| Deuteranopia (no green cones) | #C0AC3C | 0.042 |
| Tritanopia (no blue cones) | #B3A89A | 0.131 |
| Achromatopsia (no color) | #ABABAB | 0.149 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #A8B331
#A8B331
oklch(73.5% 0.148 114.3)
- #AF95FD
#AF95FD
oklch(73.5% 0.149 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 #A8B331, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Mustard Green #A8B504 ΔE 0.018
- Avocado #90B134 ΔE 0.033
- Muddy Yellow #BFAC05 ΔE 0.034
- Bright Olive #9CBB04 ΔE 0.035
- Pea #A4BF20 ΔE 0.036
- Light Olive Green #A4BE5C ΔE 0.037
- Icky Green #8FAE22 ΔE 0.040
- Olive Yellow #C2B709 ΔE 0.040
Use #A8B331 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.