#A7B229#A7B229
#A7B229 is a light, vivid yellow. Relative luminance 0.402; OKLCH L 73.1% C 0.152 H 114.3°. Best body text is #000000 at 9.04:1 contrast (WCAG AA passes).
Color values
| HEX | #A7B229 |
|---|---|
| RGB | rgb(167, 178, 41) |
| HSL | hsl(65, 63%, 43%) |
| HSV | hsv(65, 77%, 70%) |
| CMYK | cmyk(6.2%, 0%, 77%, 30.2%) |
| CIE-LAB | lab(69.62, -20.30, 63.30) |
| CIE-LCH | lch(69.62, 66.48, 107.78°) |
| OKLab | oklab(73.12% -0.0625 0.1386) |
| OKLCH | oklch(73.12% 0.152 114.3) |
| XYZ | xyz(32.2580, 40.2170, 8.1608) |
| Luminance | 0.4022 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard Green
#A8B504
ΔE00 2.10
Puke Green
#9AAE07
ΔE00 2.69
Snot
#ACBB0D
ΔE00 3.09
Barf Green
#94AC02
ΔE00 3.74
Sick Green
#9DB92C
ΔE00 3.85
Booger Green
#96B403
ΔE00 3.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A7B229 #3429B2
analogous
#B27929 #A7B229 #62B229
triadic
#A7B229 #29A7B2 #B229A7
tetradic
#A7B229 #29B279 #3429B2 #B22962
square
#A7B229 #29B279 #3429B2 #B22962
split-complementary
#A7B229 #2962B2 #7929B2
monochromatic
#4A4F12 #78801E #A7B229 #C8D444 #D7DF76
Accessibility & contrast
On white
2.32
#A7B229 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.04
#A7B229 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A7B229
9.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A7B229 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A7B229 | 1.00 | 2.32 | 9.04 | 9.04 |
| #FFFFFF | 2.32 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.04 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.04 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BFA901
Deuteranopia (green-blind)
#BFAB35
Tritanopia (blue-blind)
#B2A799
Achromatopsia (no color)
#AAAAAA
Design tokens & code
CSS
--color: #a7b229; /* rgb */ color: rgb(167, 178, 41); /* oklch */ color: oklch(73.1% 0.152 114.3);
Tailwind
colors: {
custom: {
50: '#c5c86e',
500: '#a7b229',
950: '#000000',
},
}SCSS
$custom: #a7b229; $custom-light: #c5c86e; $custom-dark: #000000;
JSON
{
"hex": "#a7b229",
"rgb": {
"r": 167,
"g": 178,
"b": 41
},
"hsl": {
"h": 64.818,
"s": 62.557,
"l": 42.941
},
"oklch": {
"l": 0.73119,
"c": 0.15207,
"h": 114.3
},
"luminance": 0.40216
}Semantic roles & 50–950 ramp
primary
#A7B229
secondary
#7770C7
accent
#42E64F
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B