#797E14#797E14
#797E14 is a mid, vivid yellow. Relative luminance 0.190; OKLCH L 57.0% C 0.120 H 112.5°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).
Color values
| HEX | #797E14 |
|---|---|
| RGB | rgb(121, 126, 20) |
| HSL | hsl(63, 73%, 29%) |
| HSV | hsv(63, 84%, 49%) |
| CMYK | cmyk(4%, 0%, 84.1%, 50.6%) |
| CIE-LAB | lab(50.73, -14.62, 51.33) |
| CIE-LCH | lch(50.73, 53.38, 105.90°) |
| OKLab | oklab(57.03% -0.046 0.111) |
| OKLCH | oklch(57.03% 0.12 112.5) |
| XYZ | xyz(15.4728, 19.0375, 3.5212) |
| Luminance | 0.1904 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Shit Green
#758000
ΔE00 1.87
Olive
#808000
ΔE00 2.51
Poop Green
#6F7C00
ΔE00 2.57
Murky Green
#6C7A0E
ΔE00 3.34
Swamp Green
#748500
ΔE00 3.64
Olive (survey)
#6E750E
ΔE00 3.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#797E14 #19147E
analogous
#7E4E14 #797E14 #447E14
triadic
#797E14 #14797E #7E1479
tetradic
#797E14 #147E4E #19147E #7E1444
square
#797E14 #147E4E #19147E #7E1444
split-complementary
#797E14 #14447E #4E147E
monochromatic
#191A04 #46490C #797E14 #ACB31C #D6DE2E
Accessibility & contrast
On white
4.37
#797E14 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.81
#797E14 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #797E14
4.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##797E14 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##797E14 | 1.00 | 4.37 | 4.81 | 4.81 |
| #FFFFFF | 4.37 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.81 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.81 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#887800
Deuteranopia (green-blind)
#897A1F
Tritanopia (blue-blind)
#82766B
Achromatopsia (no color)
#797979
Design tokens & code
CSS
--color: #797e14; /* rgb */ color: rgb(121, 126, 20); /* oklch */ color: oklch(57.0% 0.120 112.5);
Tailwind
colors: {
custom: {
50: '#a3a35e',
500: '#797e14',
950: '#000000',
},
}SCSS
$custom: #797e14; $custom-light: #a3a35e; $custom-dark: #000000;
JSON
{
"hex": "#797e14",
"rgb": {
"r": 121,
"g": 126,
"b": 20
},
"hsl": {
"h": 62.83,
"s": 72.603,
"l": 28.627
},
"oklch": {
"l": 0.57027,
"c": 0.12019,
"h": 112.5
},
"luminance": 0.19037
}Semantic roles & 50–950 ramp
primary
#797E14
secondary
#403AB3
accent
#38EF41
background
#FAFAF5
surface
#F4F3E9
border
#CECDC5
text
#100F05
muted
#7F7F79