#77811F#77811F
#77811F is a mid, moderate yellow. Relative luminance 0.197; OKLCH L 57.6% C 0.118 H 115.3°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).
Color values
| HEX | #77811F |
|---|---|
| RGB | rgb(119, 129, 31) |
| HSL | hsl(66, 61%, 31%) |
| HSV | hsv(66, 76%, 51%) |
| CMYK | cmyk(7.8%, 0%, 76%, 49.4%) |
| CIE-LAB | lab(51.52, -16.66, 48.44) |
| CIE-LCH | lch(51.52, 51.22, 108.98°) |
| OKLab | oklab(57.64% -0.0507 0.107) |
| OKLCH | oklch(57.64% 0.118 115.3) |
| XYZ | xyz(15.7058, 19.7216, 4.2754) |
| Luminance | 0.1972 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Shit Green
#758000
ΔE00 2.23
Swamp Green
#748500
ΔE00 2.86
Poop Green
#6F7C00
ΔE00 2.87
Murky Green
#6C7A0E
ΔE00 3.26
Olive
#808000
ΔE00 4.05
Olive Green
#677A04
ΔE00 4.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#77811F #291F81
analogous
#815A1F #77811F #46811F
triadic
#77811F #1F7781 #811F77
tetradic
#77811F #1F815A #291F81 #811F46
square
#77811F #1F815A #291F81 #811F46
split-complementary
#77811F #1F4681 #5A1F81
monochromatic
#1C1E07 #495013 #77811F #A5B22B #C5D347
Accessibility & contrast
On white
4.25
#77811F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.94
#77811F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #77811F
4.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##77811F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##77811F | 1.00 | 4.25 | 4.94 | 4.94 |
| #FFFFFF | 4.25 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.94 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.94 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8B7A0A
Deuteranopia (green-blind)
#8A7C27
Tritanopia (blue-blind)
#7F796E
Achromatopsia (no color)
#7B7B7B
Design tokens & code
CSS
--color: #77811f; /* rgb */ color: rgb(119, 129, 31); /* oklch */ color: oklch(57.6% 0.118 115.3);
Tailwind
colors: {
custom: {
50: '#a1a563',
500: '#77811f',
950: '#000000',
},
}SCSS
$custom: #77811f; $custom-light: #a1a563; $custom-dark: #000000;
JSON
{
"hex": "#77811f",
"rgb": {
"r": 119,
"g": 129,
"b": 31
},
"hsl": {
"h": 66.122,
"s": 61.25,
"l": 31.373
},
"oklch": {
"l": 0.57637,
"c": 0.11839,
"h": 115.3
},
"luminance": 0.19721
}Semantic roles & 50–950 ramp
primary
#77811F
secondary
#5348B4
accent
#43E454
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F0F06
muted
#7F7F7A