#A8B531#A8B531
#A8B531 is a light, vivid yellow. Relative luminance 0.416; OKLCH L 73.9% C 0.151 H 115.1°. Best body text is #000000 at 9.32:1 contrast (WCAG AA passes).
Color values
| HEX | #A8B531 |
|---|---|
| RGB | rgb(168, 181, 49) |
| HSL | hsl(66, 57%, 45%) |
| HSV | hsv(66, 73%, 71%) |
| CMYK | cmyk(7.2%, 0%, 72.9%, 29%) |
| CIE-LAB | lab(70.59, -21.01, 61.59) |
| CIE-LCH | lch(70.59, 65.07, 108.84°) |
| OKLab | oklab(73.93% -0.0638 0.1364) |
| OKLCH | oklch(73.93% 0.151 115.1) |
| XYZ | xyz(33.2276, 41.5949, 9.1834) |
| Luminance | 0.4159 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard Green
#A8B504
ΔE00 2.53
Snot
#ACBB0D
ΔE00 2.97
Sick Green
#9DB92C
ΔE00 3.16
Puke Green
#9AAE07
ΔE00 3.18
Booger
#9BB53C
ΔE00 3.59
Pea
#A4BF20
ΔE00 3.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A8B531 #3E31B5
analogous
#B58031 #A8B531 #66B531
triadic
#A8B531 #31A8B5 #B531A8
tetradic
#A8B531 #31B580 #3E31B5 #B53166
square
#A8B531 #31B580 #3E31B5 #B53166
split-complementary
#A8B531 #3166B5 #8031B5
monochromatic
#4F5517 #7B8524 #A8B531 #C4D053 #D5DD83
Accessibility & contrast
On white
2.25
#A8B531 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.32
#A8B531 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A8B531
9.32:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A8B531 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A8B531 | 1.00 | 2.25 | 9.32 | 9.32 |
| #FFFFFF | 2.25 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.32 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.32 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C2AC17
Deuteranopia (green-blind)
#C1AE3C
Tritanopia (blue-blind)
#B3AA9C
Achromatopsia (no color)
#ADADAD
Design tokens & code
CSS
--color: #a8b531; /* rgb */ color: rgb(168, 181, 49); /* oklch */ color: oklch(73.9% 0.151 115.1);
Tailwind
colors: {
custom: {
50: '#c5cb73',
500: '#a8b531',
950: '#000000',
},
}SCSS
$custom: #a8b531; $custom-light: #c5cb73; $custom-dark: #000000;
JSON
{
"hex": "#a8b531",
"rgb": {
"r": 168,
"g": 181,
"b": 49
},
"hsl": {
"h": 65.909,
"s": 57.391,
"l": 45.098
},
"oklch": {
"l": 0.73927,
"c": 0.15057,
"h": 115.1
},
"luminance": 0.41594
}Semantic roles & 50–950 ramp
primary
#A8B531
secondary
#837BC7
accent
#47E156
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131309
muted
#82827B