#797B1A#797B1A
#797B1A is a mid, moderate yellow. Relative luminance 0.183; OKLCH L 56.3% C 0.114 H 110.8°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).
Color values
| HEX | #797B1A |
|---|---|
| RGB | rgb(121, 123, 26) |
| HSL | hsl(61, 65%, 29%) |
| HSV | hsv(61, 79%, 48%) |
| CMYK | cmyk(1.6%, 0%, 78.9%, 51.8%) |
| CIE-LAB | lab(49.87, -12.77, 48.71) |
| CIE-LCH | lch(49.87, 50.36, 104.69°) |
| OKLab | oklab(56.34% -0.0404 0.1066) |
| OKLCH | oklch(56.34% 0.114 110.8) |
| XYZ | xyz(15.1551, 18.3059, 3.7121) |
| Luminance | 0.1830 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive (survey)
#6E750E
ΔE00 3.07
Shit Green
#758000
ΔE00 3.18
Olive
#808000
ΔE00 3.20
Poop Green
#6F7C00
ΔE00 3.22
Murky Green
#6C7A0E
ΔE00 3.54
Olive Green
#677A04
ΔE00 4.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#797B1A #1C1A7B
analogous
#7B4D1A #797B1A #497B1A
triadic
#797B1A #1A797B #7B1A79
tetradic
#797B1A #1A7B4D #1C1A7B #7B1A49
square
#797B1A #1A7B4D #1C1A7B #7B1A49
split-complementary
#797B1A #1A497B #4D1A7B
monochromatic
#191905 #47480F #797B1A #ABAE25 #D2D53A
Accessibility & contrast
On white
4.51
#797B1A on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.66
#797B1A on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #797B1A
4.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##797B1A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##797B1A | 1.00 | 4.51 | 4.66 | 4.66 |
| #FFFFFF | 4.51 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.66 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.66 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#857502
Deuteranopia (green-blind)
#867822
Tritanopia (blue-blind)
#827369
Achromatopsia (no color)
#777777
Design tokens & code
CSS
--color: #797b1a; /* rgb */ color: rgb(121, 123, 26); /* oklch */ color: oklch(56.3% 0.114 110.8);
Tailwind
colors: {
custom: {
50: '#a3a160',
500: '#797b1a',
950: '#000000',
},
}SCSS
$custom: #797b1a; $custom-light: #a3a160; $custom-dark: #000000;
JSON
{
"hex": "#797b1a",
"rgb": {
"r": 121,
"g": 123,
"b": 26
},
"hsl": {
"h": 61.237,
"s": 65.101,
"l": 29.216
},
"oklch": {
"l": 0.56342,
"c": 0.11396,
"h": 110.8
},
"luminance": 0.18305
}Semantic roles & 50–950 ramp
primary
#797B1A
secondary
#4442AF
accent
#40E843
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#0F0E05
muted
#7F7E79