#A8B932#A8B932
#A8B932 is a light, vivid yellow. Relative luminance 0.433; OKLCH L 74.8% C 0.154 H 116.6°. Best body text is #000000 at 9.65:1 contrast (WCAG AA passes).
Color values
| HEX | #A8B932 |
|---|---|
| RGB | rgb(168, 185, 50) |
| HSL | hsl(68, 57%, 46%) |
| HSV | hsv(68, 73%, 73%) |
| CMYK | cmyk(9.2%, 0%, 73%, 27.5%) |
| CIE-LAB | lab(71.73, -22.94, 62.33) |
| CIE-LCH | lch(71.73, 66.41, 110.21°) |
| OKLab | oklab(74.84% -0.0691 0.1381) |
| OKLCH | oklch(74.84% 0.154 116.6) |
| XYZ | xyz(34.0740, 43.2535, 9.5708) |
| Luminance | 0.4325 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sick Green
#9DB92C
ΔE00 2.33
Pea
#A4BF20
ΔE00 2.53
Snot
#ACBB0D
ΔE00 2.69
Mustard Green
#A8B504
ΔE00 2.89
Gross Green
#A0BF16
ΔE00 3.16
Bright Olive
#9CBB04
ΔE00 3.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A8B932 #4332B9
analogous
#B98632 #A8B932 #64B932
triadic
#A8B932 #32A8B9 #B932A8
tetradic
#A8B932 #32B986 #4332B9 #B93264
square
#A8B932 #32B986 #4332B9 #B93264
split-complementary
#A8B932 #3264B9 #8632B9
monochromatic
#505918 #7C8925 #A8B932 #C2D257 #D3DF87
Accessibility & contrast
On white
2.18
#A8B932 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.65
#A8B932 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A8B932
9.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A8B932 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A8B932 | 1.00 | 2.18 | 9.65 | 9.65 |
| #FFFFFF | 2.18 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.65 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.65 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C6AF17
Deuteranopia (green-blind)
#C4B13D
Tritanopia (blue-blind)
#B3AE9F
Achromatopsia (no color)
#B0B0B0
Design tokens & code
CSS
--color: #a8b932; /* rgb */ color: rgb(168, 185, 50); /* oklch */ color: oklch(74.8% 0.154 116.6);
Tailwind
colors: {
custom: {
50: '#c5cd74',
500: '#a8b932',
950: '#000000',
},
}SCSS
$custom: #a8b932; $custom-light: #c5cd74; $custom-dark: #000000;
JSON
{
"hex": "#a8b932",
"rgb": {
"r": 168,
"g": 185,
"b": 50
},
"hsl": {
"h": 67.556,
"s": 57.447,
"l": 46.078
},
"oklch": {
"l": 0.74841,
"c": 0.15443,
"h": 116.6
},
"luminance": 0.43253
}Semantic roles & 50–950 ramp
primary
#A8B932
secondary
#887FC8
accent
#47E15A
background
#FCFCF7
surface
#F8F9ED
border
#D1D2C8
text
#131309
muted
#82827B