#797F11#797F11
#797F11 is a mid, vivid yellow. Relative luminance 0.193; OKLCH L 57.3% C 0.123 H 113.1°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).
Color values
| HEX | #797F11 |
|---|---|
| RGB | rgb(121, 127, 17) |
| HSL | hsl(63, 76%, 28%) |
| HSV | hsv(63, 87%, 50%) |
| CMYK | cmyk(4.7%, 0%, 86.6%, 50.2%) |
| CIE-LAB | lab(51.02, -15.25, 52.37) |
| CIE-LCH | lch(51.02, 54.55, 106.24°) |
| OKLab | oklab(57.25% -0.048 0.1127) |
| OKLCH | oklch(57.25% 0.123 113.1) |
| XYZ | xyz(15.5762, 19.2845, 3.4320) |
| Luminance | 0.1928 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Shit Green
#758000
ΔE00 1.48
Olive
#808000
ΔE00 2.39
Poop Green
#6F7C00
ΔE00 2.51
Swamp Green
#748500
ΔE00 3.21
Murky Green
#6C7A0E
ΔE00 3.43
Olive (survey)
#6E750E
ΔE00 4.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#797F11 #17117F
analogous
#7F4E11 #797F11 #427F11
triadic
#797F11 #11797F #7F1179
tetradic
#797F11 #117F4E #17117F #7F1142
square
#797F11 #117F4E #17117F #7F1142
split-complementary
#797F11 #11427F #4E117F
monochromatic
#1A1B04 #46490A #797F11 #ACB518 #D8E228
Accessibility & contrast
On white
4.32
#797F11 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.86
#797F11 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #797F11
4.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##797F11 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##797F11 | 1.00 | 4.32 | 4.86 | 4.86 |
| #FFFFFF | 4.32 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.86 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.86 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#897800
Deuteranopia (green-blind)
#897B1D
Tritanopia (blue-blind)
#82776C
Achromatopsia (no color)
#797979
Design tokens & code
CSS
--color: #797f11; /* rgb */ color: rgb(121, 127, 17); /* oklch */ color: oklch(57.3% 0.123 113.1);
Tailwind
colors: {
custom: {
50: '#a3a35d',
500: '#797f11',
950: '#000000',
},
}SCSS
$custom: #797f11; $custom-light: #a3a35d; $custom-dark: #000000;
JSON
{
"hex": "#797f11",
"rgb": {
"r": 121,
"g": 127,
"b": 17
},
"hsl": {
"h": 63.273,
"s": 76.389,
"l": 28.235
},
"oklch": {
"l": 0.57253,
"c": 0.12251,
"h": 113.1
},
"luminance": 0.19284
}Semantic roles & 50–950 ramp
primary
#797F11
secondary
#3E37B5
accent
#35F33F
background
#FAFAF5
surface
#F4F3E9
border
#CECDC5
text
#100F05
muted
#7F7F79