#A7B934#A7B934
#A7B934 is a light, vivid yellow. Relative luminance 0.432; OKLCH L 74.8% C 0.154 H 117.0°. Best body text is #000000 at 9.63:1 contrast (WCAG AA passes).
Color values
| HEX | #A7B934 |
|---|---|
| RGB | rgb(167, 185, 52) |
| HSL | hsl(68, 56%, 46%) |
| HSV | hsv(68, 72%, 73%) |
| CMYK | cmyk(9.7%, 0%, 71.9%, 27.5%) |
| CIE-LAB | lab(71.66, -23.26, 61.54) |
| CIE-LCH | lch(71.66, 65.79, 110.70°) |
| OKLab | oklab(74.78% -0.0698 0.1368) |
| OKLCH | oklch(74.78% 0.154 117) |
| XYZ | xyz(33.9060, 43.1618, 9.7930) |
| Luminance | 0.4316 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sick Green
#9DB92C
ΔE00 2.09
Pea
#A4BF20
ΔE00 2.52
Booger
#9BB53C
ΔE00 2.93
Snot
#ACBB0D
ΔE00 3.00
Gross Green
#A0BF16
ΔE00 3.12
Bright Olive
#9CBB04
ΔE00 3.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A7B934 #4634B9
analogous
#B98934 #A7B934 #65B934
triadic
#A7B934 #34A7B9 #B934A7
tetradic
#A7B934 #34B989 #4634B9 #B93465
square
#A7B934 #34B989 #4634B9 #B93465
split-complementary
#A7B934 #3465B9 #8934B9
monochromatic
#515919 #7C8927 #A7B934 #C0D15A #D3DE89
Accessibility & contrast
On white
2.18
#A7B934 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.63
#A7B934 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A7B934
9.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A7B934 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A7B934 | 1.00 | 2.18 | 9.63 | 9.63 |
| #FFFFFF | 2.18 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.63 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.63 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C6AF1B
Deuteranopia (green-blind)
#C4B03F
Tritanopia (blue-blind)
#B1AF9F
Achromatopsia (no color)
#B0B0B0
Design tokens & code
CSS
--color: #a7b934; /* rgb */ color: rgb(167, 185, 52); /* oklch */ color: oklch(74.8% 0.154 117.0);
Tailwind
colors: {
custom: {
50: '#c4ce75',
500: '#a7b934',
950: '#000000',
},
}SCSS
$custom: #a7b934; $custom-light: #c4ce75; $custom-dark: #000000;
JSON
{
"hex": "#a7b934",
"rgb": {
"r": 167,
"g": 185,
"b": 52
},
"hsl": {
"h": 68.12,
"s": 56.118,
"l": 46.471
},
"oklch": {
"l": 0.74776,
"c": 0.15356,
"h": 117
},
"luminance": 0.43161
}Semantic roles & 50–950 ramp
primary
#A7B934
secondary
#8A81C8
accent
#48DF5D
background
#FCFCF7
surface
#F8F9ED
border
#D1D2C8
text
#131309
muted
#82827B