#A8B827#A8B827
#A8B827 is a light, vivid yellow. Relative luminance 0.428; OKLCH L 74.6% C 0.159 H 116.1°. Best body text is #000000 at 9.55:1 contrast (WCAG AA passes).
Color values
| HEX | #A8B827 |
|---|---|
| RGB | rgb(168, 184, 39) |
| HSL | hsl(67, 65%, 44%) |
| HSV | hsv(67, 79%, 72%) |
| CMYK | cmyk(8.7%, 0%, 78.8%, 27.8%) |
| CIE-LAB | lab(71.39, -22.93, 65.53) |
| CIE-LCH | lch(71.39, 69.43, 109.29°) |
| OKLab | oklab(74.55% -0.07 0.143) |
| OKLCH | oklch(74.55% 0.159 116.1) |
| XYZ | xyz(33.6561, 42.7528, 8.3982) |
| Luminance | 0.4275 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Snot
#ACBB0D
ΔE00 1.88
Mustard Green
#A8B504
ΔE00 1.93
Pea
#A4BF20
ΔE00 2.59
Sick Green
#9DB92C
ΔE00 2.77
Bright Olive
#9CBB04
ΔE00 3.01
Gross Green
#A0BF16
ΔE00 3.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A8B827 #3727B8
analogous
#B87F27 #A8B827 #5FB827
triadic
#A8B827 #27A8B8 #B827A8
tetradic
#A8B827 #27B87F #3727B8 #B8275F
square
#A8B827 #27B87F #3727B8 #B8275F
split-complementary
#A8B827 #275FB8 #7F27B8
monochromatic
#4C5312 #7A861C #A8B827 #C7D845 #D6E277
Accessibility & contrast
On white
2.20
#A8B827 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.55
#A8B827 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A8B827
9.55:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A8B827 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A8B827 | 1.00 | 2.20 | 9.55 | 9.55 |
| #FFFFFF | 2.20 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.55 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.55 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C5AE00
Deuteranopia (green-blind)
#C4B035
Tritanopia (blue-blind)
#B3AD9D
Achromatopsia (no color)
#AFAFAF
Design tokens & code
CSS
--color: #a8b827; /* rgb */ color: rgb(168, 184, 39); /* oklch */ color: oklch(74.6% 0.159 116.1);
Tailwind
colors: {
custom: {
50: '#c6cd6e',
500: '#a8b827',
950: '#000000',
},
}SCSS
$custom: #a8b827; $custom-light: #c6cd6e; $custom-dark: #000000;
JSON
{
"hex": "#a8b827",
"rgb": {
"r": 168,
"g": 184,
"b": 39
},
"hsl": {
"h": 66.621,
"s": 65.022,
"l": 43.725
},
"oklch": {
"l": 0.7455,
"c": 0.15919,
"h": 116.1
},
"luminance": 0.42752
}Semantic roles & 50–950 ramp
primary
#A8B827
secondary
#7B71CA
accent
#40E852
background
#FCFCF7
surface
#F9F8ED
border
#D2D1C8
text
#131308
muted
#82827B