#77871F#77871F
#77871F is a mid, vivid yellow. Relative luminance 0.213; OKLCH L 59.1% C 0.126 H 118.2°. Best body text is #000000 at 5.27:1 contrast (WCAG AA passes).
Color values
| HEX | #77871F |
|---|---|
| RGB | rgb(119, 135, 31) |
| HSL | hsl(69, 63%, 33%) |
| HSV | hsv(69, 77%, 53%) |
| CMYK | cmyk(11.9%, 0%, 77%, 47.1%) |
| CIE-LAB | lab(53.33, -19.80, 50.15) |
| CIE-LCH | lch(53.33, 53.91, 111.55°) |
| OKLab | oklab(59.09% -0.0593 0.1106) |
| OKLCH | oklch(59.09% 0.126 118.2) |
| XYZ | xyz(16.5194, 21.3490, 4.5466) |
| Luminance | 0.2135 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Swamp Green
#748500
ΔE00 2.14
Shit Green
#758000
ΔE00 3.35
Dark Yellow Green
#728F02
ΔE00 3.84
Khaki Green
#728639
ΔE00 4.36
Poop Green
#6F7C00
ΔE00 4.40
Olivedrab
#6B8E23
ΔE00 4.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#77871F #2F1F87
analogous
#87631F #77871F #43871F
triadic
#77871F #1F7787 #871F77
tetradic
#77871F #1F8763 #2F1F87 #871F43
square
#77871F #1F8763 #2F1F87 #871F43
split-complementary
#77871F #1F4387 #631F87
monochromatic
#1F2308 #4B5514 #77871F #A3B92A #C0D64B
Accessibility & contrast
On white
3.98
#77871F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.27
#77871F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #77871F
5.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##77871F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##77871F | 1.00 | 3.98 | 5.27 | 5.27 |
| #FFFFFF | 3.98 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.27 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.27 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#907F07
Deuteranopia (green-blind)
#8F8028
Tritanopia (blue-blind)
#7F7F73
Achromatopsia (no color)
#7F7F7F
Design tokens & code
CSS
--color: #77871f; /* rgb */ color: rgb(119, 135, 31); /* oklch */ color: oklch(59.1% 0.126 118.2);
Tailwind
colors: {
custom: {
50: '#a1a963',
500: '#77871f',
950: '#000000',
},
}SCSS
$custom: #77871f; $custom-light: #a1a963; $custom-dark: #000000;
JSON
{
"hex": "#77871f",
"rgb": {
"r": 119,
"g": 135,
"b": 31
},
"hsl": {
"h": 69.231,
"s": 62.651,
"l": 32.549
},
"oklch": {
"l": 0.5909,
"c": 0.12552,
"h": 118.2
},
"luminance": 0.21349
}Semantic roles & 50–950 ramp
primary
#77871F
secondary
#5B4AB8
accent
#42E65B
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F1006
muted
#7F7F7A