#77851B#77851B
#77851B is a mid, vivid yellow. Relative luminance 0.208; OKLCH L 58.6% C 0.125 H 117.2°. Best body text is #000000 at 5.16:1 contrast (WCAG AA passes).
Color values
| HEX | #77851B |
|---|---|
| RGB | rgb(119, 133, 27) |
| HSL | hsl(68, 66%, 31%) |
| HSV | hsv(68, 80%, 52%) |
| CMYK | cmyk(10.5%, 0%, 79.7%, 47.8%) |
| CIE-LAB | lab(52.70, -18.95, 50.91) |
| CIE-LCH | lch(52.70, 54.32, 110.42°) |
| OKLab | oklab(58.58% -0.0573 0.1115) |
| OKLCH | oklch(58.58% 0.125 117.2) |
| XYZ | xyz(16.1935, 20.7763, 4.1939) |
| Luminance | 0.2078 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Swamp Green
#748500
ΔE00 1.73
Shit Green
#758000
ΔE00 2.51
Poop Green
#6F7C00
ΔE00 3.63
Murky Green
#6C7A0E
ΔE00 4.27
Dark Yellow Green
#728F02
ΔE00 4.42
Olive
#808000
ΔE00 4.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#77851B #291B85
analogous
#855E1B #77851B #42851B
triadic
#77851B #1B7785 #851B77
tetradic
#77851B #1B855E #291B85 #851B42
square
#77851B #1B855E #291B85 #851B42
split-complementary
#77851B #1B4285 #5E1B85
monochromatic
#1C1F06 #495211 #77851B #A5B825 #C5D942
Accessibility & contrast
On white
4.07
#77851B on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.16
#77851B on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #77851B
5.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##77851B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##77851B | 1.00 | 4.07 | 5.16 | 5.16 |
| #FFFFFF | 4.07 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.16 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.16 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8F7D00
Deuteranopia (green-blind)
#8D7E25
Tritanopia (blue-blind)
#7F7D71
Achromatopsia (no color)
#7E7E7E
Design tokens & code
CSS
--color: #77851b; /* rgb */ color: rgb(119, 133, 27); /* oklch */ color: oklch(58.6% 0.125 117.2);
Tailwind
colors: {
custom: {
50: '#a1a861',
500: '#77851b',
950: '#000000',
},
}SCSS
$custom: #77851b; $custom-light: #a1a861; $custom-dark: #000000;
JSON
{
"hex": "#77851b",
"rgb": {
"r": 119,
"g": 133,
"b": 27
},
"hsl": {
"h": 67.925,
"s": 66.25,
"l": 31.373
},
"oklch": {
"l": 0.5858,
"c": 0.12538,
"h": 117.2
},
"luminance": 0.20776
}Semantic roles & 50–950 ramp
primary
#77851B
secondary
#5344B8
accent
#3FE955
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F0F05
muted
#7F7F7A