#79842B#79842B
#79842B is a mid, moderate yellow. Relative luminance 0.207; OKLCH L 58.6% C 0.113 H 116.0°. Best body text is #000000 at 5.15:1 contrast (WCAG AA passes).
Color values
| HEX | #79842B |
|---|---|
| RGB | rgb(121, 132, 43) |
| HSL | hsl(67, 51%, 34%) |
| HSV | hsv(67, 67%, 52%) |
| CMYK | cmyk(8.3%, 0%, 67.4%, 48.2%) |
| CIE-LAB | lab(52.67, -16.64, 44.84) |
| CIE-LCH | lch(52.67, 47.83, 110.36°) |
| OKLab | oklab(58.62% -0.0495 0.1015) |
| OKLCH | oklch(58.62% 0.113 116) |
| XYZ | xyz(16.5728, 20.7421, 5.4156) |
| Luminance | 0.2074 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Khaki Green
#728639
ΔE00 3.56
Swamp Green
#748500
ΔE00 3.67
Shit Green
#758000
ΔE00 3.79
Poop Green
#6F7C00
ΔE00 4.47
Murky Green
#6C7A0E
ΔE00 4.61
Drab
#828344
ΔE00 4.83
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#79842B #362B84
analogous
#84632B #79842B #4D842B
triadic
#79842B #2B7984 #842B79
tetradic
#79842B #2B8463 #362B84 #842B4D
square
#79842B #2B8463 #362B84 #842B4D
split-complementary
#79842B #2B4D84 #632B84
monochromatic
#24280D #4F561C #79842B #A3B23A #BDCB5F
Accessibility & contrast
On white
4.08
#79842B on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.15
#79842B on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #79842B
5.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##79842B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##79842B | 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)
#8D7D1F
Deuteranopia (green-blind)
#8C7E31
Tritanopia (blue-blind)
#817D72
Achromatopsia (no color)
#7E7E7E
Design tokens & code
CSS
--color: #79842b; /* rgb */ color: rgb(121, 132, 43); /* oklch */ color: oklch(58.6% 0.113 116.0);
Tailwind
colors: {
custom: {
50: '#a2a769',
500: '#79842b',
950: '#000000',
},
}SCSS
$custom: #79842b; $custom-light: #a2a769; $custom-dark: #000000;
JSON
{
"hex": "#79842b",
"rgb": {
"r": 121,
"g": 132,
"b": 43
},
"hsl": {
"h": 67.416,
"s": 50.857,
"l": 34.314
},
"oklch": {
"l": 0.58623,
"c": 0.11289,
"h": 116
},
"luminance": 0.20742
}Semantic roles & 50–950 ramp
primary
#79842B
secondary
#655AB1
accent
#4DDA5F
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F0F07
muted
#7F7F7A