#A7B827#A7B827
#A7B827 is a light, vivid yellow. Relative luminance 0.426; OKLCH L 74.5% C 0.160 H 116.5°. Best body text is #000000 at 9.53:1 contrast (WCAG AA passes).
Color values
| HEX | #A7B827 |
|---|---|
| RGB | rgb(167, 184, 39) |
| HSL | hsl(67, 65%, 44%) |
| HSV | hsv(67, 79%, 72%) |
| CMYK | cmyk(9.2%, 0%, 78.8%, 27.8%) |
| CIE-LAB | lab(71.31, -23.36, 65.44) |
| CIE-LCH | lch(71.31, 69.48, 109.64°) |
| OKLab | oklab(74.47% -0.0711 0.1428) |
| OKLCH | oklch(74.47% 0.16 116.5) |
| XYZ | xyz(33.4440, 42.6434, 8.3883) |
| Luminance | 0.4264 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Snot
#ACBB0D
ΔE00 2.01
Mustard Green
#A8B504
ΔE00 2.06
Pea
#A4BF20
ΔE00 2.44
Sick Green
#9DB92C
ΔE00 2.54
Bright Olive
#9CBB04
ΔE00 2.83
Gross Green
#A0BF16
ΔE00 3.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A7B827 #3827B8
analogous
#B88027 #A7B827 #5FB827
triadic
#A7B827 #27A7B8 #B827A7
tetradic
#A7B827 #27B880 #3827B8 #B8275F
square
#A7B827 #27B880 #3827B8 #B8275F
split-complementary
#A7B827 #275FB8 #8027B8
monochromatic
#4B5312 #79861C #A7B827 #C6D845 #D6E277
Accessibility & contrast
On white
2.20
#A7B827 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.53
#A7B827 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A7B827
9.53:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A7B827 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A7B827 | 1.00 | 2.20 | 9.53 | 9.53 |
| #FFFFFF | 2.20 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.53 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.53 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C5AE00
Deuteranopia (green-blind)
#C4B035
Tritanopia (blue-blind)
#B2AD9D
Achromatopsia (no color)
#AFAFAF
Design tokens & code
CSS
--color: #a7b827; /* rgb */ color: rgb(167, 184, 39); /* oklch */ color: oklch(74.5% 0.160 116.5);
Tailwind
colors: {
custom: {
50: '#c5cd6e',
500: '#a7b827',
950: '#000000',
},
}SCSS
$custom: #a7b827; $custom-light: #c5cd6e; $custom-dark: #000000;
JSON
{
"hex": "#a7b827",
"rgb": {
"r": 167,
"g": 184,
"b": 39
},
"hsl": {
"h": 67.034,
"s": 65.022,
"l": 43.725
},
"oklch": {
"l": 0.74471,
"c": 0.15953,
"h": 116.5
},
"luminance": 0.42643
}Semantic roles & 50–950 ramp
primary
#A7B827
secondary
#7B71CA
accent
#40E854
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B