#797A2B#797A2B
#797A2B is a mid, moderate yellow. Relative luminance 0.182; OKLCH L 56.2% C 0.101 H 109.9°. Best body text is #000000 at 4.63:1 contrast (WCAG AA passes).
Color values
| HEX | #797A2B |
|---|---|
| RGB | rgb(121, 122, 43) |
| HSL | hsl(61, 48%, 32%) |
| HSV | hsv(61, 65%, 48%) |
| CMYK | cmyk(0.8%, 0%, 64.8%, 52.2%) |
| CIE-LAB | lab(49.69, -11.26, 41.71) |
| CIE-LCH | lch(49.69, 43.20, 105.11°) |
| OKLab | oklab(56.24% -0.0344 0.0948) |
| OKLCH | oklch(56.24% 0.101 109.9) |
| XYZ | xyz(15.2812, 18.1588, 4.9851) |
| Luminance | 0.1816 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive Drab
#6F7632
ΔE00 3.48
Olive (survey)
#6E750E
ΔE00 3.87
Murky Green
#6C7A0E
ΔE00 4.47
Drab
#828344
ΔE00 4.72
Poop Green
#6F7C00
ΔE00 4.81
Shit Green
#758000
ΔE00 5.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#797A2B #2C2B7A
analogous
#7A532B #797A2B #527A2B
triadic
#797A2B #2B797A #7A2B79
tetradic
#797A2B #2B7A53 #2C2B7A #7A2B52
square
#797A2B #2B7A53 #2C2B7A #7A2B52
split-complementary
#797A2B #2B527A #532B7A
monochromatic
#1F1F0B #4C4D1B #797A2B #A6A73B #C4C55A
Accessibility & contrast
On white
4.53
#797A2B on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.63
#797A2B on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #797A2B
4.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##797A2B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##797A2B | 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)
#847521
Deuteranopia (green-blind)
#847730
Tritanopia (blue-blind)
#81726A
Achromatopsia (no color)
#767676
Design tokens & code
CSS
--color: #797a2b; /* rgb */ color: rgb(121, 122, 43); /* oklch */ color: oklch(56.2% 0.101 109.9);
Tailwind
colors: {
custom: {
50: '#a2a068',
500: '#797a2b',
950: '#000000',
},
}SCSS
$custom: #797a2b; $custom-light: #a2a068; $custom-dark: #000000;
JSON
{
"hex": "#797a2b",
"rgb": {
"r": 121,
"g": 122,
"b": 43
},
"hsl": {
"h": 60.759,
"s": 47.879,
"l": 32.353
},
"oklch": {
"l": 0.56239,
"c": 0.10089,
"h": 109.9
},
"luminance": 0.18158
}Semantic roles & 50–950 ramp
primary
#797A2B
secondary
#5756AB
accent
#50D752
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#0F0E06
muted
#7F7E7A