#A3B31B#A3B31B
#A3B31B is a light, vivid yellow. Relative luminance 0.401; OKLCH L 73.0% C 0.161 H 116.1°. Best body text is #000000 at 9.02:1 contrast (WCAG AA passes).
Color values
| HEX | #A3B31B |
|---|---|
| RGB | rgb(163, 179, 27) |
| HSL | hsl(66, 74%, 40%) |
| HSV | hsv(66, 85%, 70%) |
| CMYK | cmyk(8.9%, 0%, 84.9%, 29.8%) |
| CIE-LAB | lab(69.55, -23.00, 66.91) |
| CIE-LCH | lch(69.55, 70.75, 108.97°) |
| OKLab | oklab(72.96% -0.0707 0.1441) |
| OKLCH | oklch(72.96% 0.161 116.1) |
| XYZ | xyz(31.4231, 40.1063, 7.1227) |
| Luminance | 0.4011 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard Green
#A8B504
ΔE00 1.59
Puke Green
#9AAE07
ΔE00 1.86
Snot
#ACBB0D
ΔE00 2.59
Booger Green
#96B403
ΔE00 2.82
Barf Green
#94AC02
ΔE00 2.97
Sick Green
#9DB92C
ΔE00 3.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A3B31B #2B1BB3
analogous
#B3771B #A3B31B #57B31B
triadic
#A3B31B #1BA3B3 #B31BA3
tetradic
#A3B31B #1BB377 #2B1BB3 #B31B57
square
#A3B31B #1BB377 #2B1BB3 #B31B57
split-complementary
#A3B31B #1B57B3 #771BB3
monochromatic
#42490B #737E13 #A3B31B #CCDF2C #D9E761
Accessibility & contrast
On white
2.33
#A3B31B on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.02
#A3B31B on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A3B31B
9.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A3B31B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A3B31B | 1.00 | 2.33 | 9.02 | 9.02 |
| #FFFFFF | 2.33 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.02 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.02 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C0A900
Deuteranopia (green-blind)
#BFAB2C
Tritanopia (blue-blind)
#AEA899
Achromatopsia (no color)
#AAAAAA
Design tokens & code
CSS
--color: #a3b31b; /* rgb */ color: rgb(163, 179, 27); /* oklch */ color: oklch(73.0% 0.161 116.1);
Tailwind
colors: {
custom: {
50: '#c2c969',
500: '#a3b31b',
950: '#000000',
},
}SCSS
$custom: #a3b31b; $custom-light: #c2c969; $custom-dark: #000000;
JSON
{
"hex": "#a3b31b",
"rgb": {
"r": 163,
"g": 179,
"b": 27
},
"hsl": {
"h": 66.316,
"s": 73.786,
"l": 40.392
},
"oklch": {
"l": 0.72961,
"c": 0.16051,
"h": 116.1
},
"luminance": 0.40106
}Semantic roles & 50–950 ramp
primary
#A3B31B
secondary
#6A5ECC
accent
#37F04B
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#131307
muted
#82827A