#797C22#797C22
#797C22 is a mid, moderate yellow. Relative luminance 0.186; OKLCH L 56.6% C 0.110 H 111.3°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).
Color values
| HEX | #797C22 |
|---|---|
| RGB | rgb(121, 124, 34) |
| HSL | hsl(62, 57%, 31%) |
| HSV | hsv(62, 73%, 49%) |
| CMYK | cmyk(2.4%, 0%, 72.6%, 51.4%) |
| CIE-LAB | lab(50.21, -12.92, 46.09) |
| CIE-LCH | lch(50.21, 47.87, 105.66°) |
| OKLab | oklab(56.64% -0.04 0.1025) |
| OKLCH | oklch(56.64% 0.11 111.3) |
| XYZ | xyz(15.3820, 18.5961, 4.2922) |
| Luminance | 0.1860 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive (survey)
#6E750E
ΔE00 3.41
Shit Green
#758000
ΔE00 3.45
Poop Green
#6F7C00
ΔE00 3.49
Murky Green
#6C7A0E
ΔE00 3.55
Olive
#808000
ΔE00 3.80
Olive Drab
#6F7632
ΔE00 4.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#797C22 #25227C
analogous
#7C5222 #797C22 #4C7C22
triadic
#797C22 #22797C #7C2279
tetradic
#797C22 #227C52 #25227C #7C224C
square
#797C22 #227C52 #25227C #7C224C
split-complementary
#797C22 #224C7C #52227C
monochromatic
#1B1C08 #4A4C15 #797C22 #A8AC2F #C9CE4B
Accessibility & contrast
On white
4.45
#797C22 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.72
#797C22 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #797C22
4.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##797C22 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##797C22 | 1.00 | 4.45 | 4.72 | 4.72 |
| #FFFFFF | 4.45 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.72 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.72 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#867613
Deuteranopia (green-blind)
#867929
Tritanopia (blue-blind)
#82746A
Achromatopsia (no color)
#777777
Design tokens & code
CSS
--color: #797c22; /* rgb */ color: rgb(121, 124, 34); /* oklch */ color: oklch(56.6% 0.110 111.3);
Tailwind
colors: {
custom: {
50: '#a3a164',
500: '#797c22',
950: '#000000',
},
}SCSS
$custom: #797c22; $custom-light: #a3a164; $custom-dark: #000000;
JSON
{
"hex": "#797c22",
"rgb": {
"r": 121,
"g": 124,
"b": 34
},
"hsl": {
"h": 62,
"s": 56.962,
"l": 30.98
},
"oklch": {
"l": 0.56635,
"c": 0.11008,
"h": 111.3
},
"luminance": 0.18596
}Semantic roles & 50–950 ramp
primary
#797C22
secondary
#4E4BAF
accent
#48E04D
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#0F0F06
muted
#7F7E7A