#79811A#79811A
#79811A is a mid, vivid yellow. Relative luminance 0.198; OKLCH L 57.8% C 0.121 H 114.2°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).
Color values
| HEX | #79811A |
|---|---|
| RGB | rgb(121, 129, 26) |
| HSL | hsl(65, 66%, 30%) |
| HSV | hsv(65, 80%, 51%) |
| CMYK | cmyk(6.2%, 0%, 79.8%, 49.4%) |
| CIE-LAB | lab(51.66, -15.99, 50.34) |
| CIE-LCH | lch(51.66, 52.82, 107.62°) |
| OKLab | oklab(57.78% -0.0494 0.11) |
| OKLCH | oklch(57.78% 0.121 114.2) |
| XYZ | xyz(15.9224, 19.8404, 3.9679) |
| Luminance | 0.1984 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Shit Green
#758000
ΔE00 1.76
Swamp Green
#748500
ΔE00 2.75
Poop Green
#6F7C00
ΔE00 2.84
Olive
#808000
ΔE00 3.17
Murky Green
#6C7A0E
ΔE00 3.55
Olive Green
#677A04
ΔE00 4.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#79811A #221A81
analogous
#81551A #79811A #45811A
triadic
#79811A #1A7981 #811A79
tetradic
#79811A #1A8155 #221A81 #811A45
square
#79811A #1A8155 #221A81 #811A45
split-complementary
#79811A #1A4581 #551A81
monochromatic
#191B05 #494E10 #79811A #A9B424 #CCD83D
Accessibility & contrast
On white
4.23
#79811A on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.97
#79811A on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #79811A
4.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##79811A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##79811A | 1.00 | 4.23 | 4.97 | 4.97 |
| #FFFFFF | 4.23 | 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)
#8B7A00
Deuteranopia (green-blind)
#8B7C23
Tritanopia (blue-blind)
#81796E
Achromatopsia (no color)
#7B7B7B
Design tokens & code
CSS
--color: #79811a; /* rgb */ color: rgb(121, 129, 26); /* oklch */ color: oklch(57.8% 0.121 114.2);
Tailwind
colors: {
custom: {
50: '#a3a560',
500: '#79811a',
950: '#000000',
},
}SCSS
$custom: #79811a; $custom-light: #a3a560; $custom-dark: #000000;
JSON
{
"hex": "#79811a",
"rgb": {
"r": 121,
"g": 129,
"b": 26
},
"hsl": {
"h": 64.66,
"s": 66.452,
"l": 30.392
},
"oklch": {
"l": 0.57777,
"c": 0.12059,
"h": 114.2
},
"luminance": 0.1984
}Semantic roles & 50–950 ramp
primary
#79811A
secondary
#4B42B5
accent
#3EE94C
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F0F05
muted
#7F7F7A