#A9B31B#A9B31B
#A9B31B is a light, vivid yellow. Relative luminance 0.408; OKLCH L 73.4% C 0.159 H 113.8°. Best body text is #000000 at 9.15:1 contrast (WCAG AA passes).
Color values
| HEX | #A9B31B |
|---|---|
| RGB | rgb(169, 179, 27) |
| HSL | hsl(64, 74%, 40%) |
| HSV | hsv(64, 85%, 70%) |
| CMYK | cmyk(5.6%, 0%, 84.9%, 29.8%) |
| CIE-LAB | lab(70.00, -20.42, 67.48) |
| CIE-LCH | lch(70.00, 70.50, 106.84°) |
| OKLab | oklab(73.44% -0.0639 0.1451) |
| OKLCH | oklch(73.44% 0.159 113.8) |
| XYZ | xyz(32.6812, 40.7551, 7.1816) |
| Luminance | 0.4075 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard Green
#A8B504
ΔE00 1.10
Snot
#ACBB0D
ΔE00 2.36
Puke Green
#9AAE07
ΔE00 2.93
Barf Green
#94AC02
ΔE00 4.11
Booger Green
#96B403
ΔE00 4.20
Puke
#A5A502
ΔE00 4.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A9B31B #251BB3
analogous
#B3711B #A9B31B #5DB31B
triadic
#A9B31B #1BA9B3 #B31BA9
tetradic
#A9B31B #1BB371 #251BB3 #B31B5D
square
#A9B31B #1BB371 #251BB3 #B31B5D
split-complementary
#A9B31B #1B5DB3 #711BB3
monochromatic
#45490B #777E13 #A9B31B #D3DF2C #DEE761
Accessibility & contrast
On white
2.29
#A9B31B on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.15
#A9B31B on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A9B31B
9.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A9B31B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A9B31B | 1.00 | 2.29 | 9.15 | 9.15 |
| #FFFFFF | 2.29 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.15 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.15 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C1AA00
Deuteranopia (green-blind)
#C1AC2C
Tritanopia (blue-blind)
#B5A899
Achromatopsia (no color)
#ABABAB
Design tokens & code
CSS
--color: #a9b31b; /* rgb */ color: rgb(169, 179, 27); /* oklch */ color: oklch(73.4% 0.159 113.8);
Tailwind
colors: {
custom: {
50: '#c7c969',
500: '#a9b31b',
950: '#000000',
},
}SCSS
$custom: #a9b31b; $custom-light: #c7c969; $custom-dark: #000000;
JSON
{
"hex": "#a9b31b",
"rgb": {
"r": 169,
"g": 179,
"b": 27
},
"hsl": {
"h": 63.947,
"s": 73.786,
"l": 40.392
},
"oklch": {
"l": 0.73444,
"c": 0.15854,
"h": 113.8
},
"luminance": 0.40754
}Semantic roles & 50–950 ramp
primary
#A9B31B
secondary
#655ECC
accent
#37F044
background
#FCFCF6
surface
#F9F8EC
border
#D2D1C7
text
#141307
muted
#82827A