#76821A#76821A
#76821A is a mid, vivid yellow. Relative luminance 0.199; OKLCH L 57.8% C 0.123 H 116.3°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).
Color values
| HEX | #76821A |
|---|---|
| RGB | rgb(118, 130, 26) |
| HSL | hsl(67, 67%, 31%) |
| HSV | hsv(67, 80%, 51%) |
| CMYK | cmyk(9.2%, 0%, 80%, 49%) |
| CIE-LAB | lab(51.71, -17.88, 50.30) |
| CIE-LCH | lch(51.71, 53.39, 109.56°) |
| OKLab | oklab(57.76% -0.0544 0.1101) |
| OKLCH | oklch(57.76% 0.123 116.3) |
| XYZ | xyz(15.6407, 19.8916, 3.9926) |
| Luminance | 0.1989 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Shit Green
#758000
ΔE00 1.86
Swamp Green
#748500
ΔE00 2.13
Poop Green
#6F7C00
ΔE00 2.72
Murky Green
#6C7A0E
ΔE00 3.30
Olive Green
#677A04
ΔE00 4.04
Olive
#808000
ΔE00 4.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#76821A #261A82
analogous
#825A1A #76821A #42821A
triadic
#76821A #1A7682 #821A76
tetradic
#76821A #1A825A #261A82 #821A42
square
#76821A #1A825A #261A82 #821A42
split-complementary
#76821A #1A4282 #5A1A82
monochromatic
#191C06 #484F10 #76821A #A4B524 #C7D83E
Accessibility & contrast
On white
4.22
#76821A on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.98
#76821A on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #76821A
4.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##76821A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##76821A | 1.00 | 4.22 | 4.98 | 4.98 |
| #FFFFFF | 4.22 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.98 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.98 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8C7B00
Deuteranopia (green-blind)
#8B7C24
Tritanopia (blue-blind)
#7E7A6F
Achromatopsia (no color)
#7B7B7B
Design tokens & code
CSS
--color: #76821a; /* rgb */ color: rgb(118, 130, 26); /* oklch */ color: oklch(57.8% 0.123 116.3);
Tailwind
colors: {
custom: {
50: '#a1a660',
500: '#76821a',
950: '#000000',
},
}SCSS
$custom: #76821a; $custom-light: #a1a660; $custom-dark: #000000;
JSON
{
"hex": "#76821a",
"rgb": {
"r": 118,
"g": 130,
"b": 26
},
"hsl": {
"h": 66.923,
"s": 66.667,
"l": 30.588
},
"oklch": {
"l": 0.57763,
"c": 0.12277,
"h": 116.3
},
"luminance": 0.19891
}Semantic roles & 50–950 ramp
primary
#76821A
secondary
#4F42B6
accent
#3EEA52
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F0F05
muted
#7F7F7A