#A7B730#A7B730
#A7B730 is a light, vivid yellow. Relative luminance 0.423; OKLCH L 74.3% C 0.154 H 116.2°. Best body text is #000000 at 9.46:1 contrast (WCAG AA passes).
Color values
| HEX | #A7B730 |
|---|---|
| RGB | rgb(167, 183, 48) |
| HSL | hsl(67, 58%, 45%) |
| HSV | hsv(67, 74%, 72%) |
| CMYK | cmyk(8.7%, 0%, 73.8%, 28.2%) |
| CIE-LAB | lab(71.07, -22.47, 62.37) |
| CIE-LCH | lch(71.07, 66.29, 109.81°) |
| OKLab | oklab(74.3% -0.0679 0.1379) |
| OKLCH | oklch(74.3% 0.154 116.2) |
| XYZ | xyz(33.4042, 42.2963, 9.2000) |
| Luminance | 0.4230 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sick Green
#9DB92C
ΔE00 2.49
Mustard Green
#A8B504
ΔE00 2.63
Snot
#ACBB0D
ΔE00 2.74
Pea
#A4BF20
ΔE00 2.91
Booger
#9BB53C
ΔE00 3.24
Puke Green
#9AAE07
ΔE00 3.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A7B730 #4030B7
analogous
#B78330 #A7B730 #63B730
triadic
#A7B730 #30A7B7 #B730A7
tetradic
#A7B730 #30B783 #4030B7 #B73063
square
#A7B730 #30B783 #4030B7 #B73063
split-complementary
#A7B730 #3063B7 #8330B7
monochromatic
#4F5617 #7B8723 #A7B730 #C3D252 #D4DE83
Accessibility & contrast
On white
2.22
#A7B730 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.46
#A7B730 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A7B730
9.46:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A7B730 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A7B730 | 1.00 | 2.22 | 9.46 | 9.46 |
| #FFFFFF | 2.22 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.46 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.46 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C4AD14
Deuteranopia (green-blind)
#C3AF3B
Tritanopia (blue-blind)
#B2AC9D
Achromatopsia (no color)
#AEAEAE
Design tokens & code
CSS
--color: #a7b730; /* rgb */ color: rgb(167, 183, 48); /* oklch */ color: oklch(74.3% 0.154 116.2);
Tailwind
colors: {
custom: {
50: '#c5cc72',
500: '#a7b730',
950: '#000000',
},
}SCSS
$custom: #a7b730; $custom-light: #c5cc72; $custom-dark: #000000;
JSON
{
"hex": "#a7b730",
"rgb": {
"r": 167,
"g": 183,
"b": 48
},
"hsl": {
"h": 67.111,
"s": 58.442,
"l": 45.294
},
"oklch": {
"l": 0.74295,
"c": 0.1537,
"h": 116.2
},
"luminance": 0.42296
}Semantic roles & 50–950 ramp
primary
#A7B730
secondary
#847BC8
accent
#46E259
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131309
muted
#82827B