#797B3A#797B3A
#797B3A is a mid, moderate yellow. Relative luminance 0.185; OKLCH L 56.7% C 0.088 H 110.5°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).
Color values
| HEX | #797B3A |
|---|---|
| RGB | rgb(121, 123, 58) |
| HSL | hsl(62, 36%, 35%) |
| HSV | hsv(62, 53%, 48%) |
| CMYK | cmyk(1.6%, 0%, 52.8%, 51.8%) |
| CIE-LAB | lab(50.14, -10.56, 34.88) |
| CIE-LCH | lch(50.14, 36.44, 106.85°) |
| OKLab | oklab(56.65% -0.0307 0.0822) |
| OKLCH | oklch(56.65% 0.088 110.5) |
| XYZ | xyz(15.7322, 18.5367, 6.7514) |
| Luminance | 0.1854 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive Drab
#6F7632
ΔE00 2.86
Drab
#828344
ΔE00 3.25
Muddy Green
#657432
ΔE00 5.42
Khaki Green
#728639
ΔE00 5.82
Olive (survey)
#6E750E
ΔE00 5.95
Military Green
#667C3E
ΔE00 6.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#797B3A #3C3A7B
analogous
#7B5C3A #797B3A #587B3A
triadic
#797B3A #3A797B #7B3A79
tetradic
#797B3A #3A7B5C #3C3A7B #7B3A58
square
#797B3A #3A7B5C #3C3A7B #7B3A58
split-complementary
#797B3A #3A587B #5C3A7B
monochromatic
#272813 #505126 #797B3A #A2A54E #BBBD73
Accessibility & contrast
On white
4.46
#797B3A on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.71
#797B3A on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #797B3A
4.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##797B3A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##797B3A | 1.00 | 4.46 | 4.71 | 4.71 |
| #FFFFFF | 4.46 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.71 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.71 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#847634
Deuteranopia (green-blind)
#84783D
Tritanopia (blue-blind)
#80746C
Achromatopsia (no color)
#777777
Design tokens & code
CSS
--color: #797b3a; /* rgb */ color: rgb(121, 123, 58); /* oklch */ color: oklch(56.7% 0.088 110.5);
Tailwind
colors: {
custom: {
50: '#a1a172',
500: '#797b3a',
950: '#000000',
},
}SCSS
$custom: #797b3a; $custom-light: #a1a172; $custom-dark: #000000;
JSON
{
"hex": "#797b3a",
"rgb": {
"r": 121,
"g": 123,
"b": 58
},
"hsl": {
"h": 61.846,
"s": 35.912,
"l": 35.49
},
"oklch": {
"l": 0.56651,
"c": 0.08771,
"h": 110.5
},
"luminance": 0.18536
}Semantic roles & 50–950 ramp
primary
#797B3A
secondary
#6C6BA6
accent
#5CCC5F
background
#FAF9F7
surface
#F4F2ED
border
#CECCC8
text
#0F0E08
muted
#7F7E7B