#A8B327#A8B327
#A8B327 is a light, vivid yellow. Relative luminance 0.407; OKLCH L 73.4% C 0.154 H 114.2°. Best body text is #000000 at 9.14:1 contrast (WCAG AA passes).
Color values
| HEX | #A8B327 |
|---|---|
| RGB | rgb(168, 179, 39) |
| HSL | hsl(65, 64%, 43%) |
| HSV | hsv(65, 78%, 70%) |
| CMYK | cmyk(6.1%, 0%, 78.2%, 29.8%) |
| CIE-LAB | lab(69.97, -20.45, 64.26) |
| CIE-LCH | lch(69.97, 67.44, 107.65°) |
| OKLab | oklab(73.41% -0.0631 0.1403) |
| OKLCH | oklch(73.41% 0.154 114.2) |
| XYZ | xyz(32.6358, 40.7122, 8.0581) |
| Luminance | 0.4071 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard Green
#A8B504
ΔE00 1.79
Snot
#ACBB0D
ΔE00 2.73
Puke Green
#9AAE07
ΔE00 2.80
Sick Green
#9DB92C
ΔE00 3.85
Barf Green
#94AC02
ΔE00 3.90
Booger Green
#96B403
ΔE00 3.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A8B327 #3227B3
analogous
#B37827 #A8B327 #62B327
triadic
#A8B327 #27A8B3 #B327A8
tetradic
#A8B327 #27B378 #3227B3 #B32762
square
#A8B327 #27B378 #3227B3 #B32762
split-complementary
#A8B327 #2762B3 #7827B3
monochromatic
#4A4E11 #79811C #A8B327 #CAD641 #D8E174
Accessibility & contrast
On white
2.30
#A8B327 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.14
#A8B327 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A8B327
9.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A8B327 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A8B327 | 1.00 | 2.30 | 9.14 | 9.14 |
| #FFFFFF | 2.30 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.14 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.14 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C0AA00
Deuteranopia (green-blind)
#C0AC34
Tritanopia (blue-blind)
#B3A899
Achromatopsia (no color)
#ABABAB
Design tokens & code
CSS
--color: #a8b327; /* rgb */ color: rgb(168, 179, 39); /* oklch */ color: oklch(73.4% 0.154 114.2);
Tailwind
colors: {
custom: {
50: '#c6c96e',
500: '#a8b327',
950: '#000000',
},
}SCSS
$custom: #a8b327; $custom-light: #c6c96e; $custom-dark: #000000;
JSON
{
"hex": "#a8b327",
"rgb": {
"r": 168,
"g": 179,
"b": 39
},
"hsl": {
"h": 64.714,
"s": 64.22,
"l": 42.745
},
"oklch": {
"l": 0.73415,
"c": 0.15383,
"h": 114.2
},
"luminance": 0.40712
}Semantic roles & 50–950 ramp
primary
#A8B327
secondary
#756EC8
accent
#41E74E
background
#FCFCF7
surface
#F9F8ED
border
#D2D1C8
text
#131308
muted
#82827B