#797A20#797A20
#797A20 is a mid, moderate yellow. Relative luminance 0.181; OKLCH L 56.1% C 0.109 H 110.1°. Best body text is #000000 at 4.62:1 contrast (WCAG AA passes).
Color values
| HEX | #797A20 |
|---|---|
| RGB | rgb(121, 122, 32) |
| HSL | hsl(61, 58%, 30%) |
| HSV | hsv(61, 74%, 48%) |
| CMYK | cmyk(0.8%, 0%, 73.8%, 52.2%) |
| CIE-LAB | lab(49.60, -11.94, 46.28) |
| CIE-LCH | lch(49.60, 47.80, 104.46°) |
| OKLab | oklab(56.15% -0.0375 0.1026) |
| OKLCH | oklch(56.15% 0.109 110.1) |
| XYZ | xyz(15.1059, 18.0887, 4.0620) |
| Luminance | 0.1809 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive (survey)
#6E750E
ΔE00 3.10
Poop Green
#6F7C00
ΔE00 3.80
Murky Green
#6C7A0E
ΔE00 3.82
Olive
#808000
ΔE00 3.91
Shit Green
#758000
ΔE00 3.93
Olive Drab
#6F7632
ΔE00 4.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#797A20 #21207A
analogous
#7A4E20 #797A20 #4C7A20
triadic
#797A20 #20797A #7A2079
tetradic
#797A20 #207A4E #21207A #7A204C
square
#797A20 #207A4E #21207A #7A204C
split-complementary
#797A20 #204C7A #4E207A
monochromatic
#191907 #494A13 #797A20 #A9AA2D #CDCE46
Accessibility & contrast
On white
4.55
#797A20 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.62
#797A20 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #797A20
4.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##797A20 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##797A20 | 1.00 | 4.55 | 4.62 | 4.62 |
| #FFFFFF | 4.55 | 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)
#847510
Deuteranopia (green-blind)
#857727
Tritanopia (blue-blind)
#827269
Achromatopsia (no color)
#767676
Design tokens & code
CSS
--color: #797a20; /* rgb */ color: rgb(121, 122, 32); /* oklch */ color: oklch(56.1% 0.109 110.1);
Tailwind
colors: {
custom: {
50: '#a3a062',
500: '#797a20',
950: '#000000',
},
}SCSS
$custom: #797a20; $custom-light: #a3a062; $custom-dark: #000000;
JSON
{
"hex": "#797a20",
"rgb": {
"r": 121,
"g": 122,
"b": 32
},
"hsl": {
"h": 60.667,
"s": 58.442,
"l": 30.196
},
"oklch": {
"l": 0.56145,
"c": 0.10922,
"h": 110.1
},
"luminance": 0.18088
}Semantic roles & 50–950 ramp
primary
#797A20
secondary
#4A49AD
accent
#46E248
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#0F0E05
muted
#7F7E7A