#797F19#797F19
#797F19 is a mid, moderate yellow. Relative luminance 0.193; OKLCH L 57.3% C 0.119 H 113.1°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).
Color values
| HEX | #797F19 |
|---|---|
| RGB | rgb(121, 127, 25) |
| HSL | hsl(64, 67%, 30%) |
| HSV | hsv(64, 80%, 50%) |
| CMYK | cmyk(4.7%, 0%, 80.3%, 50.2%) |
| CIE-LAB | lab(51.05, -14.97, 50.12) |
| CIE-LCH | lch(51.05, 52.30, 106.63°) |
| OKLab | oklab(57.29% -0.0466 0.1094) |
| OKLCH | oklch(57.29% 0.119 113.1) |
| XYZ | xyz(15.6505, 19.3142, 3.8231) |
| Luminance | 0.1931 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Shit Green
#758000
ΔE00 1.91
Poop Green
#6F7C00
ΔE00 2.67
Olive
#808000
ΔE00 2.88
Murky Green
#6C7A0E
ΔE00 3.33
Swamp Green
#748500
ΔE00 3.41
Olive (survey)
#6E750E
ΔE00 3.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#797F19 #1F197F
analogous
#7F5219 #797F19 #467F19
triadic
#797F19 #19797F #7F1979
tetradic
#797F19 #197F52 #1F197F #7F1946
square
#797F19 #197F52 #1F197F #7F1946
split-complementary
#797F19 #19467F #52197F
monochromatic
#181A05 #484C0F #797F19 #AAB223 #CFD83A
Accessibility & contrast
On white
4.32
#797F19 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.86
#797F19 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #797F19
4.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##797F19 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##797F19 | 1.00 | 4.32 | 4.86 | 4.86 |
| #FFFFFF | 4.32 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.86 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.86 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#897900
Deuteranopia (green-blind)
#897B22
Tritanopia (blue-blind)
#82776C
Achromatopsia (no color)
#7A7A7A
Design tokens & code
CSS
--color: #797f19; /* rgb */ color: rgb(121, 127, 25); /* oklch */ color: oklch(57.3% 0.119 113.1);
Tailwind
colors: {
custom: {
50: '#a3a360',
500: '#797f19',
950: '#000000',
},
}SCSS
$custom: #797f19; $custom-light: #a3a360; $custom-dark: #000000;
JSON
{
"hex": "#797f19",
"rgb": {
"r": 121,
"g": 127,
"b": 25
},
"hsl": {
"h": 63.529,
"s": 67.105,
"l": 29.804
},
"oklch": {
"l": 0.57292,
"c": 0.11888,
"h": 113.1
},
"luminance": 0.19314
}Semantic roles & 50–950 ramp
primary
#797F19
secondary
#4741B3
accent
#3EEA48
background
#FAFAF5
surface
#F4F3EA
border
#CECDC6
text
#0F0F05
muted
#7F7F79