#A9B31C#A9B31C
#A9B31C is a light, vivid yellow. Relative luminance 0.408; OKLCH L 73.4% C 0.158 H 113.8°. Best body text is #000000 at 9.15:1 contrast (WCAG AA passes).
Color values
| HEX | #A9B31C |
|---|---|
| RGB | rgb(169, 179, 28) |
| HSL | hsl(64, 73%, 41%) |
| HSV | hsv(64, 84%, 70%) |
| CMYK | cmyk(5.6%, 0%, 84.4%, 29.8%) |
| CIE-LAB | lab(70.01, -20.39, 67.25) |
| CIE-LCH | lch(70.01, 70.27, 106.87°) |
| OKLab | oklab(73.45% -0.0638 0.1447) |
| OKLCH | oklch(73.45% 0.158 113.8) |
| XYZ | xyz(32.6930, 40.7598, 7.2436) |
| Luminance | 0.4076 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard Green
#A8B504
ΔE00 1.14
Snot
#ACBB0D
ΔE00 2.38
Puke Green
#9AAE07
ΔE00 2.93
Barf Green
#94AC02
ΔE00 4.10
Booger Green
#96B403
ΔE00 4.19
Pea
#A4BF20
ΔE00 4.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A9B31C #261CB3
analogous
#B3721C #A9B31C #5DB31C
triadic
#A9B31C #1CA9B3 #B31CA9
tetradic
#A9B31C #1CB372 #261CB3 #B31C5D
square
#A9B31C #1CB372 #261CB3 #B31C5D
split-complementary
#A9B31C #1C5DB3 #721CB3
monochromatic
#45490B #777E14 #A9B31C #D3DE2E #DEE763
Accessibility & contrast
On white
2.29
#A9B31C on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.15
#A9B31C on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A9B31C
9.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A9B31C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A9B31C | 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)
#C1AC2D
Tritanopia (blue-blind)
#B5A899
Achromatopsia (no color)
#ABABAB
Design tokens & code
CSS
--color: #a9b31c; /* rgb */ color: rgb(169, 179, 28); /* oklch */ color: oklch(73.4% 0.158 113.8);
Tailwind
colors: {
custom: {
50: '#c7c96a',
500: '#a9b31c',
950: '#000000',
},
}SCSS
$custom: #a9b31c; $custom-light: #c7c96a; $custom-dark: #000000;
JSON
{
"hex": "#a9b31c",
"rgb": {
"r": 169,
"g": 179,
"b": 28
},
"hsl": {
"h": 63.974,
"s": 72.947,
"l": 40.588
},
"oklch": {
"l": 0.73447,
"c": 0.15818,
"h": 113.8
},
"luminance": 0.40759
}Semantic roles & 50–950 ramp
primary
#A9B31C
secondary
#675FCB
accent
#38F044
background
#FCFCF6
surface
#F9F8EC
border
#D2D1C7
text
#141307
muted
#82827A