#79842E#79842E
#79842E is a mid, moderate yellow. Relative luminance 0.208; OKLCH L 58.7% C 0.110 H 116.1°. Best body text is #000000 at 5.15:1 contrast (WCAG AA passes).
Color values
| HEX | #79842E |
|---|---|
| RGB | rgb(121, 132, 46) |
| HSL | hsl(68, 48%, 35%) |
| HSV | hsv(68, 65%, 52%) |
| CMYK | cmyk(8.3%, 0%, 65.2%, 48.2%) |
| CIE-LAB | lab(52.69, -16.43, 43.55) |
| CIE-LCH | lch(52.69, 46.54, 110.67°) |
| OKLab | oklab(58.65% -0.0486 0.0992) |
| OKLCH | oklch(58.65% 0.11 116.1) |
| XYZ | xyz(16.6299, 20.7650, 5.7162) |
| Luminance | 0.2077 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Khaki Green
#728639
ΔE00 3.23
Swamp Green
#748500
ΔE00 4.08
Shit Green
#758000
ΔE00 4.20
Drab
#828344
ΔE00 4.51
Poop Green
#6F7C00
ΔE00 4.78
Murky Green
#6C7A0E
ΔE00 4.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#79842E #392E84
analogous
#84642E #79842E #4E842E
triadic
#79842E #2E7984 #842E79
tetradic
#79842E #2E8464 #392E84 #842E4E
square
#79842E #2E8464 #392E84 #842E4E
split-complementary
#79842E #2E4E84 #642E84
monochromatic
#26290E #4F571E #79842E #A3B13E #BCC964
Accessibility & contrast
On white
4.08
#79842E on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.15
#79842E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #79842E
5.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##79842E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##79842E | 1.00 | 4.08 | 5.15 | 5.15 |
| #FFFFFF | 4.08 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.15 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.15 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8D7D23
Deuteranopia (green-blind)
#8C7E34
Tritanopia (blue-blind)
#807D72
Achromatopsia (no color)
#7E7E7E
Design tokens & code
CSS
--color: #79842e; /* rgb */ color: rgb(121, 132, 46); /* oklch */ color: oklch(58.7% 0.110 116.1);
Tailwind
colors: {
custom: {
50: '#a2a76b',
500: '#79842e',
950: '#000000',
},
}SCSS
$custom: #79842e; $custom-light: #a2a76b; $custom-dark: #000000;
JSON
{
"hex": "#79842e",
"rgb": {
"r": 121,
"g": 132,
"b": 46
},
"hsl": {
"h": 67.674,
"s": 48.315,
"l": 34.902
},
"oklch": {
"l": 0.58651,
"c": 0.11045,
"h": 116.1
},
"luminance": 0.20765
}Semantic roles & 50–950 ramp
primary
#79842E
secondary
#695EB0
accent
#50D861
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F0F07
muted
#7F7F7A