#A9B231#A9B231
#A9B231 is a light, vivid yellow. Relative luminance 0.405; OKLCH L 73.3% C 0.147 H 113.5°. Best body text is #000000 at 9.10:1 contrast (WCAG AA passes).
Color values
| HEX | #A9B231 |
|---|---|
| RGB | rgb(169, 178, 49) |
| HSL | hsl(64, 57%, 45%) |
| HSV | hsv(64, 72%, 70%) |
| CMYK | cmyk(5.1%, 0%, 72.5%, 30.2%) |
| CIE-LAB | lab(69.82, -19.08, 60.87) |
| CIE-LCH | lch(69.82, 63.79, 107.40°) |
| OKLab | oklab(73.33% -0.0585 0.1348) |
| OKLCH | oklch(73.33% 0.147 113.5) |
| XYZ | xyz(32.8379, 40.4982, 8.9922) |
| Luminance | 0.4050 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard Green
#A8B504
ΔE00 2.70
Puke Green
#9AAE07
ΔE00 3.31
Snot
#ACBB0D
ΔE00 3.53
Sick Green
#9DB92C
ΔE00 4.17
Barf Green
#94AC02
ΔE00 4.29
Booger
#9BB53C
ΔE00 4.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A9B231 #3A31B2
analogous
#B27B31 #A9B231 #69B231
triadic
#A9B231 #31A9B2 #B231A9
tetradic
#A9B231 #31B27B #3A31B2 #B23169
square
#A9B231 #31B27B #3A31B2 #B23169
split-complementary
#A9B231 #3169B2 #7B31B2
monochromatic
#4E5217 #7B8224 #A9B231 #C6CF51 #D6DC81
Accessibility & contrast
On white
2.31
#A9B231 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.10
#A9B231 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A9B231
9.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A9B231 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A9B231 | 1.00 | 2.31 | 9.10 | 9.10 |
| #FFFFFF | 2.31 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.10 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.10 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BFA918
Deuteranopia (green-blind)
#BFAC3B
Tritanopia (blue-blind)
#B4A799
Achromatopsia (no color)
#ABABAB
Design tokens & code
CSS
--color: #a9b231; /* rgb */ color: rgb(169, 178, 49); /* oklch */ color: oklch(73.3% 0.147 113.5);
Tailwind
colors: {
custom: {
50: '#c6c872',
500: '#a9b231',
950: '#000000',
},
}SCSS
$custom: #a9b231; $custom-light: #c6c872; $custom-dark: #000000;
JSON
{
"hex": "#a9b231",
"rgb": {
"r": 169,
"g": 178,
"b": 49
},
"hsl": {
"h": 64.186,
"s": 56.828,
"l": 44.51
},
"oklch": {
"l": 0.73331,
"c": 0.14699,
"h": 113.5
},
"luminance": 0.40498
}Semantic roles & 50–950 ramp
primary
#A9B231
secondary
#7F79C5
accent
#48E052
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B