#77841F#77841F
#77841F is a mid, vivid yellow. Relative luminance 0.205; OKLCH L 58.4% C 0.122 H 116.8°. Best body text is #000000 at 5.10:1 contrast (WCAG AA passes).
Color values
| HEX | #77841F |
|---|---|
| RGB | rgb(119, 132, 31) |
| HSL | hsl(68, 62%, 32%) |
| HSV | hsv(68, 77%, 52%) |
| CMYK | cmyk(9.8%, 0%, 76.5%, 48.2%) |
| CIE-LAB | lab(52.42, -18.24, 49.29) |
| CIE-LCH | lch(52.42, 52.56, 110.31°) |
| OKLab | oklab(58.36% -0.055 0.1088) |
| OKLCH | oklch(58.36% 0.122 116.8) |
| XYZ | xyz(16.1067, 20.5236, 4.4090) |
| Luminance | 0.2052 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Swamp Green
#748500
ΔE00 2.22
Shit Green
#758000
ΔE00 2.59
Poop Green
#6F7C00
ΔE00 3.52
Murky Green
#6C7A0E
ΔE00 4.00
Khaki Green
#728639
ΔE00 4.48
Olive
#808000
ΔE00 4.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#77841F #2C1F84
analogous
#845F1F #77841F #45841F
triadic
#77841F #1F7784 #841F77
tetradic
#77841F #1F845F #2C1F84 #841F45
square
#77841F #1F845F #2C1F84 #841F45
split-complementary
#77841F #1F4584 #5F1F84
monochromatic
#1E2108 #4A5213 #77841F #A4B62B #C2D449
Accessibility & contrast
On white
4.11
#77841F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.10
#77841F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #77841F
5.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##77841F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##77841F | 1.00 | 4.11 | 5.10 | 5.10 |
| #FFFFFF | 4.11 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.10 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.10 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8D7D09
Deuteranopia (green-blind)
#8C7E28
Tritanopia (blue-blind)
#7F7C71
Achromatopsia (no color)
#7D7D7D
Design tokens & code
CSS
--color: #77841f; /* rgb */ color: rgb(119, 132, 31); /* oklch */ color: oklch(58.4% 0.122 116.8);
Tailwind
colors: {
custom: {
50: '#a1a763',
500: '#77841f',
950: '#000000',
},
}SCSS
$custom: #77841f; $custom-light: #a1a763; $custom-dark: #000000;
JSON
{
"hex": "#77841f",
"rgb": {
"r": 119,
"g": 132,
"b": 31
},
"hsl": {
"h": 67.723,
"s": 61.963,
"l": 31.961
},
"oklch": {
"l": 0.58362,
"c": 0.12193,
"h": 116.8
},
"luminance": 0.20523
}Semantic roles & 50–950 ramp
primary
#77841F
secondary
#5648B7
accent
#43E558
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F0F06
muted
#7F7F7A