#797930#797930
#797930 is a mid, moderate yellow. Relative luminance 0.180; OKLCH L 56.1% C 0.095 H 109.1°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).
Color values
| HEX | #797930 |
|---|---|
| RGB | rgb(121, 121, 48) |
| HSL | hsl(60, 43%, 33%) |
| HSV | hsv(60, 60%, 47%) |
| CMYK | cmyk(0%, 0%, 60.3%, 52.5%) |
| CIE-LAB | lab(49.44, -10.33, 39.09) |
| CIE-LCH | lch(49.44, 40.43, 104.81°) |
| OKLab | oklab(56.06% -0.0312 0.09) |
| OKLCH | oklch(56.06% 0.095 109.1) |
| XYZ | xyz(15.2565, 17.9535, 5.4574) |
| Luminance | 0.1795 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive Drab
#6F7632
ΔE00 3.03
Drab
#828344
ΔE00 4.44
Olive (survey)
#6E750E
ΔE00 4.49
Murky Green
#6C7A0E
ΔE00 5.22
Brown Green
#706C11
ΔE00 5.67
Poop Green
#6F7C00
ΔE00 5.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#797930 #303079
analogous
#795430 #797930 #547930
triadic
#797930 #307979 #793079
tetradic
#797930 #307954 #303079 #793054
square
#797930 #307954 #303079 #793054
split-complementary
#797930 #305479 #543079
monochromatic
#21210D #4D4D1F #797930 #A5A541 #C1C162
Accessibility & contrast
On white
4.57
#797930 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.59
#797930 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #797930
4.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##797930 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##797930 | 1.00 | 4.57 | 4.59 | 4.59 |
| #FFFFFF | 4.57 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.59 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.59 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#827428
Deuteranopia (green-blind)
#837734
Tritanopia (blue-blind)
#817269
Achromatopsia (no color)
#767676
Design tokens & code
CSS
--color: #797930; /* rgb */ color: rgb(121, 121, 48); /* oklch */ color: oklch(56.1% 0.095 109.1);
Tailwind
colors: {
custom: {
50: '#a29f6b',
500: '#797930',
950: '#000000',
},
}SCSS
$custom: #797930; $custom-light: #a29f6b; $custom-dark: #000000;
JSON
{
"hex": "#797930",
"rgb": {
"r": 121,
"g": 121,
"b": 48
},
"hsl": {
"h": 60,
"s": 43.195,
"l": 33.137
},
"oklch": {
"l": 0.56056,
"c": 0.09527,
"h": 109.1
},
"luminance": 0.17953
}Semantic roles & 50–950 ramp
primary
#797930
secondary
#5D5DA8
accent
#55D355
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#0F0E07
muted
#7F7E7A