#A7B02B#A7B02B
#A7B02B is a light, vivid yellow. Relative luminance 0.394; OKLCH L 72.7% C 0.149 H 113.5°. Best body text is #000000 at 8.89:1 contrast (WCAG AA passes).
Color values
| HEX | #A7B02B |
|---|---|
| RGB | rgb(167, 176, 43) |
| HSL | hsl(64, 61%, 43%) |
| HSV | hsv(64, 76%, 69%) |
| CMYK | cmyk(5.1%, 0%, 75.6%, 31%) |
| CIE-LAB | lab(69.07, -19.21, 62.15) |
| CIE-LCH | lch(69.07, 65.05, 107.18°) |
| OKLab | oklab(72.68% -0.0593 0.1365) |
| OKLCH | oklch(72.68% 0.149 113.5) |
| XYZ | xyz(31.8987, 39.4413, 8.2176) |
| Luminance | 0.3944 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard Green
#A8B504
ΔE00 2.57
Puke Green
#9AAE07
ΔE00 2.88
Snot
#ACBB0D
ΔE00 3.68
Vomit
#A2A415
ΔE00 3.75
Barf Green
#94AC02
ΔE00 3.87
Pea Soup Green
#94A617
ΔE00 4.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A7B02B #342BB0
analogous
#B0762B #A7B02B #64B02B
triadic
#A7B02B #2BA7B0 #B02BA7
tetradic
#A7B02B #2BB076 #342BB0 #B02B64
square
#A7B02B #2BB076 #342BB0 #B02B64
split-complementary
#A7B02B #2B64B0 #762BB0
monochromatic
#4A4E13 #787F1F #A7B02B #C8D246 #D7DE78
Accessibility & contrast
On white
2.36
#A7B02B on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.89
#A7B02B on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A7B02B
8.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A7B02B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A7B02B | 1.00 | 2.36 | 8.89 | 8.89 |
| #FFFFFF | 2.36 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.89 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.89 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BDA70A
Deuteranopia (green-blind)
#BDAA36
Tritanopia (blue-blind)
#B2A597
Achromatopsia (no color)
#A9A9A9
Design tokens & code
CSS
--color: #a7b02b; /* rgb */ color: rgb(167, 176, 43); /* oklch */ color: oklch(72.7% 0.149 113.5);
Tailwind
colors: {
custom: {
50: '#c5c76f',
500: '#a7b02b',
950: '#000000',
},
}SCSS
$custom: #a7b02b; $custom-light: #c5c76f; $custom-dark: #000000;
JSON
{
"hex": "#a7b02b",
"rgb": {
"r": 167,
"g": 176,
"b": 43
},
"hsl": {
"h": 64.06,
"s": 60.731,
"l": 42.941
},
"oklch": {
"l": 0.72678,
"c": 0.14886,
"h": 113.5
},
"luminance": 0.39441
}Semantic roles & 50–950 ramp
primary
#A7B02B
secondary
#7771C6
accent
#44E44F
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B