#797E11#797E11
#797E11 is a mid, vivid yellow. Relative luminance 0.190; OKLCH L 57.0% C 0.121 H 112.5°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).
Color values
| HEX | #797E11 |
|---|---|
| RGB | rgb(121, 126, 17) |
| HSL | hsl(63, 76%, 28%) |
| HSV | hsv(63, 87%, 49%) |
| CMYK | cmyk(4%, 0%, 86.5%, 50.6%) |
| CIE-LAB | lab(50.72, -14.72, 52.12) |
| CIE-LCH | lch(50.72, 54.16, 105.77°) |
| OKLab | oklab(57.01% -0.0465 0.1122) |
| OKLCH | oklch(57.01% 0.121 112.5) |
| XYZ | xyz(15.4477, 19.0275, 3.3891) |
| Luminance | 0.1903 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Shit Green
#758000
ΔE00 1.76
Olive
#808000
ΔE00 2.35
Poop Green
#6F7C00
ΔE00 2.54
Murky Green
#6C7A0E
ΔE00 3.40
Swamp Green
#748500
ΔE00 3.59
Olive (survey)
#6E750E
ΔE00 3.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#797E11 #16117E
analogous
#7E4C11 #797E11 #437E11
triadic
#797E11 #11797E #7E1179
tetradic
#797E11 #117E4C #16117E #7E1143
square
#797E11 #117E4C #16117E #7E1143
split-complementary
#797E11 #11437E #4C117E
monochromatic
#1A1B04 #45480A #797E11 #ADB418 #D9E227
Accessibility & contrast
On white
4.37
#797E11 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.81
#797E11 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #797E11
4.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##797E11 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##797E11 | 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)
#897A1D
Tritanopia (blue-blind)
#82766B
Achromatopsia (no color)
#797979
Design tokens & code
CSS
--color: #797e11; /* rgb */ color: rgb(121, 126, 17); /* oklch */ color: oklch(57.0% 0.121 112.5);
Tailwind
colors: {
custom: {
50: '#a3a35c',
500: '#797e11',
950: '#000000',
},
}SCSS
$custom: #797e11; $custom-light: #a3a35c; $custom-dark: #000000;
JSON
{
"hex": "#797e11",
"rgb": {
"r": 121,
"g": 126,
"b": 17
},
"hsl": {
"h": 62.752,
"s": 76.224,
"l": 28.039
},
"oklch": {
"l": 0.57013,
"c": 0.12144,
"h": 112.5
},
"luminance": 0.19027
}Semantic roles & 50–950 ramp
primary
#797E11
secondary
#3D37B4
accent
#35F33E
background
#FAFAF5
surface
#F4F3E9
border
#CECDC5
text
#100F05
muted
#7F7F79