#797C14#797C14
#797C14 is a mid, moderate yellow. Relative luminance 0.185; OKLCH L 56.5% C 0.118 H 111.4°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).
Color values
| HEX | #797C14 |
|---|---|
| RGB | rgb(121, 124, 20) |
| HSL | hsl(62, 72%, 28%) |
| HSV | hsv(62, 84%, 49%) |
| CMYK | cmyk(2.4%, 0%, 83.9%, 51.4%) |
| CIE-LAB | lab(50.13, -13.55, 50.82) |
| CIE-LCH | lch(50.13, 52.59, 104.93°) |
| OKLab | oklab(56.55% -0.0431 0.1099) |
| OKLCH | oklch(56.55% 0.118 111.4) |
| XYZ | xyz(15.2196, 18.5312, 3.4368) |
| Luminance | 0.1853 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Shit Green
#758000
ΔE00 2.54
Olive
#808000
ΔE00 2.64
Poop Green
#6F7C00
ΔE00 2.84
Olive (survey)
#6E750E
ΔE00 3.26
Murky Green
#6C7A0E
ΔE00 3.44
Swamp Green
#748500
ΔE00 4.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#797C14 #17147C
analogous
#7C4B14 #797C14 #457C14
triadic
#797C14 #14797C #7C1479
tetradic
#797C14 #147C4B #17147C #7C1445
square
#797C14 #147C4B #17147C #7C1445
split-complementary
#797C14 #14457C #4B147C
monochromatic
#1A1A04 #46470B #797C14 #ACB11D #D8DD2D
Accessibility & contrast
On white
4.46
#797C14 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.71
#797C14 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #797C14
4.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##797C14 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##797C14 | 1.00 | 4.46 | 4.71 | 4.71 |
| #FFFFFF | 4.46 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.71 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.71 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#867600
Deuteranopia (green-blind)
#87781E
Tritanopia (blue-blind)
#827469
Achromatopsia (no color)
#777777
Design tokens & code
CSS
--color: #797c14; /* rgb */ color: rgb(121, 124, 20); /* oklch */ color: oklch(56.5% 0.118 111.4);
Tailwind
colors: {
custom: {
50: '#a3a15d',
500: '#797c14',
950: '#000000',
},
}SCSS
$custom: #797c14; $custom-light: #a3a15d; $custom-dark: #000000;
JSON
{
"hex": "#797c14",
"rgb": {
"r": 121,
"g": 124,
"b": 20
},
"hsl": {
"h": 61.731,
"s": 72.222,
"l": 28.235
},
"oklch": {
"l": 0.56549,
"c": 0.11805,
"h": 111.4
},
"luminance": 0.18531
}Semantic roles & 50–950 ramp
primary
#797C14
secondary
#3E3AB2
accent
#39EF3E
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100E05
muted
#7F7E79