#A7B230#A7B230
#A7B230 is a light, vivid yellow. Relative luminance 0.403; OKLCH L 73.2% C 0.148 H 114.3°. Best body text is #000000 at 9.05:1 contrast (WCAG AA passes).
Color values
| HEX | #A7B230 |
|---|---|
| RGB | rgb(167, 178, 48) |
| HSL | hsl(65, 58%, 44%) |
| HSV | hsv(65, 73%, 70%) |
| CMYK | cmyk(6.2%, 0%, 73%, 30.2%) |
| CIE-LAB | lab(69.66, -19.98, 61.02) |
| CIE-LCH | lch(69.66, 64.21, 108.13°) |
| OKLab | oklab(73.16% -0.061 0.135) |
| OKLCH | oklch(73.16% 0.148 114.3) |
| XYZ | xyz(32.3912, 40.2703, 8.8624) |
| Luminance | 0.4027 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard Green
#A8B504
ΔE00 2.68
Puke Green
#9AAE07
ΔE00 2.96
Snot
#ACBB0D
ΔE00 3.50
Sick Green
#9DB92C
ΔE00 3.75
Booger
#9BB53C
ΔE00 3.89
Barf Green
#94AC02
ΔE00 3.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A7B230 #3B30B2
analogous
#B27C30 #A7B230 #66B230
triadic
#A7B230 #30A7B2 #B230A7
tetradic
#A7B230 #30B27C #3B30B2 #B23066
square
#A7B230 #30B27C #3B30B2 #B23066
split-complementary
#A7B230 #3066B2 #7C30B2
monochromatic
#4D5216 #7A8223 #A7B230 #C5D050 #D5DD80
Accessibility & contrast
On white
2.32
#A7B230 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.05
#A7B230 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A7B230
9.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A7B230 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A7B230 | 1.00 | 2.32 | 9.05 | 9.05 |
| #FFFFFF | 2.32 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.05 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.05 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BFA916
Deuteranopia (green-blind)
#BFAB3B
Tritanopia (blue-blind)
#B2A799
Achromatopsia (no color)
#AAAAAA
Design tokens & code
CSS
--color: #a7b230; /* rgb */ color: rgb(167, 178, 48); /* oklch */ color: oklch(73.2% 0.148 114.3);
Tailwind
colors: {
custom: {
50: '#c5c872',
500: '#a7b230',
950: '#000000',
},
}SCSS
$custom: #a7b230; $custom-light: #c5c872; $custom-dark: #000000;
JSON
{
"hex": "#a7b230",
"rgb": {
"r": 167,
"g": 178,
"b": 48
},
"hsl": {
"h": 65.077,
"s": 57.522,
"l": 44.314
},
"oklch": {
"l": 0.73161,
"c": 0.14818,
"h": 114.3
},
"luminance": 0.4027
}Semantic roles & 50–950 ramp
primary
#A7B230
secondary
#7F78C6
accent
#47E154
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B