#797A1C#797A1C
#797A1C is a mid, moderate yellow. Relative luminance 0.181; OKLCH L 56.1% C 0.112 H 110.1°. Best body text is #000000 at 4.61:1 contrast (WCAG AA passes).
Color values
| HEX | #797A1C |
|---|---|
| RGB | rgb(121, 122, 28) |
| HSL | hsl(61, 63%, 29%) |
| HSV | hsv(61, 77%, 48%) |
| CMYK | cmyk(0.8%, 0%, 77%, 52.2%) |
| CIE-LAB | lab(49.58, -12.14, 47.75) |
| CIE-LCH | lch(49.58, 49.27, 104.26°) |
| OKLab | oklab(56.12% -0.0385 0.1049) |
| OKLCH | oklch(56.12% 0.112 110.1) |
| XYZ | xyz(15.0548, 18.0683, 3.7929) |
| Luminance | 0.1807 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive (survey)
#6E750E
ΔE00 2.99
Olive
#808000
ΔE00 3.55
Poop Green
#6F7C00
ΔE00 3.57
Shit Green
#758000
ΔE00 3.66
Murky Green
#6C7A0E
ΔE00 3.74
Brownish Green
#6A6E09
ΔE00 4.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#797A1C #1D1C7A
analogous
#7A4C1C #797A1C #4A7A1C
triadic
#797A1C #1C797A #7A1C79
tetradic
#797A1C #1C7A4C #1D1C7A #7A1C4A
square
#797A1C #1C7A4C #1D1C7A #7A1C4A
split-complementary
#797A1C #1C4A7A #4C1C7A
monochromatic
#191906 #484811 #797A1C #AAAC27 #D1D33E
Accessibility & contrast
On white
4.55
#797A1C on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.61
#797A1C on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #797A1C
4.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##797A1C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##797A1C | 1.00 | 4.55 | 4.61 | 4.61 |
| #FFFFFF | 4.55 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.61 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.61 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#847407
Deuteranopia (green-blind)
#857724
Tritanopia (blue-blind)
#827268
Achromatopsia (no color)
#767676
Design tokens & code
CSS
--color: #797a1c; /* rgb */ color: rgb(121, 122, 28); /* oklch */ color: oklch(56.1% 0.112 110.1);
Tailwind
colors: {
custom: {
50: '#a3a060',
500: '#797a1c',
950: '#000000',
},
}SCSS
$custom: #797a1c; $custom-light: #a3a060; $custom-dark: #000000;
JSON
{
"hex": "#797a1c",
"rgb": {
"r": 121,
"g": 122,
"b": 28
},
"hsl": {
"h": 60.638,
"s": 62.667,
"l": 29.412
},
"oklch": {
"l": 0.56117,
"c": 0.11173,
"h": 110.1
},
"luminance": 0.18068
}Semantic roles & 50–950 ramp
primary
#797A1C
secondary
#4544AE
accent
#42E644
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#0F0E05
muted
#7F7E79