#797E15#797E15
#797E15 is a mid, moderate yellow. Relative luminance 0.190; OKLCH L 57.0% C 0.120 H 112.5°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).
Color values
| HEX | #797E15 |
|---|---|
| RGB | rgb(121, 126, 21) |
| HSL | hsl(63, 71%, 29%) |
| HSV | hsv(63, 83%, 49%) |
| CMYK | cmyk(4%, 0%, 83.3%, 50.6%) |
| CIE-LAB | lab(50.74, -14.59, 51.05) |
| CIE-LCH | lch(50.74, 53.10, 105.95°) |
| OKLab | oklab(57.03% -0.0459 0.1106) |
| OKLCH | oklch(57.03% 0.12 112.5) |
| XYZ | xyz(15.4819, 19.0412, 3.5691) |
| Luminance | 0.1904 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Shit Green
#758000
ΔE00 1.92
Olive
#808000
ΔE00 2.57
Poop Green
#6F7C00
ΔE00 2.59
Murky Green
#6C7A0E
ΔE00 3.33
Swamp Green
#748500
ΔE00 3.66
Olive (survey)
#6E750E
ΔE00 3.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#797E15 #1A157E
analogous
#7E4F15 #797E15 #457E15
triadic
#797E15 #15797E #7E1579
tetradic
#797E15 #157E4F #1A157E #7E1545
square
#797E15 #157E4F #1A157E #7E1545
split-complementary
#797E15 #15457E #4F157E
monochromatic
#191A04 #474A0C #797E15 #ABB21E #D4DD31
Accessibility & contrast
On white
4.37
#797E15 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.81
#797E15 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #797E15
4.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##797E15 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##797E15 | 1.00 | 4.37 | 4.81 | 4.81 |
| #FFFFFF | 4.37 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.81 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.81 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#887800
Deuteranopia (green-blind)
#887A1F
Tritanopia (blue-blind)
#82766B
Achromatopsia (no color)
#797979
Design tokens & code
CSS
--color: #797e15; /* rgb */ color: rgb(121, 126, 21); /* oklch */ color: oklch(57.0% 0.120 112.5);
Tailwind
colors: {
custom: {
50: '#a3a35e',
500: '#797e15',
950: '#000000',
},
}SCSS
$custom: #797e15; $custom-light: #a3a35e; $custom-dark: #000000;
JSON
{
"hex": "#797e15",
"rgb": {
"r": 121,
"g": 126,
"b": 21
},
"hsl": {
"h": 62.857,
"s": 71.429,
"l": 28.824
},
"oklch": {
"l": 0.57031,
"c": 0.11974,
"h": 112.5
},
"luminance": 0.19041
}Semantic roles & 50–950 ramp
primary
#797E15
secondary
#413CB3
accent
#3AEE42
background
#FAFAF5
surface
#F4F3EA
border
#CECDC6
text
#100F05
muted
#7F7F79