#797A23#797A23
#797A23 is a mid, moderate yellow. Relative luminance 0.181; OKLCH L 56.2% C 0.107 H 110.1°. Best body text is #000000 at 4.62:1 contrast (WCAG AA passes).
Color values
| HEX | #797A23 |
|---|---|
| RGB | rgb(121, 122, 35) |
| HSL | hsl(61, 55%, 31%) |
| HSV | hsv(61, 71%, 48%) |
| CMYK | cmyk(0.8%, 0%, 71.3%, 52.2%) |
| CIE-LAB | lab(49.62, -11.77, 45.11) |
| CIE-LCH | lch(49.62, 46.62, 104.63°) |
| OKLab | oklab(56.17% -0.0367 0.1007) |
| OKLCH | oklch(56.17% 0.107 110.1) |
| XYZ | xyz(15.1486, 18.1058, 4.2866) |
| Luminance | 0.1810 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive (survey)
#6E750E
ΔE00 3.24
Murky Green
#6C7A0E
ΔE00 3.93
Poop Green
#6F7C00
ΔE00 4.02
Shit Green
#758000
ΔE00 4.18
Olive
#808000
ΔE00 4.22
Olive Drab
#6F7632
ΔE00 4.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#797A23 #24237A
analogous
#7A4F23 #797A23 #4D7A23
triadic
#797A23 #23797A #7A2379
tetradic
#797A23 #237A4F #24237A #7A234D
square
#797A23 #237A4F #24237A #7A234D
split-complementary
#797A23 #234D7A #4F237A
monochromatic
#1B1B08 #4A4A15 #797A23 #A8AA31 #CACC4C
Accessibility & contrast
On white
4.54
#797A23 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.62
#797A23 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #797A23
4.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##797A23 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##797A23 | 1.00 | 4.54 | 4.62 | 4.62 |
| #FFFFFF | 4.54 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.62 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.62 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#847515
Deuteranopia (green-blind)
#857729
Tritanopia (blue-blind)
#827269
Achromatopsia (no color)
#767676
Design tokens & code
CSS
--color: #797a23; /* rgb */ color: rgb(121, 122, 35); /* oklch */ color: oklch(56.2% 0.107 110.1);
Tailwind
colors: {
custom: {
50: '#a2a064',
500: '#797a23',
950: '#000000',
},
}SCSS
$custom: #797a23; $custom-light: #a2a064; $custom-dark: #000000;
JSON
{
"hex": "#797a23",
"rgb": {
"r": 121,
"g": 122,
"b": 35
},
"hsl": {
"h": 60.69,
"s": 55.414,
"l": 30.784
},
"oklch": {
"l": 0.56168,
"c": 0.10715,
"h": 110.1
},
"luminance": 0.18105
}Semantic roles & 50–950 ramp
primary
#797A23
secondary
#4D4CAD
accent
#49DF4B
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#0F0E06
muted
#7F7E7A