#A5AB1F
Closest named color: Avocado (#90B134). oklch(71.3% 0.15 112.3), rgb(165, 171, 31).
Aa
Black text reads best on this color (8.44:1).
About this color
#A5AB1F is a medium-light, vivid yellow. In OKLCH its lightness is 71%, its chroma 0.150 and its hue 112°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Avocado (#90B134), ΔE 0.029 away. Black text reads best on it, at 8.44:1.
| Hue family | Yellows |
| Lightness | medium-light (71%) |
| Chroma | vivid (0.150) |
| Temperature | in between |
| Nearest name | Avocado (#90B134) |
| Black text | 8.44:1 |
| White text | 2.48:1 |
Values
| HEX | #A5AB1F |
| RGB | rgb(165, 171, 31) |
| HSL | hsl(63, 69%, 40%) |
| OKLCH | oklch(71.3% 0.15 112.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 #A5AB1F | 2.48:1 | Fails | Lc -53.8 | Large or bold text, headings |
| Black text on #A5AB1F | 8.44:1 | AAA | Lc 55.3 | Large or bold text, headings |
| #A5AB1F text on white | 2.48:1 | Fails | Lc 48.7 | Large or bold text, headings |
| #A5AB1F text on black | 8.44:1 | AAA | Lc -53.3 | 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
#F5F6ED
oklch(97% 0.012 111.8)
-
Step 100
100
#EAECD8
oklch(93.6% 0.027 111.5)
-
Step 200
200
#D9DDB6
oklch(88.4% 0.052 112.2)
-
Step 300
300
#C1C77F
oklch(80.8% 0.094 112.4)
-
Step 400
400 (this color)
#A5AB1F
oklch(71.3% 0.15 112.3)
-
Step 500
500
#8C9100
oklch(63.1% 0.14 112.2)
-
Step 600
600
#757A00
oklch(55.6% 0.124 112.6)
-
Step 700
700
#626600
oklch(49% 0.109 112.4)
-
Step 800
800
#505400
oklch(42.8% 0.095 112.9)
-
Step 900
900
#434500
oklch(37.6% 0.083 111.6)
-
Step 950
950
#272900
oklch(27% 0.06 112.6)
#A5AB1F 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) | #B9A300 | 0.033 |
| Deuteranopia (no green cones) | #B9A62D | 0.035 |
| Tritanopia (no blue cones) | #B1A092 | 0.134 |
| Achromatopsia (no color) | #A4A4A4 | 0.150 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #A5AB1F
#A5AB1F
oklch(71.3% 0.15 112.3)
- #A68FF7
#A68FF7
oklch(71.4% 0.149 292.4)
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 #A5AB1F, closest first.
No curated palette has a color within ΔE 0.04 of #A5AB1F.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Avocado #90B134 ΔE 0.029
- Pea Soup Green #94A617 ΔE 0.029
- Icky Green #8FAE22 ΔE 0.030
- Mustard Green #A8B504 ΔE 0.030
- Pea Green #8EAB12 ΔE 0.033
- Muddy Yellow #BFAC05 ΔE 0.038
- Avocado Green #87A922 ΔE 0.042
- Bright Olive #9CBB04 ΔE 0.047
Use #A5AB1F 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.