#A8B027#A8B027
#A8B027 is a light, vivid yellow. Relative luminance 0.395; OKLCH L 72.7% C 0.151 H 113.0°. Best body text is #000000 at 8.90:1 contrast (WCAG AA passes).
Color values
| HEX | #A8B027 |
|---|---|
| RGB | rgb(168, 176, 39) |
| HSL | hsl(64, 64%, 42%) |
| HSV | hsv(64, 78%, 69%) |
| CMYK | cmyk(4.5%, 0%, 77.8%, 31%) |
| CIE-LAB | lab(69.13, -18.95, 63.50) |
| CIE-LCH | lch(69.13, 66.26, 106.62°) |
| OKLab | oklab(72.74% -0.059 0.1386) |
| OKLCH | oklch(72.74% 0.151 113) |
| XYZ | xyz(32.0410, 39.5227, 7.8599) |
| Luminance | 0.3952 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard Green
#A8B504
ΔE00 2.32
Puke Green
#9AAE07
ΔE00 2.97
Snot
#ACBB0D
ΔE00 3.52
Vomit
#A2A415
ΔE00 3.59
Puke
#A5A502
ΔE00 3.78
Barf Green
#94AC02
ΔE00 4.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A8B027 #2F27B0
analogous
#B07427 #A8B027 #63B027
triadic
#A8B027 #27A8B0 #B027A8
tetradic
#A8B027 #27B074 #2F27B0 #B02763
square
#A8B027 #27B074 #2F27B0 #B02763
split-complementary
#A8B027 #2763B0 #7427B0
monochromatic
#484C11 #787E1C #A8B027 #CCD540 #D9E072
Accessibility & contrast
On white
2.36
#A8B027 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.90
#A8B027 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A8B027
8.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A8B027 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A8B027 | 1.00 | 2.36 | 8.90 | 8.90 |
| #FFFFFF | 2.36 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.90 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.90 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BEA700
Deuteranopia (green-blind)
#BEAA33
Tritanopia (blue-blind)
#B4A597
Achromatopsia (no color)
#A9A9A9
Design tokens & code
CSS
--color: #a8b027; /* rgb */ color: rgb(168, 176, 39); /* oklch */ color: oklch(72.7% 0.151 113.0);
Tailwind
colors: {
custom: {
50: '#c6c76d',
500: '#a8b027',
950: '#000000',
},
}SCSS
$custom: #a8b027; $custom-light: #c6c76d; $custom-dark: #000000;
JSON
{
"hex": "#a8b027",
"rgb": {
"r": 168,
"g": 176,
"b": 39
},
"hsl": {
"h": 63.504,
"s": 63.721,
"l": 42.157
},
"oklch": {
"l": 0.72737,
"c": 0.15067,
"h": 113
},
"luminance": 0.39522
}Semantic roles & 50–950 ramp
primary
#A8B027
secondary
#716CC7
accent
#41E74B
background
#FCFCF6
surface
#F9F8EC
border
#D2D1C7
text
#131308
muted
#82827A