#797F2E#797F2E
#797F2E is a mid, moderate yellow. Relative luminance 0.194; OKLCH L 57.5% C 0.104 H 113.2°. Best body text is #000000 at 4.89:1 contrast (WCAG AA passes).
Color values
| HEX | #797F2E |
|---|---|
| RGB | rgb(121, 127, 46) |
| HSL | hsl(64, 47%, 34%) |
| HSV | hsv(64, 64%, 50%) |
| CMYK | cmyk(4.7%, 0%, 63.8%, 50.2%) |
| CIE-LAB | lab(51.20, -13.76, 41.95) |
| CIE-LCH | lch(51.20, 44.15, 108.16°) |
| OKLab | oklab(57.46% -0.0411 0.0958) |
| OKLCH | oklch(57.46% 0.104 113.2) |
| XYZ | xyz(15.9681, 19.4413, 5.4956) |
| Luminance | 0.1944 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Drab
#828344
ΔE00 3.95
Olive Drab
#6F7632
ΔE00 4.14
Murky Green
#6C7A0E
ΔE00 4.24
Shit Green
#758000
ΔE00 4.33
Poop Green
#6F7C00
ΔE00 4.47
Khaki Green
#728639
ΔE00 4.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#797F2E #342E7F
analogous
#7F5D2E #797F2E #517F2E
triadic
#797F2E #2E797F #7F2E79
tetradic
#797F2E #2E7F5D #342E7F #7F2E51
square
#797F2E #2E7F5D #342E7F #7F2E51
split-complementary
#797F2E #2E517F #5D2E7F
monochromatic
#23250D #4E521E #797F2E #A4AC3E #BEC661
Accessibility & contrast
On white
4.30
#797F2E on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.89
#797F2E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #797F2E
4.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##797F2E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##797F2E | 1.00 | 4.30 | 4.89 | 4.89 |
| #FFFFFF | 4.30 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.89 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.89 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#887924
Deuteranopia (green-blind)
#887B33
Tritanopia (blue-blind)
#81786E
Achromatopsia (no color)
#7A7A7A
Design tokens & code
CSS
--color: #797f2e; /* rgb */ color: rgb(121, 127, 46); /* oklch */ color: oklch(57.5% 0.104 113.2);
Tailwind
colors: {
custom: {
50: '#a2a46b',
500: '#797f2e',
950: '#000000',
},
}SCSS
$custom: #797f2e; $custom-light: #a2a46b; $custom-dark: #000000;
JSON
{
"hex": "#797f2e",
"rgb": {
"r": 121,
"g": 127,
"b": 46
},
"hsl": {
"h": 64.444,
"s": 46.821,
"l": 33.922
},
"oklch": {
"l": 0.57456,
"c": 0.10425,
"h": 113.2
},
"luminance": 0.19441
}Semantic roles & 50–950 ramp
primary
#797F2E
secondary
#625CAD
accent
#51D65B
background
#FAFAF6
surface
#F4F3EB
border
#CECDC6
text
#0F0F07
muted
#7F7F7A