#A7B804
Closest named color: Mustard Green (#A8B504). oklch(74.4% 0.17 116.2), rgb(167, 184, 4).
Aa
Black text reads best on this color (9.50:1).
About this color
#A7B804 is a medium-light, vivid yellow. In OKLCH its lightness is 74%, its chroma 0.170 and its hue 116°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Mustard Green (#A8B504), ΔE 0.008 away. Black text reads best on it, at 9.50:1.
| Hue family | Yellows |
| Lightness | medium-light (74%) |
| Chroma | vivid (0.170) |
| Temperature | in between |
| Nearest name | Mustard Green (#A8B504) |
| Black text | 9.50:1 |
| White text | 2.21:1 |
Values
| HEX | #A7B804 |
| RGB | rgb(167, 184, 4) |
| HSL | hsl(66, 96%, 37%) |
| OKLCH | oklch(74.4% 0.17 116.2) |
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 #A7B804 | 2.21:1 | Fails | Lc -48.1 | Large or bold text, headings |
| Black text on #A7B804 | 9.50:1 | AAA | Lc 60.6 | Content text, not long reading |
| #A7B804 text on white | 2.21:1 | Fails | Lc 43.3 | Non-text elements, placeholder text |
| #A7B804 text on black | 9.50:1 | AAA | Lc -58.9 | 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
#F5F7EC
oklch(97.2% 0.015 115)
-
Step 100
100
#E8EDD6
oklch(93.6% 0.031 117)
-
Step 200
200
#D6DFB3
oklch(88.6% 0.059 117)
-
Step 300
300
#BDC978
oklch(80.8% 0.106 115.7)
-
Step 400
400 (this color)
#A7B804
oklch(74.4% 0.17 116.2)
-
Step 500
500
#859300
oklch(63% 0.144 116.3)
-
Step 600
600
#707C00
oklch(55.7% 0.128 116.3)
-
Step 700
700
#5E6800
oklch(49.2% 0.113 116.2)
-
Step 800
800
#4C5500
oklch(42.7% 0.098 116.6)
-
Step 900
900
#3F4700
oklch(37.7% 0.087 116.8)
-
Step 950
950
#252A00
oklch(27.1% 0.062 116.5)
#A7B804 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) | #C6AE00 | 0.050 |
| Deuteranopia (no green cones) | #C4AF23 | 0.050 |
| Tritanopia (no blue cones) | #B3AD9C | 0.148 |
| Achromatopsia (no color) | #AEAEAE | 0.170 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #A7B804
#A7B804
oklch(74.4% 0.17 116.2)
- #B596FF
#B596FF
oklch(74.3% 0.15 296.1)
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 #A7B804, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Mustard Green #A8B504 ΔE 0.008
- Bright Olive #9CBB04 ΔE 0.016
- Pea #A4BF20 ΔE 0.018
- Olive Yellow #C2B709 ΔE 0.039
- Avocado #90B134 ΔE 0.041
- Icky Green #8FAE22 ΔE 0.045
- Muddy Yellow #BFAC05 ΔE 0.045
- Dark Lime #84B701 ΔE 0.046
Use #A7B804 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.