#A7B932#A7B932
#A7B932 is a light, vivid yellow. Relative luminance 0.431; OKLCH L 74.8% C 0.155 H 117.0°. Best body text is #000000 at 9.63:1 contrast (WCAG AA passes).
Color values
| HEX | #A7B932 |
|---|---|
| RGB | rgb(167, 185, 50) |
| HSL | hsl(68, 57%, 46%) |
| HSV | hsv(68, 73%, 73%) |
| CMYK | cmyk(9.7%, 0%, 73%, 27.5%) |
| CIE-LAB | lab(71.65, -23.36, 62.23) |
| CIE-LCH | lch(71.65, 66.47, 110.57°) |
| OKLab | oklab(74.76% -0.0702 0.1379) |
| OKLCH | oklch(74.76% 0.155 117) |
| XYZ | xyz(33.8619, 43.1441, 9.5608) |
| Luminance | 0.4314 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sick Green
#9DB92C
ΔE00 2.10
Pea
#A4BF20
ΔE00 2.43
Snot
#ACBB0D
ΔE00 2.82
Mustard Green
#A8B504
ΔE00 3.02
Gross Green
#A0BF16
ΔE00 3.03
Bright Olive
#9CBB04
ΔE00 3.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A7B932 #4432B9
analogous
#B98732 #A7B932 #63B932
triadic
#A7B932 #32A7B9 #B932A7
tetradic
#A7B932 #32B987 #4432B9 #B93263
square
#A7B932 #32B987 #4432B9 #B93263
split-complementary
#A7B932 #3263B9 #8732B9
monochromatic
#505918 #7C8925 #A7B932 #C1D257 #D3DF87
Accessibility & contrast
On white
2.18
#A7B932 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.63
#A7B932 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A7B932
9.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A7B932 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A7B932 | 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)
#C6AF17
Deuteranopia (green-blind)
#C4B03D
Tritanopia (blue-blind)
#B1AF9F
Achromatopsia (no color)
#B0B0B0
Design tokens & code
CSS
--color: #a7b932; /* rgb */ color: rgb(167, 185, 50); /* oklch */ color: oklch(74.8% 0.155 117.0);
Tailwind
colors: {
custom: {
50: '#c5cd74',
500: '#a7b932',
950: '#000000',
},
}SCSS
$custom: #a7b932; $custom-light: #c5cd74; $custom-dark: #000000;
JSON
{
"hex": "#a7b932",
"rgb": {
"r": 167,
"g": 185,
"b": 50
},
"hsl": {
"h": 68,
"s": 57.447,
"l": 46.078
},
"oklch": {
"l": 0.74763,
"c": 0.15477,
"h": 117
},
"luminance": 0.43144
}Semantic roles & 50–950 ramp
primary
#A7B932
secondary
#887FC8
accent
#47E15C
background
#FCFCF7
surface
#F8F9ED
border
#D1D2C8
text
#131309
muted
#82827B