#797D19#797D19
#797D19 is a mid, moderate yellow. Relative luminance 0.188; OKLCH L 56.8% C 0.117 H 112.0°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).
Color values
| HEX | #797D19 |
|---|---|
| RGB | rgb(121, 125, 25) |
| HSL | hsl(62, 67%, 29%) |
| HSV | hsv(62, 80%, 49%) |
| CMYK | cmyk(3.2%, 0%, 80%, 51%) |
| CIE-LAB | lab(50.46, -13.90, 49.58) |
| CIE-LCH | lch(50.46, 51.49, 105.66°) |
| OKLab | oklab(56.81% -0.0436 0.1082) |
| OKLCH | oklch(56.81% 0.117 112) |
| XYZ | xyz(15.3948, 18.8028, 3.7379) |
| Luminance | 0.1880 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Shit Green
#758000
ΔE00 2.44
Poop Green
#6F7C00
ΔE00 2.81
Olive
#808000
ΔE00 2.88
Murky Green
#6C7A0E
ΔE00 3.32
Olive (survey)
#6E750E
ΔE00 3.45
Swamp Green
#748500
ΔE00 4.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#797D19 #1D197D
analogous
#7D4F19 #797D19 #477D19
triadic
#797D19 #19797D #7D1979
tetradic
#797D19 #197D4F #1D197D #7D1947
square
#797D19 #197D4F #1D197D #7D1947
split-complementary
#797D19 #19477D #4F197D
monochromatic
#191A05 #484A0F #797D19 #AAB023 #D1D739
Accessibility & contrast
On white
4.41
#797D19 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.76
#797D19 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #797D19
4.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##797D19 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##797D19 | 1.00 | 4.41 | 4.76 | 4.76 |
| #FFFFFF | 4.41 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.76 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.76 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#877700
Deuteranopia (green-blind)
#887922
Tritanopia (blue-blind)
#82756B
Achromatopsia (no color)
#787878
Design tokens & code
CSS
--color: #797d19; /* rgb */ color: rgb(121, 125, 25); /* oklch */ color: oklch(56.8% 0.117 112.0);
Tailwind
colors: {
custom: {
50: '#a3a25f',
500: '#797d19',
950: '#000000',
},
}SCSS
$custom: #797d19; $custom-light: #a3a25f; $custom-dark: #000000;
JSON
{
"hex": "#797d19",
"rgb": {
"r": 121,
"g": 125,
"b": 25
},
"hsl": {
"h": 62.4,
"s": 66.667,
"l": 29.412
},
"oklch": {
"l": 0.56813,
"c": 0.11667,
"h": 112
},
"luminance": 0.18802
}Semantic roles & 50–950 ramp
primary
#797D19
secondary
#4540B1
accent
#3EEA45
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#0F0F05
muted
#7F7E79