#A7B327#A7B327
#A7B327 is a light, vivid yellow. Relative luminance 0.406; OKLCH L 73.3% C 0.154 H 114.6°. Best body text is #000000 at 9.12:1 contrast (WCAG AA passes).
Color values
| HEX | #A7B327 |
|---|---|
| RGB | rgb(167, 179, 39) |
| HSL | hsl(65, 64%, 43%) |
| HSV | hsv(65, 78%, 70%) |
| CMYK | cmyk(6.7%, 0%, 78.2%, 29.8%) |
| CIE-LAB | lab(69.90, -20.88, 64.16) |
| CIE-LCH | lch(69.90, 67.48, 108.03°) |
| OKLab | oklab(73.33% -0.0643 0.1401) |
| OKLCH | oklch(73.33% 0.154 114.6) |
| XYZ | xyz(32.4236, 40.6028, 8.0482) |
| Luminance | 0.4060 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard Green
#A8B504
ΔE00 1.84
Puke Green
#9AAE07
ΔE00 2.63
Snot
#ACBB0D
ΔE00 2.76
Sick Green
#9DB92C
ΔE00 3.63
Barf Green
#94AC02
ΔE00 3.71
Booger Green
#96B403
ΔE00 3.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A7B327 #3327B3
analogous
#B37927 #A7B327 #61B327
triadic
#A7B327 #27A7B3 #B327A7
tetradic
#A7B327 #27B379 #3327B3 #B32761
square
#A7B327 #27B379 #3327B3 #B32761
split-complementary
#A7B327 #2761B3 #7927B3
monochromatic
#494E11 #78811C #A7B327 #C9D641 #D7E174
Accessibility & contrast
On white
2.30
#A7B327 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.12
#A7B327 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A7B327
9.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A7B327 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A7B327 | 1.00 | 2.30 | 9.12 | 9.12 |
| #FFFFFF | 2.30 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.12 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.12 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C0AA00
Deuteranopia (green-blind)
#C0AC34
Tritanopia (blue-blind)
#B2A899
Achromatopsia (no color)
#ABABAB
Design tokens & code
CSS
--color: #a7b327; /* rgb */ color: rgb(167, 179, 39); /* oklch */ color: oklch(73.3% 0.154 114.6);
Tailwind
colors: {
custom: {
50: '#c5c96e',
500: '#a7b327',
950: '#000000',
},
}SCSS
$custom: #a7b327; $custom-light: #c5c96e; $custom-dark: #000000;
JSON
{
"hex": "#a7b327",
"rgb": {
"r": 167,
"g": 179,
"b": 39
},
"hsl": {
"h": 65.143,
"s": 64.22,
"l": 42.745
},
"oklch": {
"l": 0.73334,
"c": 0.15413,
"h": 114.6
},
"luminance": 0.40602
}Semantic roles & 50–950 ramp
primary
#A7B327
secondary
#766EC8
accent
#41E74F
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B