#797E19#797E19
#797E19 is a mid, moderate yellow. Relative luminance 0.191; OKLCH L 57.1% C 0.118 H 112.5°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).
Color values
| HEX | #797E19 |
|---|---|
| RGB | rgb(121, 126, 25) |
| HSL | hsl(63, 67%, 30%) |
| HSV | hsv(63, 80%, 49%) |
| CMYK | cmyk(4%, 0%, 80.2%, 50.6%) |
| CIE-LAB | lab(50.75, -14.43, 49.85) |
| CIE-LCH | lch(50.75, 51.89, 106.15°) |
| OKLab | oklab(57.05% -0.0451 0.1088) |
| OKLCH | oklch(57.05% 0.118 112.5) |
| XYZ | xyz(15.5220, 19.0572, 3.7803) |
| Luminance | 0.1906 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Shit Green
#758000
ΔE00 2.15
Poop Green
#6F7C00
ΔE00 2.70
Olive
#808000
ΔE00 2.85
Murky Green
#6C7A0E
ΔE00 3.29
Olive (survey)
#6E750E
ΔE00 3.70
Swamp Green
#748500
ΔE00 3.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#797E19 #1E197E
analogous
#7E5019 #797E19 #477E19
triadic
#797E19 #19797E #7E1979
tetradic
#797E19 #197E50 #1E197E #7E1947
square
#797E19 #197E50 #1E197E #7E1947
split-complementary
#797E19 #19477E #50197E
monochromatic
#191A05 #484B0F #797E19 #AAB123 #D0D83A
Accessibility & contrast
On white
4.36
#797E19 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.81
#797E19 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #797E19
4.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##797E19 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##797E19 | 1.00 | 4.36 | 4.81 | 4.81 |
| #FFFFFF | 4.36 | 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)
#887A22
Tritanopia (blue-blind)
#82766B
Achromatopsia (no color)
#797979
Design tokens & code
CSS
--color: #797e19; /* rgb */ color: rgb(121, 126, 25); /* oklch */ color: oklch(57.1% 0.118 112.5);
Tailwind
colors: {
custom: {
50: '#a3a360',
500: '#797e19',
950: '#000000',
},
}SCSS
$custom: #797e19; $custom-light: #a3a360; $custom-dark: #000000;
JSON
{
"hex": "#797e19",
"rgb": {
"r": 121,
"g": 126,
"b": 25
},
"hsl": {
"h": 62.97,
"s": 66.887,
"l": 29.608
},
"oklch": {
"l": 0.57052,
"c": 0.11777,
"h": 112.5
},
"luminance": 0.19057
}Semantic roles & 50–950 ramp
primary
#797E19
secondary
#4641B2
accent
#3EEA47
background
#FAFAF5
surface
#F4F3EA
border
#CECDC6
text
#0F0F05
muted
#7F7F79