#797B1E#797B1E
#797B1E is a mid, moderate yellow. Relative luminance 0.183; OKLCH L 56.4% C 0.112 H 110.7°. Best body text is #000000 at 4.67:1 contrast (WCAG AA passes).
Color values
| HEX | #797B1E |
|---|---|
| RGB | rgb(121, 123, 30) |
| HSL | hsl(61, 61%, 30%) |
| HSV | hsv(61, 76%, 48%) |
| CMYK | cmyk(1.6%, 0%, 75.6%, 51.8%) |
| CIE-LAB | lab(49.89, -12.58, 47.31) |
| CIE-LCH | lch(49.89, 48.96, 104.90°) |
| OKLab | oklab(56.37% -0.0395 0.1044) |
| OKLCH | oklch(56.37% 0.112 110.7) |
| XYZ | xyz(15.2030, 18.3250, 3.9643) |
| Luminance | 0.1832 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive (survey)
#6E750E
ΔE00 3.13
Poop Green
#6F7C00
ΔE00 3.42
Shit Green
#758000
ΔE00 3.43
Olive
#808000
ΔE00 3.54
Murky Green
#6C7A0E
ΔE00 3.58
Olive Green
#677A04
ΔE00 4.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#797B1E #201E7B
analogous
#7B4E1E #797B1E #4B7B1E
triadic
#797B1E #1E797B #7B1E79
tetradic
#797B1E #1E7B4E #201E7B #7B1E4B
square
#797B1E #1E7B4E #201E7B #7B1E4B
split-complementary
#797B1E #1E4B7B #4E1E7B
monochromatic
#181906 #494A12 #797B1E #A9AC2A #CED142
Accessibility & contrast
On white
4.50
#797B1E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.67
#797B1E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #797B1E
4.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##797B1E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##797B1E | 1.00 | 4.50 | 4.67 | 4.67 |
| #FFFFFF | 4.50 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.67 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.67 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#85750B
Deuteranopia (green-blind)
#867825
Tritanopia (blue-blind)
#827369
Achromatopsia (no color)
#777777
Design tokens & code
CSS
--color: #797b1e; /* rgb */ color: rgb(121, 123, 30); /* oklch */ color: oklch(56.4% 0.112 110.7);
Tailwind
colors: {
custom: {
50: '#a3a161',
500: '#797b1e',
950: '#000000',
},
}SCSS
$custom: #797b1e; $custom-light: #a3a161; $custom-dark: #000000;
JSON
{
"hex": "#797b1e",
"rgb": {
"r": 121,
"g": 123,
"b": 30
},
"hsl": {
"h": 61.29,
"s": 60.784,
"l": 30
},
"oklch": {
"l": 0.56368,
"c": 0.11161,
"h": 110.7
},
"luminance": 0.18325
}Semantic roles & 50–950 ramp
primary
#797B1E
secondary
#4946AE
accent
#44E447
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#0F0E05
muted
#7F7E7A