#798818#798818
#798818 is a mid, vivid yellow. Relative luminance 0.217; OKLCH L 59.5% C 0.130 H 117.5°. Best body text is #000000 at 5.35:1 contrast (WCAG AA passes).
Color values
| HEX | #798818 |
|---|---|
| RGB | rgb(121, 136, 24) |
| HSL | hsl(68, 70%, 31%) |
| HSV | hsv(68, 82%, 53%) |
| CMYK | cmyk(11%, 0%, 82.4%, 46.7%) |
| CIE-LAB | lab(53.75, -19.74, 52.83) |
| CIE-LCH | lch(53.75, 56.40, 110.48°) |
| OKLab | oklab(59.46% -0.0598 0.115) |
| OKLCH | oklch(59.46% 0.13 117.5) |
| XYZ | xyz(16.8546, 21.7394, 4.1722) |
| Luminance | 0.2174 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Swamp Green
#748500
ΔE00 1.73
Shit Green
#758000
ΔE00 3.17
Dark Yellow Green
#728F02
ΔE00 3.54
Poop Green
#6F7C00
ΔE00 4.55
Olive
#808000
ΔE00 4.85
Olivedrab
#6B8E23
ΔE00 4.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#798818 #271888
analogous
#885F18 #798818 #418818
triadic
#798818 #187988 #881879
tetradic
#798818 #18885F #271888 #881841
square
#798818 #18885F #271888 #881841
split-complementary
#798818 #184188 #5F1888
monochromatic
#1C2006 #4B540F #798818 #A7BC21 #C8DD3E
Accessibility & contrast
On white
3.93
#798818 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.35
#798818 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #798818
5.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##798818 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##798818 | 1.00 | 3.93 | 5.35 | 5.35 |
| #FFFFFF | 3.93 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.35 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.35 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#928000
Deuteranopia (green-blind)
#908123
Tritanopia (blue-blind)
#818074
Achromatopsia (no color)
#808080
Design tokens & code
CSS
--color: #798818; /* rgb */ color: rgb(121, 136, 24); /* oklch */ color: oklch(59.5% 0.130 117.5);
Tailwind
colors: {
custom: {
50: '#a3aa61',
500: '#798818',
950: '#000000',
},
}SCSS
$custom: #798818; $custom-light: #a3aa61; $custom-dark: #000000;
JSON
{
"hex": "#798818",
"rgb": {
"r": 121,
"g": 136,
"b": 24
},
"hsl": {
"h": 68.036,
"s": 70,
"l": 31.373
},
"oklch": {
"l": 0.59455,
"c": 0.12961,
"h": 117.5
},
"luminance": 0.21739
}Semantic roles & 50–950 ramp
primary
#798818
secondary
#5140BC
accent
#3BED53
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101005
muted
#7F7F7A