#798730#798730
#798730 is a mid, moderate yellow. Relative luminance 0.216; OKLCH L 59.4% C 0.113 H 117.7°. Best body text is #000000 at 5.32:1 contrast (WCAG AA passes).
Color values
| HEX | #798730 |
|---|---|
| RGB | rgb(121, 135, 48) |
| HSL | hsl(70, 48%, 36%) |
| HSV | hsv(70, 64%, 53%) |
| CMYK | cmyk(10.4%, 0%, 64.4%, 47.1%) |
| CIE-LAB | lab(53.61, -17.86, 43.63) |
| CIE-LCH | lch(53.61, 47.14, 112.26°) |
| OKLab | oklab(59.39% -0.0524 0.0997) |
| OKLCH | oklch(59.39% 0.113 117.7) |
| XYZ | xyz(17.0829, 21.6065, 6.0663) |
| Luminance | 0.2161 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Khaki Green
#728639
ΔE00 2.72
Swamp Green
#748500
ΔE00 4.18
Shit Green
#758000
ΔE00 4.84
Swamp
#698339
ΔE00 4.86
Olivedrab
#6B8E23
ΔE00 4.88
Drab
#828344
ΔE00 4.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#798730 #3E3087
analogous
#876930 #798730 #4D8730
triadic
#798730 #307987 #873079
tetradic
#798730 #308769 #3E3087 #87304D
square
#798730 #308769 #3E3087 #87304D
split-complementary
#798730 #304D87 #693087
monochromatic
#282D10 #515A20 #798730 #A1B440 #BAC968
Accessibility & contrast
On white
3.95
#798730 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.32
#798730 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #798730
5.32:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##798730 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##798730 | 1.00 | 3.95 | 5.32 | 5.32 |
| #FFFFFF | 3.95 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.32 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.32 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#908025
Deuteranopia (green-blind)
#8E8136
Tritanopia (blue-blind)
#808075
Achromatopsia (no color)
#808080
Design tokens & code
CSS
--color: #798730; /* rgb */ color: rgb(121, 135, 48); /* oklch */ color: oklch(59.4% 0.113 117.7);
Tailwind
colors: {
custom: {
50: '#a2a96d',
500: '#798730',
950: '#000000',
},
}SCSS
$custom: #798730; $custom-light: #a2a96d; $custom-dark: #000000;
JSON
{
"hex": "#798730",
"rgb": {
"r": 121,
"g": 135,
"b": 48
},
"hsl": {
"h": 69.655,
"s": 47.541,
"l": 35.882
},
"oklch": {
"l": 0.59391,
"c": 0.11258,
"h": 117.7
},
"luminance": 0.21606
}Semantic roles & 50–950 ramp
primary
#798730
secondary
#6F62B1
accent
#51D766
background
#FAFAF6
surface
#F4F4EC
border
#CECEC7
text
#0F1007
muted
#7F7F7A