#A8B229#A8B229
#A8B229 is a light, vivid yellow. Relative luminance 0.403; OKLCH L 73.2% C 0.152 H 113.9°. Best body text is #000000 at 9.07:1 contrast (WCAG AA passes).
Color values
| HEX | #A8B229 |
|---|---|
| RGB | rgb(168, 178, 41) |
| HSL | hsl(64, 63%, 43%) |
| HSV | hsv(64, 77%, 70%) |
| CMYK | cmyk(5.6%, 0%, 77%, 30.2%) |
| CIE-LAB | lab(69.70, -19.87, 63.40) |
| CIE-LCH | lch(69.70, 66.44, 107.40°) |
| OKLab | oklab(73.2% -0.0614 0.1388) |
| OKLCH | oklch(73.2% 0.152 113.9) |
| XYZ | xyz(32.4701, 40.3264, 8.1707) |
| Luminance | 0.4033 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard Green
#A8B504
ΔE00 2.07
Puke Green
#9AAE07
ΔE00 2.86
Snot
#ACBB0D
ΔE00 3.07
Barf Green
#94AC02
ΔE00 3.93
Sick Green
#9DB92C
ΔE00 4.07
Booger Green
#96B403
ΔE00 4.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A8B229 #3329B2
analogous
#B27829 #A8B229 #63B229
triadic
#A8B229 #29A8B2 #B229A8
tetradic
#A8B229 #29B278 #3329B2 #B22963
square
#A8B229 #29B278 #3329B2 #B22963
split-complementary
#A8B229 #2963B2 #7829B2
monochromatic
#4A4F12 #79801E #A8B229 #C9D444 #D8DF76
Accessibility & contrast
On white
2.32
#A8B229 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.07
#A8B229 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A8B229
9.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A8B229 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A8B229 | 1.00 | 2.32 | 9.07 | 9.07 |
| #FFFFFF | 2.32 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.07 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.07 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BFA901
Deuteranopia (green-blind)
#BFAC35
Tritanopia (blue-blind)
#B3A799
Achromatopsia (no color)
#AAAAAA
Design tokens & code
CSS
--color: #a8b229; /* rgb */ color: rgb(168, 178, 41); /* oklch */ color: oklch(73.2% 0.152 113.9);
Tailwind
colors: {
custom: {
50: '#c5c86f',
500: '#a8b229',
950: '#000000',
},
}SCSS
$custom: #a8b229; $custom-light: #c5c86f; $custom-dark: #000000;
JSON
{
"hex": "#a8b229",
"rgb": {
"r": 168,
"g": 178,
"b": 41
},
"hsl": {
"h": 64.38,
"s": 62.557,
"l": 42.941
},
"oklch": {
"l": 0.732,
"c": 0.15176,
"h": 113.9
},
"luminance": 0.40326
}Semantic roles & 50–950 ramp
primary
#A8B229
secondary
#7670C7
accent
#42E64E
background
#FCFCF7
surface
#F9F8ED
border
#D2D1C8
text
#131308
muted
#82827B