#77821A#77821A
#77821A is a mid, vivid yellow. Relative luminance 0.200; OKLCH L 57.8% C 0.122 H 115.8°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).
Color values
| HEX | #77821A |
|---|---|
| RGB | rgb(119, 130, 26) |
| HSL | hsl(66, 67%, 31%) |
| HSV | hsv(66, 80%, 51%) |
| CMYK | cmyk(8.5%, 0%, 80%, 49%) |
| CIE-LAB | lab(51.79, -17.43, 50.41) |
| CIE-LCH | lch(51.79, 53.33, 109.07°) |
| OKLab | oklab(57.85% -0.0532 0.1102) |
| OKLCH | oklch(57.85% 0.122 115.8) |
| XYZ | xyz(15.7773, 19.9620, 3.9990) |
| Luminance | 0.1996 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Shit Green
#758000
ΔE00 1.79
Swamp Green
#748500
ΔE00 2.20
Poop Green
#6F7C00
ΔE00 2.78
Murky Green
#6C7A0E
ΔE00 3.43
Olive
#808000
ΔE00 3.85
Olive Green
#677A04
ΔE00 4.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#77821A #251A82
analogous
#82591A #77821A #43821A
triadic
#77821A #1A7782 #821A77
tetradic
#77821A #1A8259 #251A82 #821A43
square
#77821A #1A8259 #251A82 #821A43
split-complementary
#77821A #1A4382 #591A82
monochromatic
#1A1C06 #484F10 #77821A #A6B524 #C8D83E
Accessibility & contrast
On white
4.21
#77821A on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.99
#77821A on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #77821A
4.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##77821A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##77821A | 1.00 | 4.21 | 4.99 | 4.99 |
| #FFFFFF | 4.21 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.99 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.99 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8C7B00
Deuteranopia (green-blind)
#8B7C24
Tritanopia (blue-blind)
#7F7A6F
Achromatopsia (no color)
#7B7B7B
Design tokens & code
CSS
--color: #77821a; /* rgb */ color: rgb(119, 130, 26); /* oklch */ color: oklch(57.8% 0.122 115.8);
Tailwind
colors: {
custom: {
50: '#a1a660',
500: '#77821a',
950: '#000000',
},
}SCSS
$custom: #77821a; $custom-light: #a1a660; $custom-dark: #000000;
JSON
{
"hex": "#77821a",
"rgb": {
"r": 119,
"g": 130,
"b": 26
},
"hsl": {
"h": 66.346,
"s": 66.667,
"l": 30.588
},
"oklch": {
"l": 0.57847,
"c": 0.12241,
"h": 115.8
},
"luminance": 0.19962
}Semantic roles & 50–950 ramp
primary
#77821A
secondary
#4E42B6
accent
#3EEA50
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F0F05
muted
#7F7F7A