#797A2C#797A2C
#797A2C is a mid, moderate yellow. Relative luminance 0.182; OKLCH L 56.2% C 0.100 H 109.9°. Best body text is #000000 at 4.63:1 contrast (WCAG AA passes).
Color values
| HEX | #797A2C |
|---|---|
| RGB | rgb(121, 122, 44) |
| HSL | hsl(61, 47%, 33%) |
| HSV | hsv(61, 64%, 48%) |
| CMYK | cmyk(0.8%, 0%, 63.9%, 52.2%) |
| CIE-LAB | lab(49.70, -11.19, 41.26) |
| CIE-LCH | lch(49.70, 42.75, 105.17°) |
| OKLab | oklab(56.25% -0.0341 0.0941) |
| OKLCH | oklch(56.25% 0.1 109.9) |
| XYZ | xyz(15.2998, 18.1663, 5.0829) |
| Luminance | 0.1817 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive Drab
#6F7632
ΔE00 3.39
Olive (survey)
#6E750E
ΔE00 3.98
Murky Green
#6C7A0E
ΔE00 4.57
Drab
#828344
ΔE00 4.62
Poop Green
#6F7C00
ΔE00 4.93
Shit Green
#758000
ΔE00 5.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#797A2C #2D2C7A
analogous
#7A542C #797A2C #527A2C
triadic
#797A2C #2C797A #7A2C79
tetradic
#797A2C #2C7A54 #2D2C7A #7A2C52
square
#797A2C #2C7A54 #2D2C7A #7A2C52
split-complementary
#797A2C #2C527A #542C7A
monochromatic
#20200C #4C4D1C #797A2C #A6A73C #C3C45C
Accessibility & contrast
On white
4.53
#797A2C on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.63
#797A2C on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #797A2C
4.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##797A2C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##797A2C | 1.00 | 4.53 | 4.63 | 4.63 |
| #FFFFFF | 4.53 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.63 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.63 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#837522
Deuteranopia (green-blind)
#847731
Tritanopia (blue-blind)
#81736A
Achromatopsia (no color)
#767676
Design tokens & code
CSS
--color: #797a2c; /* rgb */ color: rgb(121, 122, 44); /* oklch */ color: oklch(56.2% 0.100 109.9);
Tailwind
colors: {
custom: {
50: '#a2a069',
500: '#797a2c',
950: '#000000',
},
}SCSS
$custom: #797a2c; $custom-light: #a2a069; $custom-dark: #000000;
JSON
{
"hex": "#797a2c",
"rgb": {
"r": 121,
"g": 122,
"b": 44
},
"hsl": {
"h": 60.769,
"s": 46.988,
"l": 32.549
},
"oklch": {
"l": 0.56249,
"c": 0.10003,
"h": 109.9
},
"luminance": 0.18166
}Semantic roles & 50–950 ramp
primary
#797A2C
secondary
#5857AA
accent
#51D753
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#0F0E06
muted
#7F7E7A