#77821B#77821B
#77821B is a mid, vivid yellow. Relative luminance 0.200; OKLCH L 57.9% C 0.122 H 115.8°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).
Color values
| HEX | #77821B |
|---|---|
| RGB | rgb(119, 130, 27) |
| HSL | hsl(66, 66%, 31%) |
| HSV | hsv(66, 79%, 51%) |
| CMYK | cmyk(8.5%, 0%, 79.2%, 49%) |
| CIE-LAB | lab(51.80, -17.38, 50.08) |
| CIE-LCH | lch(51.80, 53.02, 109.14°) |
| OKLab | oklab(57.85% -0.053 0.1098) |
| OKLCH | oklch(57.85% 0.122 115.8) |
| XYZ | xyz(15.7886, 19.9666, 4.0589) |
| Luminance | 0.1997 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Shit Green
#758000
ΔE00 1.88
Swamp Green
#748500
ΔE00 2.27
Poop Green
#6F7C00
ΔE00 2.82
Murky Green
#6C7A0E
ΔE00 3.43
Olive
#808000
ΔE00 3.91
Olive Green
#677A04
ΔE00 4.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#77821B #261B82
analogous
#82591B #77821B #43821B
triadic
#77821B #1B7782 #821B77
tetradic
#77821B #1B8259 #261B82 #821B43
square
#77821B #1B8259 #261B82 #821B43
split-complementary
#77821B #1B4382 #591B82
monochromatic
#1A1D06 #494F10 #77821B #A5B526 #C7D740
Accessibility & contrast
On white
4.21
#77821B on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.99
#77821B on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #77821B
4.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##77821B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##77821B | 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: #77821b; /* rgb */ color: rgb(119, 130, 27); /* oklch */ color: oklch(57.9% 0.122 115.8);
Tailwind
colors: {
custom: {
50: '#a1a661',
500: '#77821b',
950: '#000000',
},
}SCSS
$custom: #77821b; $custom-light: #a1a661; $custom-dark: #000000;
JSON
{
"hex": "#77821b",
"rgb": {
"r": 119,
"g": 130,
"b": 27
},
"hsl": {
"h": 66.408,
"s": 65.605,
"l": 30.784
},
"oklch": {
"l": 0.57853,
"c": 0.12188,
"h": 115.8
},
"luminance": 0.19966
}Semantic roles & 50–950 ramp
primary
#77821B
secondary
#4F43B6
accent
#3FE951
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F0F05
muted
#7F7F7A