#798119#798119
#798119 is a mid, vivid yellow. Relative luminance 0.198; OKLCH L 57.8% C 0.121 H 114.2°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).
Color values
| HEX | #798119 |
|---|---|
| RGB | rgb(121, 129, 25) |
| HSL | hsl(65, 68%, 30%) |
| HSV | hsv(65, 81%, 51%) |
| CMYK | cmyk(6.2%, 0%, 80.6%, 49.4%) |
| CIE-LAB | lab(51.65, -16.03, 50.66) |
| CIE-LCH | lch(51.65, 53.13, 107.56°) |
| OKLab | oklab(57.77% -0.0496 0.1105) |
| OKLCH | oklch(57.77% 0.121 114.2) |
| XYZ | xyz(15.9114, 19.8360, 3.9101) |
| Luminance | 0.1984 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Shit Green
#758000
ΔE00 1.68
Swamp Green
#748500
ΔE00 2.71
Poop Green
#6F7C00
ΔE00 2.80
Olive
#808000
ΔE00 3.10
Murky Green
#6C7A0E
ΔE00 3.55
Olive Green
#677A04
ΔE00 4.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#798119 #211981
analogous
#815519 #798119 #458119
triadic
#798119 #197981 #811979
tetradic
#798119 #198155 #211981 #811945
square
#798119 #198155 #211981 #811945
split-complementary
#798119 #194581 #551981
monochromatic
#191A05 #494E0F #798119 #A9B423 #CDD93B
Accessibility & contrast
On white
4.23
#798119 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.97
#798119 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #798119
4.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##798119 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##798119 | 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)
#8B7C23
Tritanopia (blue-blind)
#82796E
Achromatopsia (no color)
#7B7B7B
Design tokens & code
CSS
--color: #798119; /* rgb */ color: rgb(121, 129, 25); /* oklch */ color: oklch(57.8% 0.121 114.2);
Tailwind
colors: {
custom: {
50: '#a3a560',
500: '#798119',
950: '#000000',
},
}SCSS
$custom: #798119; $custom-light: #a3a560; $custom-dark: #000000;
JSON
{
"hex": "#798119",
"rgb": {
"r": 121,
"g": 129,
"b": 25
},
"hsl": {
"h": 64.615,
"s": 67.532,
"l": 30.196
},
"oklch": {
"l": 0.57771,
"c": 0.12111,
"h": 114.2
},
"luminance": 0.19836
}Semantic roles & 50–950 ramp
primary
#798119
secondary
#4A41B5
accent
#3DEA4B
background
#FAFAF5
surface
#F4F4EA
border
#CECEC6
text
#0F0F05
muted
#7F7F79