#79811F#79811F
#79811F is a mid, moderate yellow. Relative luminance 0.199; OKLCH L 57.8% C 0.118 H 114.2°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).
Color values
| HEX | #79811F |
|---|---|
| RGB | rgb(121, 129, 31) |
| HSL | hsl(65, 61%, 31%) |
| HSV | hsv(65, 76%, 51%) |
| CMYK | cmyk(6.2%, 0%, 76%, 49.4%) |
| CIE-LAB | lab(51.68, -15.76, 48.65) |
| CIE-LCH | lch(51.68, 51.14, 107.95°) |
| OKLab | oklab(57.81% -0.0483 0.1074) |
| OKLCH | oklch(57.81% 0.118 114.2) |
| XYZ | xyz(15.9832, 19.8647, 4.2884) |
| Luminance | 0.1986 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Shit Green
#758000
ΔE00 2.23
Swamp Green
#748500
ΔE00 3.06
Poop Green
#6F7C00
ΔE00 3.07
Olive
#808000
ΔE00 3.56
Murky Green
#6C7A0E
ΔE00 3.58
Olive Green
#677A04
ΔE00 4.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#79811F #271F81
analogous
#81581F #79811F #48811F
triadic
#79811F #1F7981 #811F79
tetradic
#79811F #1F8158 #271F81 #811F48
square
#79811F #1F8158 #271F81 #811F48
split-complementary
#79811F #1F4881 #581F81
monochromatic
#1C1E07 #4B5013 #79811F #A7B22B #C8D347
Accessibility & contrast
On white
4.22
#79811F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.97
#79811F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #79811F
4.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##79811F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##79811F | 1.00 | 4.22 | 4.97 | 4.97 |
| #FFFFFF | 4.22 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.97 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.97 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8B7A0A
Deuteranopia (green-blind)
#8A7C27
Tritanopia (blue-blind)
#81796E
Achromatopsia (no color)
#7B7B7B
Design tokens & code
CSS
--color: #79811f; /* rgb */ color: rgb(121, 129, 31); /* oklch */ color: oklch(57.8% 0.118 114.2);
Tailwind
colors: {
custom: {
50: '#a3a563',
500: '#79811f',
950: '#000000',
},
}SCSS
$custom: #79811f; $custom-light: #a3a563; $custom-dark: #000000;
JSON
{
"hex": "#79811f",
"rgb": {
"r": 121,
"g": 129,
"b": 31
},
"hsl": {
"h": 64.898,
"s": 61.25,
"l": 31.373
},
"oklch": {
"l": 0.57808,
"c": 0.11773,
"h": 114.2
},
"luminance": 0.19864
}Semantic roles & 50–950 ramp
primary
#79811F
secondary
#5148B4
accent
#43E451
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F0F06
muted
#7F7F7A