#A8B234#A8B234
#A8B234 is a light, vivid yellow. Relative luminance 0.404; OKLCH L 73.3% C 0.145 H 113.9°. Best body text is #000000 at 9.08:1 contrast (WCAG AA passes).
Color values
| HEX | #A8B234 |
|---|---|
| RGB | rgb(168, 178, 52) |
| HSL | hsl(65, 55%, 45%) |
| HSV | hsv(65, 71%, 70%) |
| CMYK | cmyk(5.6%, 0%, 70.8%, 30.2%) |
| CIE-LAB | lab(69.76, -19.35, 59.70) |
| CIE-LCH | lch(69.76, 62.76, 107.96°) |
| OKLab | oklab(73.27% -0.059 0.1329) |
| OKLCH | oklch(73.27% 0.145 113.9) |
| XYZ | xyz(32.6896, 40.4142, 9.3268) |
| Luminance | 0.4041 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard Green
#A8B504
ΔE00 3.00
Puke Green
#9AAE07
ΔE00 3.31
Snot
#ACBB0D
ΔE00 3.76
Booger
#9BB53C
ΔE00 3.93
Sick Green
#9DB92C
ΔE00 3.95
Barf Green
#94AC02
ΔE00 4.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A8B234 #3E34B2
analogous
#B27D34 #A8B234 #69B234
triadic
#A8B234 #34A8B2 #B234A8
tetradic
#A8B234 #34B27D #3E34B2 #B23469
square
#A8B234 #34B27D #3E34B2 #B23469
split-complementary
#A8B234 #3469B2 #7D34B2
monochromatic
#4F5318 #7B8326 #A8B234 #C4CE56 #D5DB85
Accessibility & contrast
On white
2.31
#A8B234 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.08
#A8B234 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A8B234
9.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A8B234 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A8B234 | 1.00 | 2.31 | 9.08 | 9.08 |
| #FFFFFF | 2.31 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.08 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.08 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BFA91E
Deuteranopia (green-blind)
#BFAC3E
Tritanopia (blue-blind)
#B3A799
Achromatopsia (no color)
#AAAAAA
Design tokens & code
CSS
--color: #a8b234; /* rgb */ color: rgb(168, 178, 52); /* oklch */ color: oklch(73.3% 0.145 113.9);
Tailwind
colors: {
custom: {
50: '#c5c874',
500: '#a8b234',
950: '#000000',
},
}SCSS
$custom: #a8b234; $custom-light: #c5c874; $custom-dark: #000000;
JSON
{
"hex": "#a8b234",
"rgb": {
"r": 168,
"g": 178,
"b": 52
},
"hsl": {
"h": 64.762,
"s": 54.783,
"l": 45.098
},
"oklch": {
"l": 0.7327,
"c": 0.1454,
"h": 113.9
},
"luminance": 0.40414
}Semantic roles & 50–950 ramp
primary
#A8B234
secondary
#837DC5
accent
#4ADE55
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131309
muted
#82827B