#A7B533#A7B533
#A7B533 is a light, vivid yellow. Relative luminance 0.415; OKLCH L 73.9% C 0.150 H 115.5°. Best body text is #000000 at 9.30:1 contrast (WCAG AA passes).
Color values
| HEX | #A7B533 |
|---|---|
| RGB | rgb(167, 181, 51) |
| HSL | hsl(66, 56%, 45%) |
| HSV | hsv(66, 72%, 71%) |
| CMYK | cmyk(7.7%, 0%, 71.8%, 29%) |
| CIE-LAB | lab(70.53, -21.33, 60.79) |
| CIE-LCH | lch(70.53, 64.42, 109.34°) |
| OKLab | oklab(73.86% -0.0645 0.1351) |
| OKLCH | oklch(73.86% 0.15 115.5) |
| XYZ | xyz(33.0586, 41.5028, 9.4007) |
| Luminance | 0.4150 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard Green
#A8B504
ΔE00 2.81
Sick Green
#9DB92C
ΔE00 2.92
Puke Green
#9AAE07
ΔE00 3.19
Snot
#ACBB0D
ΔE00 3.20
Booger
#9BB53C
ΔE00 3.24
Pea
#A4BF20
ΔE00 3.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A7B533 #4133B5
analogous
#B58233 #A7B533 #66B533
triadic
#A7B533 #33A7B5 #B533A7
tetradic
#A7B533 #33B582 #4133B5 #B53366
square
#A7B533 #33B582 #4133B5 #B53366
split-complementary
#A7B533 #3366B5 #8233B5
monochromatic
#4F5618 #7B8526 #A7B533 #C2CF56 #D3DD86
Accessibility & contrast
On white
2.26
#A7B533 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.30
#A7B533 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A7B533
9.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A7B533 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A7B533 | 1.00 | 2.26 | 9.30 | 9.30 |
| #FFFFFF | 2.26 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.30 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.30 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C2AC1B
Deuteranopia (green-blind)
#C1AD3D
Tritanopia (blue-blind)
#B2AB9C
Achromatopsia (no color)
#ACACAC
Design tokens & code
CSS
--color: #a7b533; /* rgb */ color: rgb(167, 181, 51); /* oklch */ color: oklch(73.9% 0.150 115.5);
Tailwind
colors: {
custom: {
50: '#c4cb74',
500: '#a7b533',
950: '#000000',
},
}SCSS
$custom: #a7b533; $custom-light: #c4cb74; $custom-dark: #000000;
JSON
{
"hex": "#a7b533",
"rgb": {
"r": 167,
"g": 181,
"b": 51
},
"hsl": {
"h": 66.462,
"s": 56.034,
"l": 45.49
},
"oklch": {
"l": 0.73861,
"c": 0.14967,
"h": 115.5
},
"luminance": 0.41502
}Semantic roles & 50–950 ramp
primary
#A7B533
secondary
#857DC6
accent
#48DF59
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131309
muted
#82827B