#797C19#797C19
#797C19 is a mid, moderate yellow. Relative luminance 0.185; OKLCH L 56.6% C 0.116 H 111.4°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).
Color values
| HEX | #797C19 |
|---|---|
| RGB | rgb(121, 124, 25) |
| HSL | hsl(62, 66%, 29%) |
| HSV | hsv(62, 80%, 49%) |
| CMYK | cmyk(2.4%, 0%, 79.8%, 51.4%) |
| CIE-LAB | lab(50.16, -13.36, 49.31) |
| CIE-LCH | lch(50.16, 51.08, 105.16°) |
| OKLab | oklab(56.58% -0.0421 0.1076) |
| OKLCH | oklch(56.58% 0.116 111.4) |
| XYZ | xyz(15.2688, 18.5508, 3.6959) |
| Luminance | 0.1855 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Shit Green
#758000
ΔE00 2.77
Poop Green
#6F7C00
ΔE00 2.97
Olive
#808000
ΔE00 2.98
Olive (survey)
#6E750E
ΔE00 3.23
Murky Green
#6C7A0E
ΔE00 3.40
Swamp Green
#748500
ΔE00 4.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#797C19 #1C197C
analogous
#7C4E19 #797C19 #487C19
triadic
#797C19 #19797C #7C1979
tetradic
#797C19 #197C4E #1C197C #7C1948
square
#797C19 #197C4E #1C197C #7C1948
split-complementary
#797C19 #19487C #4E197C
monochromatic
#191905 #47490F #797C19 #ABAF23 #D2D738
Accessibility & contrast
On white
4.46
#797C19 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.71
#797C19 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #797C19
4.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##797C19 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##797C19 | 1.00 | 4.46 | 4.71 | 4.71 |
| #FFFFFF | 4.46 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.71 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.71 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#867600
Deuteranopia (green-blind)
#877922
Tritanopia (blue-blind)
#82746A
Achromatopsia (no color)
#777777
Design tokens & code
CSS
--color: #797c19; /* rgb */ color: rgb(121, 124, 25); /* oklch */ color: oklch(56.6% 0.116 111.4);
Tailwind
colors: {
custom: {
50: '#a3a15f',
500: '#797c19',
950: '#000000',
},
}SCSS
$custom: #797c19; $custom-light: #a3a15f; $custom-dark: #000000;
JSON
{
"hex": "#797c19",
"rgb": {
"r": 121,
"g": 124,
"b": 25
},
"hsl": {
"h": 61.818,
"s": 66.443,
"l": 29.216
},
"oklch": {
"l": 0.56575,
"c": 0.11559,
"h": 111.4
},
"luminance": 0.1855
}Semantic roles & 50–950 ramp
primary
#797C19
secondary
#4440B0
accent
#3EE944
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#0F0E05
muted
#7F7E79