#797E2E#797E2E
#797E2E is a mid, moderate yellow. Relative luminance 0.192; OKLCH L 57.2% C 0.103 H 112.6°. Best body text is #000000 at 4.84:1 contrast (WCAG AA passes).
Color values
| HEX | #797E2E |
|---|---|
| RGB | rgb(121, 126, 46) |
| HSL | hsl(64, 47%, 34%) |
| HSV | hsv(64, 63%, 49%) |
| CMYK | cmyk(4%, 0%, 63.5%, 50.6%) |
| CIE-LAB | lab(50.90, -13.22, 41.63) |
| CIE-LCH | lch(50.90, 43.68, 107.62°) |
| OKLab | oklab(57.22% -0.0396 0.0951) |
| OKLCH | oklch(57.22% 0.103 112.6) |
| XYZ | xyz(15.8396, 19.1842, 5.4528) |
| Luminance | 0.1918 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive Drab
#6F7632
ΔE00 3.88
Drab
#828344
ΔE00 3.96
Murky Green
#6C7A0E
ΔE00 4.26
Shit Green
#758000
ΔE00 4.48
Poop Green
#6F7C00
ΔE00 4.53
Olive (survey)
#6E750E
ΔE00 4.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#797E2E #332E7E
analogous
#7E5B2E #797E2E #517E2E
triadic
#797E2E #2E797E #7E2E79
tetradic
#797E2E #2E7E5B #332E7E #7E2E51
square
#797E2E #2E7E5B #332E7E #7E2E51
split-complementary
#797E2E #2E517E #5B2E7E
monochromatic
#23240D #4E511E #797E2E #A4AB3E #BFC561
Accessibility & contrast
On white
4.34
#797E2E on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.84
#797E2E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #797E2E
4.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##797E2E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##797E2E | 1.00 | 4.34 | 4.84 | 4.84 |
| #FFFFFF | 4.34 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.84 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.84 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#877824
Deuteranopia (green-blind)
#877A33
Tritanopia (blue-blind)
#81776D
Achromatopsia (no color)
#797979
Design tokens & code
CSS
--color: #797e2e; /* rgb */ color: rgb(121, 126, 46); /* oklch */ color: oklch(57.2% 0.103 112.6);
Tailwind
colors: {
custom: {
50: '#a2a36b',
500: '#797e2e',
950: '#000000',
},
}SCSS
$custom: #797e2e; $custom-light: #a2a36b; $custom-dark: #000000;
JSON
{
"hex": "#797e2e",
"rgb": {
"r": 121,
"g": 126,
"b": 46
},
"hsl": {
"h": 63.75,
"s": 46.512,
"l": 33.725
},
"oklch": {
"l": 0.57218,
"c": 0.10304,
"h": 112.6
},
"luminance": 0.19184
}Semantic roles & 50–950 ramp
primary
#797E2E
secondary
#615CAC
accent
#52D65A
background
#FAFAF6
surface
#F4F3EB
border
#CECDC6
text
#0F0F07
muted
#7F7F7A