#797C12#797C12
#797C12 is a mid, moderate yellow. Relative luminance 0.185; OKLCH L 56.5% C 0.119 H 111.4°. Best body text is #000000 at 4.70:1 contrast (WCAG AA passes).
Color values
| HEX | #797C12 |
|---|---|
| RGB | rgb(121, 124, 18) |
| HSL | hsl(62, 75%, 28%) |
| HSV | hsv(62, 85%, 49%) |
| CMYK | cmyk(2.4%, 0%, 85.5%, 51.4%) |
| CIE-LAB | lab(50.13, -13.61, 51.36) |
| CIE-LCH | lch(50.13, 53.13, 104.85°) |
| OKLab | oklab(56.54% -0.0434 0.1107) |
| OKLCH | oklch(56.54% 0.119 111.4) |
| XYZ | xyz(15.2025, 18.5243, 3.3469) |
| Luminance | 0.1852 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Shit Green
#758000
ΔE00 2.48
Olive
#808000
ΔE00 2.54
Poop Green
#6F7C00
ΔE00 2.81
Olive (survey)
#6E750E
ΔE00 3.29
Murky Green
#6C7A0E
ΔE00 3.47
Swamp Green
#748500
ΔE00 4.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#797C12 #15127C
analogous
#7C4A12 #797C12 #447C12
triadic
#797C12 #12797C #7C1279
tetradic
#797C12 #127C4A #15127C #7C1244
square
#797C12 #127C4A #15127C #7C1244
split-complementary
#797C12 #12447C #4A127C
monochromatic
#1A1B04 #45470A #797C12 #ADB11A #DBE029
Accessibility & contrast
On white
4.46
#797C12 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.70
#797C12 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #797C12
4.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##797C12 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##797C12 | 1.00 | 4.46 | 4.70 | 4.70 |
| #FFFFFF | 4.46 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.70 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.70 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#867600
Deuteranopia (green-blind)
#87781D
Tritanopia (blue-blind)
#827469
Achromatopsia (no color)
#777777
Design tokens & code
CSS
--color: #797c12; /* rgb */ color: rgb(121, 124, 18); /* oklch */ color: oklch(56.5% 0.119 111.4);
Tailwind
colors: {
custom: {
50: '#a3a15c',
500: '#797c12',
950: '#000000',
},
}SCSS
$custom: #797c12; $custom-light: #a3a15c; $custom-dark: #000000;
JSON
{
"hex": "#797c12",
"rgb": {
"r": 121,
"g": 124,
"b": 18
},
"hsl": {
"h": 61.698,
"s": 74.648,
"l": 27.843
},
"oklch": {
"l": 0.56539,
"c": 0.1189,
"h": 111.4
},
"luminance": 0.18524
}Semantic roles & 50–950 ramp
primary
#797C12
secondary
#3B38B2
accent
#37F13C
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100E05
muted
#7F7E79