#A3B231#A3B231
#A3B231 is a light, vivid yellow. Relative luminance 0.398; OKLCH L 72.8% C 0.149 H 116.0°. Best body text is #000000 at 8.97:1 contrast (WCAG AA passes).
Color values
| HEX | #A3B231 |
|---|---|
| RGB | rgb(163, 178, 49) |
| HSL | hsl(67, 57%, 45%) |
| HSV | hsv(67, 72%, 70%) |
| CMYK | cmyk(8.4%, 0%, 72.5%, 30.2%) |
| CIE-LAB | lab(69.36, -21.63, 60.27) |
| CIE-LCH | lch(69.36, 64.04, 109.75°) |
| OKLab | oklab(72.85% -0.0653 0.1337) |
| OKLCH | oklch(72.85% 0.149 116) |
| XYZ | xyz(31.5798, 39.8495, 8.9333) |
| Luminance | 0.3985 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Puke Green
#9AAE07
ΔE00 2.61
Booger
#9BB53C
ΔE00 2.93
Sick Green
#9DB92C
ΔE00 2.97
Mustard Green
#A8B504
ΔE00 3.14
Sickly Green
#94B21C
ΔE00 3.21
Barf Green
#94AC02
ΔE00 3.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A3B231 #4031B2
analogous
#B28131 #A3B231 #62B231
triadic
#A3B231 #31A3B2 #B231A3
tetradic
#A3B231 #31B281 #4031B2 #B23162
square
#A3B231 #31B281 #4031B2 #B23162
split-complementary
#A3B231 #3162B2 #8131B2
monochromatic
#4B5217 #778224 #A3B231 #C0CF51 #D2DC81
Accessibility & contrast
On white
2.34
#A3B231 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.97
#A3B231 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A3B231
8.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A3B231 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A3B231 | 1.00 | 2.34 | 8.97 | 8.97 |
| #FFFFFF | 2.34 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.97 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.97 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BFA919
Deuteranopia (green-blind)
#BDAA3C
Tritanopia (blue-blind)
#ADA899
Achromatopsia (no color)
#A9A9A9
Design tokens & code
CSS
--color: #a3b231; /* rgb */ color: rgb(163, 178, 49); /* oklch */ color: oklch(72.8% 0.149 116.0);
Tailwind
colors: {
custom: {
50: '#c2c872',
500: '#a3b231',
950: '#000000',
},
}SCSS
$custom: #a3b231; $custom-light: #c2c872; $custom-dark: #000000;
JSON
{
"hex": "#a3b231",
"rgb": {
"r": 163,
"g": 178,
"b": 49
},
"hsl": {
"h": 66.977,
"s": 56.828,
"l": 44.51
},
"oklch": {
"l": 0.72847,
"c": 0.14883,
"h": 116
},
"luminance": 0.39849
}Semantic roles & 50–950 ramp
primary
#A3B231
secondary
#8279C5
accent
#48E059
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B