#A7B321#A7B321
#A7B321 is a light, vivid yellow. Relative luminance 0.406; OKLCH L 73.3% C 0.157 H 114.6°. Best body text is #000000 at 9.11:1 contrast (WCAG AA passes).
Color values
| HEX | #A7B321 |
|---|---|
| RGB | rgb(167, 179, 33) |
| HSL | hsl(65, 69%, 42%) |
| HSV | hsv(65, 82%, 70%) |
| CMYK | cmyk(6.7%, 0%, 81.6%, 29.8%) |
| CIE-LAB | lab(69.87, -21.10, 65.83) |
| CIE-LCH | lch(69.87, 69.13, 107.77°) |
| OKLab | oklab(73.3% -0.0653 0.1426) |
| OKLCH | oklch(73.3% 0.157 114.6) |
| XYZ | xyz(32.3320, 40.5661, 7.5654) |
| Luminance | 0.4057 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard Green
#A8B504
ΔE00 1.43
Snot
#ACBB0D
ΔE00 2.51
Puke Green
#9AAE07
ΔE00 2.55
Barf Green
#94AC02
ΔE00 3.68
Booger Green
#96B403
ΔE00 3.71
Sick Green
#9DB92C
ΔE00 3.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A7B321 #2D21B3
analogous
#B37621 #A7B321 #5EB321
triadic
#A7B321 #21A7B3 #B321A7
tetradic
#A7B321 #21B376 #2D21B3 #B3215E
square
#A7B321 #21B376 #2D21B3 #B3215E
split-complementary
#A7B321 #215EB3 #7621B3
monochromatic
#474C0E #777F17 #A7B321 #CDDA37 #DAE46B
Accessibility & contrast
On white
2.30
#A7B321 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.11
#A7B321 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A7B321
9.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A7B321 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A7B321 | 1.00 | 2.30 | 9.11 | 9.11 |
| #FFFFFF | 2.30 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.11 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.11 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C1AA00
Deuteranopia (green-blind)
#C0AC30
Tritanopia (blue-blind)
#B2A899
Achromatopsia (no color)
#ABABAB
Design tokens & code
CSS
--color: #a7b321; /* rgb */ color: rgb(167, 179, 33); /* oklch */ color: oklch(73.3% 0.157 114.6);
Tailwind
colors: {
custom: {
50: '#c5c96b',
500: '#a7b321',
950: '#000000',
},
}SCSS
$custom: #a7b321; $custom-light: #c5c96b; $custom-dark: #000000;
JSON
{
"hex": "#a7b321",
"rgb": {
"r": 167,
"g": 179,
"b": 33
},
"hsl": {
"h": 64.932,
"s": 68.868,
"l": 41.569
},
"oklch": {
"l": 0.73305,
"c": 0.15686,
"h": 114.6
},
"luminance": 0.40565
}Semantic roles & 50–950 ramp
primary
#A7B321
secondary
#6E66CA
accent
#3CEC4B
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#131307
muted
#82827A