#79771B#79771B
#79771B is a mid, moderate yellow. Relative luminance 0.173; OKLCH L 55.4% C 0.109 H 108.2°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).
Color values
| HEX | #79771B |
|---|---|
| RGB | rgb(121, 119, 27) |
| HSL | hsl(59, 64%, 29%) |
| HSV | hsv(59, 78%, 47%) |
| CMYK | cmyk(0%, 1.7%, 77.7%, 52.5%) |
| CIE-LAB | lab(48.68, -10.54, 47.27) |
| CIE-LCH | lch(48.68, 48.43, 102.57°) |
| OKLab | oklab(55.4% -0.0341 0.1037) |
| OKLCH | oklch(55.4% 0.109 108.2) |
| XYZ | xyz(14.6804, 17.3382, 3.6100) |
| Luminance | 0.1734 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive (survey)
#6E750E
ΔE00 3.05
Ugly Brown
#7D7103
ΔE00 3.99
Brown Green
#706C11
ΔE00 4.13
Browny Green
#6F6C0A
ΔE00 4.19
Olive
#808000
ΔE00 4.28
Brownish Green
#6A6E09
ΔE00 4.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#79771B #1B1D79
analogous
#79481B #79771B #4C791B
triadic
#79771B #1B7977 #771B79
tetradic
#79771B #1B7948 #1B1D79 #791B4C
square
#79771B #1B7948 #1B1D79 #791B4C
split-complementary
#79771B #1B4C79 #481B79
monochromatic
#191906 #474610 #79771B #ABA826 #D3D03B
Accessibility & contrast
On white
4.70
#79771B on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.47
#79771B on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #79771B
4.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##79771B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##79771B | 1.00 | 4.70 | 4.47 | 4.70 |
| #FFFFFF | 4.70 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.47 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.70 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#817206
Deuteranopia (green-blind)
#837522
Tritanopia (blue-blind)
#826F66
Achromatopsia (no color)
#747474
Design tokens & code
CSS
--color: #79771b; /* rgb */ color: rgb(121, 119, 27); /* oklch */ color: oklch(55.4% 0.109 108.2);
Tailwind
colors: {
custom: {
50: '#a39e5f',
500: '#79771b',
950: '#000000',
},
}SCSS
$custom: #79771b; $custom-light: #a39e5f; $custom-dark: #000000;
JSON
{
"hex": "#79771b",
"rgb": {
"r": 121,
"g": 119,
"b": 27
},
"hsl": {
"h": 58.723,
"s": 63.514,
"l": 29.02
},
"oklch": {
"l": 0.554,
"c": 0.10916,
"h": 108.2
},
"luminance": 0.17338
}Semantic roles & 50–950 ramp
primary
#79771B
secondary
#4345AD
accent
#45E741
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#0F0E05
muted
#7F7E79