#797C3E#797C3E
#797C3E is a mid, moderate yellow. Relative luminance 0.188; OKLCH L 56.9% C 0.085 H 111.3°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).
Color values
| HEX | #797C3E |
|---|---|
| RGB | rgb(121, 124, 62) |
| HSL | hsl(63, 33%, 36%) |
| HSV | hsv(63, 50%, 49%) |
| CMYK | cmyk(2.4%, 0%, 50%, 51.4%) |
| CIE-LAB | lab(50.49, -10.71, 33.20) |
| CIE-LCH | lch(50.49, 34.88, 107.89°) |
| OKLab | oklab(56.94% -0.0307 0.0789) |
| OKLCH | oklch(56.94% 0.085 111.3) |
| XYZ | xyz(15.9626, 18.8284, 7.3498) |
| Luminance | 0.1883 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Drab
#828344
ΔE00 2.93
Olive Drab
#6F7632
ΔE00 3.17
Muddy Green
#657432
ΔE00 5.44
Khaki Green
#728639
ΔE00 5.55
Military Green
#667C3E
ΔE00 5.77
Dirty Green
#667E2C
ΔE00 6.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#797C3E #413E7C
analogous
#7C603E #797C3E #5A7C3E
triadic
#797C3E #3E797C #7C3E79
tetradic
#797C3E #3E7C60 #413E7C #7C3E5A
square
#797C3E #3E7C60 #413E7C #7C3E5A
split-complementary
#797C3E #3E5A7C #603E7C
monochromatic
#292A15 #51532A #797C3E #A1A552 #B9BC79
Accessibility & contrast
On white
4.41
#797C3E on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.77
#797C3E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #797C3E
4.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##797C3E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##797C3E | 1.00 | 4.41 | 4.77 | 4.77 |
| #FFFFFF | 4.41 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.77 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.77 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#847739
Deuteranopia (green-blind)
#857941
Tritanopia (blue-blind)
#80766E
Achromatopsia (no color)
#787878
Design tokens & code
CSS
--color: #797c3e; /* rgb */ color: rgb(121, 124, 62); /* oklch */ color: oklch(56.9% 0.085 111.3);
Tailwind
colors: {
custom: {
50: '#a1a175',
500: '#797c3e',
950: '#000000',
},
}SCSS
$custom: #797c3e; $custom-light: #a1a175; $custom-dark: #000000;
JSON
{
"hex": "#797c3e",
"rgb": {
"r": 121,
"g": 124,
"b": 62
},
"hsl": {
"h": 62.903,
"s": 33.333,
"l": 36.471
},
"oklch": {
"l": 0.56942,
"c": 0.08465,
"h": 111.3
},
"luminance": 0.18828
}Semantic roles & 50–950 ramp
primary
#797C3E
secondary
#7270A6
accent
#5EC964
background
#FAF9F7
surface
#F3F2ED
border
#CDCCC8
text
#0F0F08
muted
#7F7E7B