#797E10#797E10
#797E10 is a mid, vivid yellow. Relative luminance 0.190; OKLCH L 57.0% C 0.122 H 112.5°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).
Color values
| HEX | #797E10 |
|---|---|
| RGB | rgb(121, 126, 16) |
| HSL | hsl(63, 77%, 28%) |
| HSV | hsv(63, 87%, 49%) |
| CMYK | cmyk(4%, 0%, 87.3%, 50.6%) |
| CIE-LAB | lab(50.72, -14.75, 52.36) |
| CIE-LCH | lch(50.72, 54.40, 105.73°) |
| OKLab | oklab(57.01% -0.0467 0.1125) |
| OKLCH | oklch(57.01% 0.122 112.5) |
| XYZ | xyz(15.4401, 19.0245, 3.3489) |
| Luminance | 0.1902 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Shit Green
#758000
ΔE00 1.73
Olive
#808000
ΔE00 2.31
Poop Green
#6F7C00
ΔE00 2.53
Murky Green
#6C7A0E
ΔE00 3.42
Swamp Green
#748500
ΔE00 3.58
Olive (survey)
#6E750E
ΔE00 3.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#797E10 #15107E
analogous
#7E4C10 #797E10 #427E10
triadic
#797E10 #10797E #7E1079
tetradic
#797E10 #107E4C #15107E #7E1042
square
#797E10 #107E4C #15107E #7E1042
split-complementary
#797E10 #10427E #4C107E
monochromatic
#1A1B03 #454809 #797E10 #ADB417 #DBE325
Accessibility & contrast
On white
4.37
#797E10 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.80
#797E10 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #797E10
4.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##797E10 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##797E10 | 1.00 | 4.37 | 4.80 | 4.80 |
| #FFFFFF | 4.37 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.80 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.80 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#887800
Deuteranopia (green-blind)
#897A1C
Tritanopia (blue-blind)
#82766B
Achromatopsia (no color)
#797979
Design tokens & code
CSS
--color: #797e10; /* rgb */ color: rgb(121, 126, 16); /* oklch */ color: oklch(57.0% 0.122 112.5);
Tailwind
colors: {
custom: {
50: '#a3a35c',
500: '#797e10',
950: '#000000',
},
}SCSS
$custom: #797e10; $custom-light: #a3a35c; $custom-dark: #000000;
JSON
{
"hex": "#797e10",
"rgb": {
"r": 121,
"g": 126,
"b": 16
},
"hsl": {
"h": 62.727,
"s": 77.465,
"l": 27.843
},
"oklch": {
"l": 0.57009,
"c": 0.12181,
"h": 112.5
},
"luminance": 0.19024
}Semantic roles & 50–950 ramp
primary
#797E10
secondary
#3B36B4
accent
#34F43D
background
#FAFAF5
surface
#F4F3E9
border
#CECDC5
text
#100F05
muted
#7F7F79