#A4B31B#A4B31B
#A4B31B is a light, vivid yellow. Relative luminance 0.402; OKLCH L 73.0% C 0.160 H 115.8°. Best body text is #000000 at 9.04:1 contrast (WCAG AA passes).
Color values
| HEX | #A4B31B |
|---|---|
| RGB | rgb(164, 179, 27) |
| HSL | hsl(66, 74%, 40%) |
| HSV | hsv(66, 85%, 70%) |
| CMYK | cmyk(8.4%, 0%, 84.9%, 29.8%) |
| CIE-LAB | lab(69.62, -22.57, 67.00) |
| CIE-LCH | lch(69.62, 70.70, 108.62°) |
| OKLab | oklab(73.04% -0.0696 0.1443) |
| OKLCH | oklch(73.04% 0.16 115.8) |
| XYZ | xyz(31.6287, 40.2124, 7.1323) |
| Luminance | 0.4021 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard Green
#A8B504
ΔE00 1.42
Puke Green
#9AAE07
ΔE00 2.01
Snot
#ACBB0D
ΔE00 2.49
Booger Green
#96B403
ΔE00 3.04
Barf Green
#94AC02
ΔE00 3.14
Sick Green
#9DB92C
ΔE00 3.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A4B31B #2A1BB3
analogous
#B3761B #A4B31B #58B31B
triadic
#A4B31B #1BA4B3 #B31BA4
tetradic
#A4B31B #1BB376 #2A1BB3 #B31B58
square
#A4B31B #1BB376 #2A1BB3 #B31B58
split-complementary
#A4B31B #1B58B3 #761BB3
monochromatic
#43490B #737E13 #A4B31B #CDDF2C #DAE761
Accessibility & contrast
On white
2.32
#A4B31B on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.04
#A4B31B on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A4B31B
9.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A4B31B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A4B31B | 1.00 | 2.32 | 9.04 | 9.04 |
| #FFFFFF | 2.32 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.04 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.04 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C0A900
Deuteranopia (green-blind)
#BFAB2C
Tritanopia (blue-blind)
#AFA899
Achromatopsia (no color)
#AAAAAA
Design tokens & code
CSS
--color: #a4b31b; /* rgb */ color: rgb(164, 179, 27); /* oklch */ color: oklch(73.0% 0.160 115.8);
Tailwind
colors: {
custom: {
50: '#c3c969',
500: '#a4b31b',
950: '#000000',
},
}SCSS
$custom: #a4b31b; $custom-light: #c3c969; $custom-dark: #000000;
JSON
{
"hex": "#a4b31b",
"rgb": {
"r": 164,
"g": 179,
"b": 27
},
"hsl": {
"h": 65.921,
"s": 73.786,
"l": 40.392
},
"oklch": {
"l": 0.73041,
"c": 0.16016,
"h": 115.8
},
"luminance": 0.40212
}Semantic roles & 50–950 ramp
primary
#A4B31B
secondary
#695ECC
accent
#37F04A
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#131307
muted
#82827A