#797F10#797F10
#797F10 is a mid, vivid yellow. Relative luminance 0.193; OKLCH L 57.2% C 0.123 H 113.1°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).
Color values
| HEX | #797F10 |
|---|---|
| RGB | rgb(121, 127, 16) |
| HSL | hsl(63, 78%, 28%) |
| HSV | hsv(63, 87%, 50%) |
| CMYK | cmyk(4.7%, 0%, 87.4%, 50.2%) |
| CIE-LAB | lab(51.01, -15.28, 52.61) |
| CIE-LCH | lch(51.01, 54.79, 106.20°) |
| OKLab | oklab(57.25% -0.0481 0.1131) |
| OKLCH | oklch(57.25% 0.123 113.1) |
| XYZ | xyz(15.5686, 19.2815, 3.3917) |
| Luminance | 0.1928 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Shit Green
#758000
ΔE00 1.45
Olive
#808000
ΔE00 2.35
Poop Green
#6F7C00
ΔE00 2.50
Swamp Green
#748500
ΔE00 3.19
Murky Green
#6C7A0E
ΔE00 3.45
Olive (survey)
#6E750E
ΔE00 4.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#797F10 #16107F
analogous
#7F4D10 #797F10 #417F10
triadic
#797F10 #10797F #7F1079
tetradic
#797F10 #107F4D #16107F #7F1041
square
#797F10 #107F4D #16107F #7F1041
split-complementary
#797F10 #10417F #4D107F
monochromatic
#1A1B03 #454909 #797F10 #ADB517 #D9E426
Accessibility & contrast
On white
4.32
#797F10 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.86
#797F10 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #797F10
4.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##797F10 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##797F10 | 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)
#897B1C
Tritanopia (blue-blind)
#82776C
Achromatopsia (no color)
#797979
Design tokens & code
CSS
--color: #797f10; /* rgb */ color: rgb(121, 127, 16); /* oklch */ color: oklch(57.2% 0.123 113.1);
Tailwind
colors: {
custom: {
50: '#a3a35c',
500: '#797f10',
950: '#000000',
},
}SCSS
$custom: #797f10; $custom-light: #a3a35c; $custom-dark: #000000;
JSON
{
"hex": "#797f10",
"rgb": {
"r": 121,
"g": 127,
"b": 16
},
"hsl": {
"h": 63.243,
"s": 77.622,
"l": 28.039
},
"oklch": {
"l": 0.57249,
"c": 0.1229,
"h": 113.1
},
"luminance": 0.19281
}Semantic roles & 50–950 ramp
primary
#797F10
secondary
#3D36B5
accent
#34F43E
background
#FAFAF5
surface
#F4F3E9
border
#CECDC5
text
#100F05
muted
#7F7F79