#A8B431#A8B431
#A8B431 is a light, vivid yellow. Relative luminance 0.412; OKLCH L 73.7% C 0.149 H 114.7°. Best body text is #000000 at 9.24:1 contrast (WCAG AA passes).
Color values
| HEX | #A8B431 |
|---|---|
| RGB | rgb(168, 180, 49) |
| HSL | hsl(65, 57%, 45%) |
| HSV | hsv(65, 73%, 71%) |
| CMYK | cmyk(6.7%, 0%, 72.8%, 29.4%) |
| CIE-LAB | lab(70.31, -20.51, 61.31) |
| CIE-LCH | lch(70.31, 64.65, 108.49°) |
| OKLab | oklab(73.7% -0.0625 0.1358) |
| OKLCH | oklch(73.7% 0.149 114.7) |
| XYZ | xyz(33.0250, 41.1897, 9.1158) |
| Luminance | 0.4119 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard Green
#A8B504
ΔE00 2.56
Snot
#ACBB0D
ΔE00 3.14
Puke Green
#9AAE07
ΔE00 3.14
Sick Green
#9DB92C
ΔE00 3.41
Booger
#9BB53C
ΔE00 3.73
Pea
#A4BF20
ΔE00 3.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A8B431 #3D31B4
analogous
#B47E31 #A8B431 #67B431
triadic
#A8B431 #31A8B4 #B431A8
tetradic
#A8B431 #31B47E #3D31B4 #B43167
square
#A8B431 #31B47E #3D31B4 #B43167
split-complementary
#A8B431 #3167B4 #7E31B4
monochromatic
#4E5417 #7B8424 #A8B431 #C4D052 #D5DD82
Accessibility & contrast
On white
2.27
#A8B431 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.24
#A8B431 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A8B431
9.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A8B431 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A8B431 | 1.00 | 2.27 | 9.24 | 9.24 |
| #FFFFFF | 2.27 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.24 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.24 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C1AB17
Deuteranopia (green-blind)
#C0AD3C
Tritanopia (blue-blind)
#B3A99B
Achromatopsia (no color)
#ACACAC
Design tokens & code
CSS
--color: #a8b431; /* rgb */ color: rgb(168, 180, 49); /* oklch */ color: oklch(73.7% 0.149 114.7);
Tailwind
colors: {
custom: {
50: '#c5ca73',
500: '#a8b431',
950: '#000000',
},
}SCSS
$custom: #a8b431; $custom-light: #c5ca73; $custom-dark: #000000;
JSON
{
"hex": "#a8b431",
"rgb": {
"r": 168,
"g": 180,
"b": 49
},
"hsl": {
"h": 65.496,
"s": 57.205,
"l": 44.902
},
"oklch": {
"l": 0.73701,
"c": 0.14947,
"h": 114.7
},
"luminance": 0.41189
}Semantic roles & 50–950 ramp
primary
#A8B431
secondary
#817BC6
accent
#47E055
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B