#798415#798415
#798415 is a mid, vivid yellow. Relative luminance 0.206; OKLCH L 58.5% C 0.126 H 115.6°. Best body text is #000000 at 5.12:1 contrast (WCAG AA passes).
Color values
| HEX | #798415 |
|---|---|
| RGB | rgb(121, 132, 21) |
| HSL | hsl(66, 73%, 30%) |
| HSV | hsv(66, 84%, 52%) |
| CMYK | cmyk(8.3%, 0%, 84.1%, 48.2%) |
| CIE-LAB | lab(52.53, -17.77, 52.62) |
| CIE-LCH | lch(52.53, 55.53, 108.66°) |
| OKLab | oklab(58.47% -0.0546 0.114) |
| OKLCH | oklch(58.47% 0.126 115.6) |
| XYZ | xyz(16.2723, 20.6219, 3.8325) |
| Luminance | 0.2062 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Swamp Green
#748500
ΔE00 1.69
Shit Green
#758000
ΔE00 1.82
Poop Green
#6F7C00
ΔE00 3.32
Olive
#808000
ΔE00 3.55
Murky Green
#6C7A0E
ΔE00 4.22
Olive Green
#677A04
ΔE00 4.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#798415 #201584
analogous
#845815 #798415 #418415
triadic
#798415 #157984 #841579
tetradic
#798415 #158458 #201584 #841541
square
#798415 #158458 #201584 #841541
split-complementary
#798415 #154184 #581584
monochromatic
#181A04 #494F0D #798415 #A9B91D #CEDF35
Accessibility & contrast
On white
4.10
#798415 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.12
#798415 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #798415
5.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##798415 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##798415 | 1.00 | 4.10 | 5.12 | 5.12 |
| #FFFFFF | 4.10 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.12 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.12 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8E7D00
Deuteranopia (green-blind)
#8D7E21
Tritanopia (blue-blind)
#817C70
Achromatopsia (no color)
#7D7D7D
Design tokens & code
CSS
--color: #798415; /* rgb */ color: rgb(121, 132, 21); /* oklch */ color: oklch(58.5% 0.126 115.6);
Tailwind
colors: {
custom: {
50: '#a3a75f',
500: '#798415',
950: '#000000',
},
}SCSS
$custom: #798415; $custom-light: #a3a75f; $custom-dark: #000000;
JSON
{
"hex": "#798415",
"rgb": {
"r": 121,
"g": 132,
"b": 21
},
"hsl": {
"h": 65.946,
"s": 72.549,
"l": 30
},
"oklch": {
"l": 0.58474,
"c": 0.12638,
"h": 115.6
},
"luminance": 0.20622
}Semantic roles & 50–950 ramp
primary
#798415
secondary
#493CB9
accent
#39EF4B
background
#FAFAF5
surface
#F4F4EA
border
#CECEC6
text
#100F05
muted
#7F7F79