#797B19#797B19
#797B19 is a mid, moderate yellow. Relative luminance 0.183; OKLCH L 56.3% C 0.115 H 110.8°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).
Color values
| HEX | #797B19 |
|---|---|
| RGB | rgb(121, 123, 25) |
| HSL | hsl(61, 66%, 29%) |
| HSV | hsv(61, 80%, 48%) |
| CMYK | cmyk(1.6%, 0%, 79.7%, 51.8%) |
| CIE-LAB | lab(49.86, -12.81, 49.04) |
| CIE-LCH | lch(49.86, 50.69, 104.64°) |
| OKLab | oklab(56.34% -0.0406 0.1071) |
| OKLCH | oklch(56.34% 0.115 110.8) |
| XYZ | xyz(15.1441, 18.3015, 3.6543) |
| Luminance | 0.1830 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive (survey)
#6E750E
ΔE00 3.07
Shit Green
#758000
ΔE00 3.12
Olive
#808000
ΔE00 3.12
Poop Green
#6F7C00
ΔE00 3.19
Murky Green
#6C7A0E
ΔE00 3.53
Olive Green
#677A04
ΔE00 4.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#797B19 #1B197B
analogous
#7B4C19 #797B19 #487B19
triadic
#797B19 #19797B #7B1979
tetradic
#797B19 #197B4C #1B197B #7B1948
square
#797B19 #197B4C #1B197B #7B1948
split-complementary
#797B19 #19487B #4C197B
monochromatic
#191905 #47480F #797B19 #ABAE23 #D3D738
Accessibility & contrast
On white
4.51
#797B19 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.66
#797B19 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #797B19
4.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##797B19 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##797B19 | 1.00 | 4.51 | 4.66 | 4.66 |
| #FFFFFF | 4.51 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.66 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.66 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#857500
Deuteranopia (green-blind)
#867822
Tritanopia (blue-blind)
#827369
Achromatopsia (no color)
#777777
Design tokens & code
CSS
--color: #797b19; /* rgb */ color: rgb(121, 123, 25); /* oklch */ color: oklch(56.3% 0.115 110.8);
Tailwind
colors: {
custom: {
50: '#a3a15f',
500: '#797b19',
950: '#000000',
},
}SCSS
$custom: #797b19; $custom-light: #a3a15f; $custom-dark: #000000;
JSON
{
"hex": "#797b19",
"rgb": {
"r": 121,
"g": 123,
"b": 25
},
"hsl": {
"h": 61.224,
"s": 66.216,
"l": 29.02
},
"oklch": {
"l": 0.56336,
"c": 0.11451,
"h": 110.8
},
"luminance": 0.18301
}Semantic roles & 50–950 ramp
primary
#797B19
secondary
#4340AF
accent
#3FE942
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#0F0E05
muted
#7F7E79