#797E1E#797E1E
#797E1E is a mid, moderate yellow. Relative luminance 0.191; OKLCH L 57.1% C 0.115 H 112.5°. Best body text is #000000 at 4.82:1 contrast (WCAG AA passes).
Color values
| HEX | #797E1E |
|---|---|
| RGB | rgb(121, 126, 30) |
| HSL | hsl(63, 62%, 31%) |
| HSV | hsv(63, 76%, 49%) |
| CMYK | cmyk(4%, 0%, 76.2%, 50.6%) |
| CIE-LAB | lab(50.78, -14.21, 48.16) |
| CIE-LCH | lch(50.78, 50.21, 106.44°) |
| OKLab | oklab(57.08% -0.044 0.1062) |
| OKLCH | oklch(57.08% 0.115 112.5) |
| XYZ | xyz(15.5809, 19.0808, 4.0902) |
| Luminance | 0.1908 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Shit Green
#758000
ΔE00 2.54
Poop Green
#6F7C00
ΔE00 2.95
Olive
#808000
ΔE00 3.27
Murky Green
#6C7A0E
ΔE00 3.32
Olive (survey)
#6E750E
ΔE00 3.74
Swamp Green
#748500
ΔE00 4.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#797E1E #231E7E
analogous
#7E531E #797E1E #497E1E
triadic
#797E1E #1E797E #7E1E79
tetradic
#797E1E #1E7E53 #231E7E #7E1E49
square
#797E1E #1E7E53 #231E7E #7E1E49
split-complementary
#797E1E #1E497E #531E7E
monochromatic
#1A1B06 #4A4D12 #797E1E #A8AF2A #CBD244
Accessibility & contrast
On white
4.36
#797E1E on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.82
#797E1E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #797E1E
4.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##797E1E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##797E1E | 1.00 | 4.36 | 4.82 | 4.82 |
| #FFFFFF | 4.36 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.82 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.82 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#887809
Deuteranopia (green-blind)
#887A26
Tritanopia (blue-blind)
#82766C
Achromatopsia (no color)
#797979
Design tokens & code
CSS
--color: #797e1e; /* rgb */ color: rgb(121, 126, 30); /* oklch */ color: oklch(57.1% 0.115 112.5);
Tailwind
colors: {
custom: {
50: '#a3a362',
500: '#797e1e',
950: '#000000',
},
}SCSS
$custom: #797e1e; $custom-light: #a3a362; $custom-dark: #000000;
JSON
{
"hex": "#797e1e",
"rgb": {
"r": 121,
"g": 126,
"b": 30
},
"hsl": {
"h": 63.125,
"s": 61.538,
"l": 30.588
},
"oklch": {
"l": 0.57083,
"c": 0.11493,
"h": 112.5
},
"luminance": 0.1908
}Semantic roles & 50–950 ramp
primary
#797E1E
secondary
#4C47B1
accent
#43E54C
background
#FAFAF6
surface
#F4F3EB
border
#CECDC6
text
#0F0F05
muted
#7F7F7A