#798013#798013
#798013 is a mid, vivid yellow. Relative luminance 0.196; OKLCH L 57.5% C 0.123 H 113.6°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).
Color values
| HEX | #798013 |
|---|---|
| RGB | rgb(121, 128, 19) |
| HSL | hsl(64, 74%, 29%) |
| HSV | hsv(64, 85%, 50%) |
| CMYK | cmyk(5.5%, 0%, 85.2%, 49.8%) |
| CIE-LAB | lab(51.33, -15.72, 52.12) |
| CIE-LCH | lch(51.33, 54.44, 106.79°) |
| OKLab | oklab(57.5% -0.0492 0.1125) |
| OKLCH | oklch(57.5% 0.123 113.6) |
| XYZ | xyz(15.7224, 19.5507, 3.5614) |
| Luminance | 0.1955 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Shit Green
#758000
ΔE00 1.37
Poop Green
#6F7C00
ΔE00 2.57
Olive
#808000
ΔE00 2.60
Swamp Green
#748500
ΔE00 2.86
Murky Green
#6C7A0E
ΔE00 3.48
Olive (survey)
#6E750E
ΔE00 4.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#798013 #1A1380
analogous
#805113 #798013 #438013
triadic
#798013 #137980 #801379
tetradic
#798013 #138051 #1A1380 #801343
square
#798013 #138051 #1A1380 #801343
split-complementary
#798013 #134380 #511380
monochromatic
#191B04 #474B0B #798013 #ABB51B #D4E02D
Accessibility & contrast
On white
4.28
#798013 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.91
#798013 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #798013
4.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##798013 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##798013 | 1.00 | 4.28 | 4.91 | 4.91 |
| #FFFFFF | 4.28 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.91 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.91 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8A7900
Deuteranopia (green-blind)
#8A7B1E
Tritanopia (blue-blind)
#82786D
Achromatopsia (no color)
#7A7A7A
Design tokens & code
CSS
--color: #798013; /* rgb */ color: rgb(121, 128, 19); /* oklch */ color: oklch(57.5% 0.123 113.6);
Tailwind
colors: {
custom: {
50: '#a3a45d',
500: '#798013',
950: '#000000',
},
}SCSS
$custom: #798013; $custom-light: #a3a45d; $custom-dark: #000000;
JSON
{
"hex": "#798013",
"rgb": {
"r": 121,
"g": 128,
"b": 19
},
"hsl": {
"h": 63.853,
"s": 74.15,
"l": 28.824
},
"oklch": {
"l": 0.57502,
"c": 0.12279,
"h": 113.6
},
"luminance": 0.1955
}Semantic roles & 50–950 ramp
primary
#798013
secondary
#4139B5
accent
#37F143
background
#FAFAF5
surface
#F4F4E9
border
#CECEC5
text
#100F05
muted
#7F7F79