#797C13#797C13
#797C13 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 | #797C13 |
|---|---|
| RGB | rgb(121, 124, 19) |
| HSL | hsl(62, 73%, 28%) |
| HSV | hsv(62, 85%, 49%) |
| CMYK | cmyk(2.4%, 0%, 84.7%, 51.4%) |
| CIE-LAB | lab(50.13, -13.58, 51.09) |
| CIE-LCH | lch(50.13, 52.87, 104.89°) |
| OKLab | oklab(56.54% -0.0432 0.1103) |
| OKLCH | oklch(56.54% 0.118 111.4) |
| XYZ | xyz(15.2109, 18.5277, 3.3909) |
| Luminance | 0.1853 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Shit Green
#758000
ΔE00 2.51
Olive
#808000
ΔE00 2.59
Poop Green
#6F7C00
ΔE00 2.82
Olive (survey)
#6E750E
ΔE00 3.28
Murky Green
#6C7A0E
ΔE00 3.45
Swamp Green
#748500
ΔE00 4.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#797C13 #16137C
analogous
#7C4A13 #797C13 #447C13
triadic
#797C13 #13797C #7C1379
tetradic
#797C13 #137C4A #16137C #7C1344
square
#797C13 #137C4A #16137C #7C1344
split-complementary
#797C13 #13447C #4A137C
monochromatic
#1A1B04 #45470B #797C13 #ADB11B #D9DF2B
Accessibility & contrast
On white
4.46
#797C13 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.71
#797C13 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #797C13
4.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##797C13 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##797C13 | 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: #797c13; /* rgb */ color: rgb(121, 124, 19); /* oklch */ color: oklch(56.5% 0.118 111.4);
Tailwind
colors: {
custom: {
50: '#a3a15d',
500: '#797c13',
950: '#000000',
},
}SCSS
$custom: #797c13; $custom-light: #a3a15d; $custom-dark: #000000;
JSON
{
"hex": "#797c13",
"rgb": {
"r": 121,
"g": 124,
"b": 19
},
"hsl": {
"h": 61.714,
"s": 73.427,
"l": 28.039
},
"oklch": {
"l": 0.56544,
"c": 0.11848,
"h": 111.4
},
"luminance": 0.18527
}Semantic roles & 50–950 ramp
primary
#797C13
secondary
#3D39B2
accent
#38F03D
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100E05
muted
#7F7E79