#A8B131#A8B131
#A8B131 is a light, vivid yellow. Relative luminance 0.400; OKLCH L 73.0% C 0.146 H 113.5°. Best body text is #000000 at 9.00:1 contrast (WCAG AA passes).
Color values
| HEX | #A8B131 |
|---|---|
| RGB | rgb(168, 177, 49) |
| HSL | hsl(64, 57%, 44%) |
| HSV | hsv(64, 72%, 69%) |
| CMYK | cmyk(5.1%, 0%, 72.3%, 30.6%) |
| CIE-LAB | lab(69.46, -19.01, 60.50) |
| CIE-LCH | lch(69.46, 63.42, 107.44°) |
| OKLab | oklab(73.02% -0.0583 0.1341) |
| OKLCH | oklch(73.02% 0.146 113.5) |
| XYZ | xyz(32.4259, 39.9915, 8.9161) |
| Luminance | 0.3999 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard Green
#A8B504
ΔE00 2.86
Puke Green
#9AAE07
ΔE00 3.21
Snot
#ACBB0D
ΔE00 3.77
Vomit
#A2A415
ΔE00 4.15
Barf Green
#94AC02
ΔE00 4.15
Sick Green
#9DB92C
ΔE00 4.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A8B131 #3A31B1
analogous
#B17A31 #A8B131 #68B131
triadic
#A8B131 #31A8B1 #B131A8
tetradic
#A8B131 #31B17A #3A31B1 #B13168
square
#A8B131 #31B17A #3A31B1 #B13168
split-complementary
#A8B131 #3168B1 #7A31B1
monochromatic
#4D5116 #7B8124 #A8B131 #C6CF51 #D6DC80
Accessibility & contrast
On white
2.33
#A8B131 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.00
#A8B131 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A8B131
9.00:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A8B131 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A8B131 | 1.00 | 2.33 | 9.00 | 9.00 |
| #FFFFFF | 2.33 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.00 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.00 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BEA819
Deuteranopia (green-blind)
#BEAB3B
Tritanopia (blue-blind)
#B3A698
Achromatopsia (no color)
#AAAAAA
Design tokens & code
CSS
--color: #a8b131; /* rgb */ color: rgb(168, 177, 49); /* oklch */ color: oklch(73.0% 0.146 113.5);
Tailwind
colors: {
custom: {
50: '#c5c872',
500: '#a8b131',
950: '#000000',
},
}SCSS
$custom: #a8b131; $custom-light: #c5c872; $custom-dark: #000000;
JSON
{
"hex": "#a8b131",
"rgb": {
"r": 168,
"g": 177,
"b": 49
},
"hsl": {
"h": 64.219,
"s": 56.637,
"l": 44.314
},
"oklch": {
"l": 0.73023,
"c": 0.14619,
"h": 113.5
},
"luminance": 0.39991
}Semantic roles & 50–950 ramp
primary
#A8B131
secondary
#7E79C5
accent
#48E053
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B