#797A2E#797A2E
#797A2E is a mid, moderate yellow. Relative luminance 0.182; OKLCH L 56.3% C 0.098 H 109.9°. Best body text is #000000 at 4.64:1 contrast (WCAG AA passes).
Color values
| HEX | #797A2E |
|---|---|
| RGB | rgb(121, 122, 46) |
| HSL | hsl(61, 45%, 33%) |
| HSV | hsv(61, 62%, 48%) |
| CMYK | cmyk(0.8%, 0%, 62.3%, 52.2%) |
| CIE-LAB | lab(49.72, -11.04, 40.34) |
| CIE-LCH | lch(49.72, 41.83, 105.30°) |
| OKLab | oklab(56.27% -0.0334 0.0924) |
| OKLCH | oklch(56.27% 0.098 109.9) |
| XYZ | xyz(15.3383, 18.1817, 5.2857) |
| Luminance | 0.1818 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive Drab
#6F7632
ΔE00 3.21
Olive (survey)
#6E750E
ΔE00 4.21
Drab
#828344
ΔE00 4.41
Murky Green
#6C7A0E
ΔE00 4.77
Poop Green
#6F7C00
ΔE00 5.19
Shit Green
#758000
ΔE00 5.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#797A2E #2F2E7A
analogous
#7A552E #797A2E #537A2E
triadic
#797A2E #2E797A #7A2E79
tetradic
#797A2E #2E7A55 #2F2E7A #7A2E53
square
#797A2E #2E7A55 #2F2E7A #7A2E53
split-complementary
#797A2E #2E537A #552E7A
monochromatic
#21210C #4D4E1D #797A2E #A5A63F #C2C360
Accessibility & contrast
On white
4.53
#797A2E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.64
#797A2E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #797A2E
4.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##797A2E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##797A2E | 1.00 | 4.53 | 4.64 | 4.64 |
| #FFFFFF | 4.53 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.64 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.64 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#837525
Deuteranopia (green-blind)
#847733
Tritanopia (blue-blind)
#81736A
Achromatopsia (no color)
#767676
Design tokens & code
CSS
--color: #797a2e; /* rgb */ color: rgb(121, 122, 46); /* oklch */ color: oklch(56.3% 0.098 109.9);
Tailwind
colors: {
custom: {
50: '#a2a06a',
500: '#797a2e',
950: '#000000',
},
}SCSS
$custom: #797a2e; $custom-light: #a2a06a; $custom-dark: #000000;
JSON
{
"hex": "#797a2e",
"rgb": {
"r": 121,
"g": 122,
"b": 46
},
"hsl": {
"h": 60.789,
"s": 45.238,
"l": 32.941
},
"oklch": {
"l": 0.5627,
"c": 0.09827,
"h": 109.9
},
"luminance": 0.18181
}Semantic roles & 50–950 ramp
primary
#797A2E
secondary
#5B5AAA
accent
#53D555
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#0F0E07
muted
#7F7E7A