#798118#798118
#798118 is a mid, vivid yellow. Relative luminance 0.198; OKLCH L 57.8% C 0.122 H 114.1°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).
Color values
| HEX | #798118 |
|---|---|
| RGB | rgb(121, 129, 24) |
| HSL | hsl(65, 69%, 30%) |
| HSV | hsv(65, 81%, 51%) |
| CMYK | cmyk(6.2%, 0%, 81.4%, 49.4%) |
| CIE-LAB | lab(51.65, -16.07, 50.96) |
| CIE-LCH | lch(51.65, 53.44, 107.51°) |
| OKLab | oklab(57.77% -0.0497 0.111) |
| OKLCH | oklch(57.77% 0.122 114.1) |
| XYZ | xyz(15.9008, 19.8317, 3.8543) |
| Luminance | 0.1983 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Shit Green
#758000
ΔE00 1.60
Swamp Green
#748500
ΔE00 2.66
Poop Green
#6F7C00
ΔE00 2.77
Olive
#808000
ΔE00 3.03
Murky Green
#6C7A0E
ΔE00 3.56
Olive Green
#677A04
ΔE00 4.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#798118 #201881
analogous
#815418 #798118 #458118
triadic
#798118 #187981 #811879
tetradic
#798118 #188154 #201881 #811845
square
#798118 #188154 #201881 #811845
split-complementary
#798118 #184581 #541881
monochromatic
#181A05 #494D0E #798118 #A9B522 #CEDA39
Accessibility & contrast
On white
4.23
#798118 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.97
#798118 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #798118
4.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##798118 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##798118 | 1.00 | 4.23 | 4.97 | 4.97 |
| #FFFFFF | 4.23 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.97 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.97 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8B7A00
Deuteranopia (green-blind)
#8B7C22
Tritanopia (blue-blind)
#82796E
Achromatopsia (no color)
#7B7B7B
Design tokens & code
CSS
--color: #798118; /* rgb */ color: rgb(121, 129, 24); /* oklch */ color: oklch(57.8% 0.122 114.1);
Tailwind
colors: {
custom: {
50: '#a3a560',
500: '#798118',
950: '#000000',
},
}SCSS
$custom: #798118; $custom-light: #a3a560; $custom-dark: #000000;
JSON
{
"hex": "#798118",
"rgb": {
"r": 121,
"g": 129,
"b": 24
},
"hsl": {
"h": 64.571,
"s": 68.627,
"l": 30
},
"oklch": {
"l": 0.57766,
"c": 0.12161,
"h": 114.1
},
"luminance": 0.19831
}Semantic roles & 50–950 ramp
primary
#798118
secondary
#4940B5
accent
#3CEB4A
background
#FAFAF5
surface
#F4F4EA
border
#CECEC6
text
#100F05
muted
#7F7F79