#797E1D#797E1D
#797E1D is a mid, moderate yellow. Relative luminance 0.191; OKLCH L 57.1% C 0.116 H 112.5°. Best body text is #000000 at 4.82:1 contrast (WCAG AA passes).
Color values
| HEX | #797E1D |
|---|---|
| RGB | rgb(121, 126, 29) |
| HSL | hsl(63, 63%, 30%) |
| HSV | hsv(63, 77%, 49%) |
| CMYK | cmyk(4%, 0%, 77%, 50.6%) |
| CIE-LAB | lab(50.78, -14.25, 48.51) |
| CIE-LCH | lch(50.78, 50.56, 106.37°) |
| OKLab | oklab(57.08% -0.0443 0.1067) |
| OKLCH | oklch(57.08% 0.116 112.5) |
| XYZ | xyz(15.5683, 19.0757, 4.0240) |
| Luminance | 0.1908 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Shit Green
#758000
ΔE00 2.45
Poop Green
#6F7C00
ΔE00 2.89
Olive
#808000
ΔE00 3.18
Murky Green
#6C7A0E
ΔE00 3.31
Olive (survey)
#6E750E
ΔE00 3.73
Swamp Green
#748500
ΔE00 3.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#797E1D #221D7E
analogous
#7E521D #797E1D #487E1D
triadic
#797E1D #1D797E #7E1D79
tetradic
#797E1D #1D7E52 #221D7E #7E1D48
square
#797E1D #1D7E52 #221D7E #7E1D48
split-complementary
#797E1D #1D487E #521D7E
monochromatic
#191B06 #494C12 #797E1D #A9B028 #CCD342
Accessibility & contrast
On white
4.36
#797E1D on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.82
#797E1D on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #797E1D
4.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##797E1D | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##797E1D | 1.00 | 4.36 | 4.82 | 4.82 |
| #FFFFFF | 4.36 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.82 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.82 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#887807
Deuteranopia (green-blind)
#887A25
Tritanopia (blue-blind)
#82766C
Achromatopsia (no color)
#797979
Design tokens & code
CSS
--color: #797e1d; /* rgb */ color: rgb(121, 126, 29); /* oklch */ color: oklch(57.1% 0.116 112.5);
Tailwind
colors: {
custom: {
50: '#a3a361',
500: '#797e1d',
950: '#000000',
},
}SCSS
$custom: #797e1d; $custom-light: #a3a361; $custom-dark: #000000;
JSON
{
"hex": "#797e1d",
"rgb": {
"r": 121,
"g": 126,
"b": 29
},
"hsl": {
"h": 63.093,
"s": 62.581,
"l": 30.392
},
"oklch": {
"l": 0.57076,
"c": 0.11553,
"h": 112.5
},
"luminance": 0.19075
}Semantic roles & 50–950 ramp
primary
#797E1D
secondary
#4B45B1
accent
#42E64B
background
#FAFAF6
surface
#F4F3EB
border
#CECDC6
text
#0F0F05
muted
#7F7F7A