#77841B#77841B
#77841B is a mid, vivid yellow. Relative luminance 0.205; OKLCH L 58.3% C 0.124 H 116.7°. Best body text is #000000 at 5.10:1 contrast (WCAG AA passes).
Color values
| HEX | #77841B |
|---|---|
| RGB | rgb(119, 132, 27) |
| HSL | hsl(67, 66%, 31%) |
| HSV | hsv(67, 80%, 52%) |
| CMYK | cmyk(9.8%, 0%, 79.5%, 48.2%) |
| CIE-LAB | lab(52.40, -18.43, 50.64) |
| CIE-LCH | lch(52.40, 53.89, 110.00°) |
| OKLab | oklab(58.34% -0.0559 0.1109) |
| OKLCH | oklch(58.34% 0.124 116.7) |
| XYZ | xyz(16.0573, 20.5038, 4.1484) |
| Luminance | 0.2050 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Swamp Green
#748500
ΔE00 1.84
Shit Green
#758000
ΔE00 2.25
Poop Green
#6F7C00
ΔE00 3.33
Murky Green
#6C7A0E
ΔE00 3.97
Olive
#808000
ΔE00 4.34
Olive Green
#677A04
ΔE00 4.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#77841B #281B84
analogous
#845C1B #77841B #42841B
triadic
#77841B #1B7784 #841B77
tetradic
#77841B #1B845C #281B84 #841B42
square
#77841B #1B845C #281B84 #841B42
split-complementary
#77841B #1B4284 #5C1B84
monochromatic
#1B1E06 #495111 #77841B #A5B725 #C5D841
Accessibility & contrast
On white
4.12
#77841B on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.10
#77841B on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #77841B
5.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##77841B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##77841B | 1.00 | 4.12 | 5.10 | 5.10 |
| #FFFFFF | 4.12 | 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)
#8E7D00
Deuteranopia (green-blind)
#8C7E25
Tritanopia (blue-blind)
#7F7C71
Achromatopsia (no color)
#7D7D7D
Design tokens & code
CSS
--color: #77841b; /* rgb */ color: rgb(119, 132, 27); /* oklch */ color: oklch(58.3% 0.124 116.7);
Tailwind
colors: {
custom: {
50: '#a1a761',
500: '#77841b',
950: '#000000',
},
}SCSS
$custom: #77841b; $custom-light: #a1a761; $custom-dark: #000000;
JSON
{
"hex": "#77841b",
"rgb": {
"r": 119,
"g": 132,
"b": 27
},
"hsl": {
"h": 67.429,
"s": 66.038,
"l": 31.176
},
"oklch": {
"l": 0.58337,
"c": 0.12421,
"h": 116.7
},
"luminance": 0.20504
}Semantic roles & 50–950 ramp
primary
#77841B
secondary
#5243B7
accent
#3FE954
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F0F05
muted
#7F7F7A