#797A1D#797A1D
#797A1D is a mid, moderate yellow. Relative luminance 0.181; OKLCH L 56.1% C 0.111 H 110.1°. Best body text is #000000 at 4.61:1 contrast (WCAG AA passes).
Color values
| HEX | #797A1D |
|---|---|
| RGB | rgb(121, 122, 29) |
| HSL | hsl(61, 62%, 30%) |
| HSV | hsv(61, 76%, 48%) |
| CMYK | cmyk(0.8%, 0%, 76.2%, 52.2%) |
| CIE-LAB | lab(49.58, -12.09, 47.39) |
| CIE-LCH | lch(49.58, 48.91, 104.31°) |
| OKLab | oklab(56.12% -0.0382 0.1043) |
| OKLCH | oklch(56.12% 0.111 110.1) |
| XYZ | xyz(15.0670, 18.0732, 3.8569) |
| Luminance | 0.1807 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive (survey)
#6E750E
ΔE00 3.01
Poop Green
#6F7C00
ΔE00 3.62
Olive
#808000
ΔE00 3.64
Shit Green
#758000
ΔE00 3.72
Murky Green
#6C7A0E
ΔE00 3.75
Olive Drab
#6F7632
ΔE00 4.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#797A1D #1E1D7A
analogous
#7A4D1D #797A1D #4B7A1D
triadic
#797A1D #1D797A #7A1D79
tetradic
#797A1D #1D7A4D #1E1D7A #7A1D4B
square
#797A1D #1D7A4D #1E1D7A #7A1D4B
split-complementary
#797A1D #1D4B7A #4D1D7A
monochromatic
#191906 #484911 #797A1D #AAAB29 #D0D240
Accessibility & contrast
On white
4.55
#797A1D on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.61
#797A1D on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #797A1D
4.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##797A1D | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##797A1D | 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)
#847409
Deuteranopia (green-blind)
#857724
Tritanopia (blue-blind)
#827268
Achromatopsia (no color)
#767676
Design tokens & code
CSS
--color: #797a1d; /* rgb */ color: rgb(121, 122, 29); /* oklch */ color: oklch(56.1% 0.111 110.1);
Tailwind
colors: {
custom: {
50: '#a3a061',
500: '#797a1d',
950: '#000000',
},
}SCSS
$custom: #797a1d; $custom-light: #a3a061; $custom-dark: #000000;
JSON
{
"hex": "#797a1d",
"rgb": {
"r": 121,
"g": 122,
"b": 29
},
"hsl": {
"h": 60.645,
"s": 61.589,
"l": 29.608
},
"oklch": {
"l": 0.56124,
"c": 0.11113,
"h": 110.1
},
"luminance": 0.18073
}Semantic roles & 50–950 ramp
primary
#797A1D
secondary
#4645AE
accent
#43E545
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#0F0E05
muted
#7F7E79