#797C26#797C26
#797C26 is a mid, moderate yellow. Relative luminance 0.186; OKLCH L 56.7% C 0.107 H 111.3°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).
Color values
| HEX | #797C26 |
|---|---|
| RGB | rgb(121, 124, 38) |
| HSL | hsl(62, 53%, 32%) |
| HSV | hsv(62, 69%, 49%) |
| CMYK | cmyk(2.4%, 0%, 69.4%, 51.4%) |
| CIE-LAB | lab(50.24, -12.68, 44.48) |
| CIE-LCH | lch(50.24, 46.25, 105.91°) |
| OKLab | oklab(56.67% -0.039 0.0999) |
| OKLCH | oklch(56.67% 0.107 111.3) |
| XYZ | xyz(15.4431, 18.6206, 4.6140) |
| Luminance | 0.1862 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive (survey)
#6E750E
ΔE00 3.62
Murky Green
#6C7A0E
ΔE00 3.75
Poop Green
#6F7C00
ΔE00 3.84
Shit Green
#758000
ΔE00 3.86
Olive Drab
#6F7632
ΔE00 4.21
Olive
#808000
ΔE00 4.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#797C26 #29267C
analogous
#7C5426 #797C26 #4E7C26
triadic
#797C26 #26797C #7C2679
tetradic
#797C26 #267C54 #29267C #7C264E
square
#797C26 #267C54 #29267C #7C264E
split-complementary
#797C26 #264E7C #54267C
monochromatic
#1E1E09 #4B4D18 #797C26 #A7AB34 #C6CA52
Accessibility & contrast
On white
4.45
#797C26 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.72
#797C26 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #797C26
4.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##797C26 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##797C26 | 1.00 | 4.45 | 4.72 | 4.72 |
| #FFFFFF | 4.45 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.72 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.72 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#867619
Deuteranopia (green-blind)
#86792C
Tritanopia (blue-blind)
#81746B
Achromatopsia (no color)
#787878
Design tokens & code
CSS
--color: #797c26; /* rgb */ color: rgb(121, 124, 38); /* oklch */ color: oklch(56.7% 0.107 111.3);
Tailwind
colors: {
custom: {
50: '#a2a166',
500: '#797c26',
950: '#000000',
},
}SCSS
$custom: #797c26; $custom-light: #a2a166; $custom-dark: #000000;
JSON
{
"hex": "#797c26",
"rgb": {
"r": 121,
"g": 124,
"b": 38
},
"hsl": {
"h": 62.093,
"s": 53.086,
"l": 31.765
},
"oklch": {
"l": 0.56667,
"c": 0.10719,
"h": 111.3
},
"luminance": 0.1862
}Semantic roles & 50–950 ramp
primary
#797C26
secondary
#5350AE
accent
#4BDC50
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#0F0F06
muted
#7F7E7A