#797C1D#797C1D
#797C1D is a mid, moderate yellow. Relative luminance 0.186; OKLCH L 56.6% C 0.113 H 111.4°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).
Color values
| HEX | #797C1D |
|---|---|
| RGB | rgb(121, 124, 29) |
| HSL | hsl(62, 62%, 30%) |
| HSV | hsv(62, 77%, 49%) |
| CMYK | cmyk(2.4%, 0%, 76.6%, 51.4%) |
| CIE-LAB | lab(50.18, -13.18, 47.95) |
| CIE-LCH | lch(50.18, 49.73, 105.36°) |
| OKLab | oklab(56.6% -0.0413 0.1055) |
| OKLCH | oklch(56.6% 0.113 111.4) |
| XYZ | xyz(15.3151, 18.5694, 3.9396) |
| Luminance | 0.1857 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Shit Green
#758000
ΔE00 3.02
Poop Green
#6F7C00
ΔE00 3.15
Olive (survey)
#6E750E
ΔE00 3.27
Olive
#808000
ΔE00 3.31
Murky Green
#6C7A0E
ΔE00 3.42
Olive Green
#677A04
ΔE00 4.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#797C1D #201D7C
analogous
#7C501D #797C1D #497C1D
triadic
#797C1D #1D797C #7C1D79
tetradic
#797C1D #1D7C50 #201D7C #7C1D49
square
#797C1D #1D7C50 #201D7C #7C1D49
split-complementary
#797C1D #1D497C #501D7C
monochromatic
#181906 #494A11 #797C1D #A9AE29 #CED341
Accessibility & contrast
On white
4.46
#797C1D on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.71
#797C1D on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #797C1D
4.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##797C1D | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##797C1D | 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)
#867608
Deuteranopia (green-blind)
#877925
Tritanopia (blue-blind)
#82746A
Achromatopsia (no color)
#777777
Design tokens & code
CSS
--color: #797c1d; /* rgb */ color: rgb(121, 124, 29); /* oklch */ color: oklch(56.6% 0.113 111.4);
Tailwind
colors: {
custom: {
50: '#a3a161',
500: '#797c1d',
950: '#000000',
},
}SCSS
$custom: #797c1d; $custom-light: #a3a161; $custom-dark: #000000;
JSON
{
"hex": "#797c1d",
"rgb": {
"r": 121,
"g": 124,
"b": 29
},
"hsl": {
"h": 61.895,
"s": 62.092,
"l": 30
},
"oklch": {
"l": 0.56599,
"c": 0.11331,
"h": 111.4
},
"luminance": 0.18569
}Semantic roles & 50–950 ramp
primary
#797C1D
secondary
#4945B0
accent
#43E548
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#0F0E05
muted
#7F7E7A