#797A1A#797A1A
#797A1A is a mid, moderate yellow. Relative luminance 0.181; OKLCH L 56.1% C 0.113 H 110.2°. Best body text is #000000 at 4.61:1 contrast (WCAG AA passes).
Color values
| HEX | #797A1A |
|---|---|
| RGB | rgb(121, 122, 26) |
| HSL | hsl(61, 65%, 29%) |
| HSV | hsv(61, 79%, 48%) |
| CMYK | cmyk(0.8%, 0%, 78.7%, 52.2%) |
| CIE-LAB | lab(49.57, -12.23, 48.44) |
| CIE-LCH | lch(49.57, 49.96, 104.17°) |
| OKLab | oklab(56.11% -0.0389 0.106) |
| OKLCH | oklch(56.11% 0.113 110.2) |
| XYZ | xyz(15.0317, 18.0590, 3.6710) |
| Luminance | 0.1806 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive (survey)
#6E750E
ΔE00 2.96
Olive
#808000
ΔE00 3.40
Poop Green
#6F7C00
ΔE00 3.48
Shit Green
#758000
ΔE00 3.55
Murky Green
#6C7A0E
ΔE00 3.72
Brownish Green
#6A6E09
ΔE00 4.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#797A1A #1B1A7A
analogous
#7A4B1A #797A1A #497A1A
triadic
#797A1A #1A797A #7A1A79
tetradic
#797A1A #1A7A4B #1B1A7A #7A1A49
square
#797A1A #1A7A4B #1B1A7A #7A1A49
split-complementary
#797A1A #1A497A #4B1A7A
monochromatic
#191905 #47480F #797A1A #ABAC25 #D3D539
Accessibility & contrast
On white
4.55
#797A1A on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.61
#797A1A on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #797A1A
4.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##797A1A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##797A1A | 1.00 | 4.55 | 4.61 | 4.61 |
| #FFFFFF | 4.55 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.61 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.61 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#847403
Deuteranopia (green-blind)
#857722
Tritanopia (blue-blind)
#827268
Achromatopsia (no color)
#767676
Design tokens & code
CSS
--color: #797a1a; /* rgb */ color: rgb(121, 122, 26); /* oklch */ color: oklch(56.1% 0.113 110.2);
Tailwind
colors: {
custom: {
50: '#a3a05f',
500: '#797a1a',
950: '#000000',
},
}SCSS
$custom: #797a1a; $custom-light: #a3a05f; $custom-dark: #000000;
JSON
{
"hex": "#797a1a",
"rgb": {
"r": 121,
"g": 122,
"b": 26
},
"hsl": {
"h": 60.625,
"s": 64.865,
"l": 29.02
},
"oklch": {
"l": 0.56105,
"c": 0.11289,
"h": 110.2
},
"luminance": 0.18059
}Semantic roles & 50–950 ramp
primary
#797A1A
secondary
#4341AE
accent
#40E842
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#0F0E05
muted
#7F7E79