#797E13#797E13
#797E13 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 | #797E13 |
|---|---|
| RGB | rgb(121, 126, 19) |
| HSL | hsl(63, 74%, 28%) |
| HSV | hsv(63, 85%, 49%) |
| CMYK | cmyk(4%, 0%, 84.9%, 50.6%) |
| CIE-LAB | lab(50.73, -14.66, 51.61) |
| CIE-LCH | lch(50.73, 53.65, 105.86°) |
| OKLab | oklab(57.02% -0.0462 0.1114) |
| OKLCH | oklch(57.02% 0.121 112.5) |
| XYZ | xyz(15.4641, 19.0341, 3.4753) |
| Luminance | 0.1903 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Shit Green
#758000
ΔE00 1.83
Olive
#808000
ΔE00 2.46
Poop Green
#6F7C00
ΔE00 2.56
Murky Green
#6C7A0E
ΔE00 3.36
Swamp Green
#748500
ΔE00 3.62
Olive (survey)
#6E750E
ΔE00 3.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#797E13 #18137E
analogous
#7E4D13 #797E13 #437E13
triadic
#797E13 #13797E #7E1379
tetradic
#797E13 #137E4D #18137E #7E1343
square
#797E13 #137E4D #18137E #7E1343
split-complementary
#797E13 #13437E #4D137E
monochromatic
#1A1B04 #46490B #797E13 #ACB31B #D7DF2C
Accessibility & contrast
On white
4.37
#797E13 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.81
#797E13 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #797E13
4.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##797E13 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##797E13 | 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)
#897A1E
Tritanopia (blue-blind)
#82766B
Achromatopsia (no color)
#797979
Design tokens & code
CSS
--color: #797e13; /* rgb */ color: rgb(121, 126, 19); /* oklch */ color: oklch(57.0% 0.121 112.5);
Tailwind
colors: {
custom: {
50: '#a3a35d',
500: '#797e13',
950: '#000000',
},
}SCSS
$custom: #797e13; $custom-light: #a3a35d; $custom-dark: #000000;
JSON
{
"hex": "#797e13",
"rgb": {
"r": 121,
"g": 126,
"b": 19
},
"hsl": {
"h": 62.804,
"s": 73.793,
"l": 28.431
},
"oklch": {
"l": 0.57022,
"c": 0.12062,
"h": 112.5
},
"luminance": 0.19034
}Semantic roles & 50–950 ramp
primary
#797E13
secondary
#3F39B4
accent
#37F040
background
#FAFAF5
surface
#F4F3E9
border
#CECDC5
text
#100F05
muted
#7F7F79