#797B1B#797B1B
#797B1B is a mid, moderate yellow. Relative luminance 0.183; OKLCH L 56.3% C 0.113 H 110.8°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).
Color values
| HEX | #797B1B |
|---|---|
| RGB | rgb(121, 123, 27) |
| HSL | hsl(61, 64%, 29%) |
| HSV | hsv(61, 78%, 48%) |
| CMYK | cmyk(1.6%, 0%, 78%, 51.8%) |
| CIE-LAB | lab(49.87, -12.73, 48.37) |
| CIE-LCH | lch(49.87, 50.02, 104.74°) |
| OKLab | oklab(56.35% -0.0402 0.106) |
| OKLCH | oklch(56.35% 0.113 110.8) |
| XYZ | xyz(15.1665, 18.3104, 3.7720) |
| Luminance | 0.1831 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive (survey)
#6E750E
ΔE00 3.08
Shit Green
#758000
ΔE00 3.23
Poop Green
#6F7C00
ΔE00 3.27
Olive
#808000
ΔE00 3.28
Murky Green
#6C7A0E
ΔE00 3.54
Olive Green
#677A04
ΔE00 4.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#797B1B #1D1B7B
analogous
#7B4D1B #797B1B #497B1B
triadic
#797B1B #1B797B #7B1B79
tetradic
#797B1B #1B7B4D #1D1B7B #7B1B49
square
#797B1B #1B7B4D #1D1B7B #7B1B49
split-complementary
#797B1B #1B497B #4D1B7B
monochromatic
#191906 #484910 #797B1B #AAAD26 #D1D43C
Accessibility & contrast
On white
4.50
#797B1B on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.66
#797B1B on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #797B1B
4.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##797B1B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##797B1B | 1.00 | 4.50 | 4.66 | 4.66 |
| #FFFFFF | 4.50 | 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)
#857504
Deuteranopia (green-blind)
#867823
Tritanopia (blue-blind)
#827369
Achromatopsia (no color)
#777777
Design tokens & code
CSS
--color: #797b1b; /* rgb */ color: rgb(121, 123, 27); /* oklch */ color: oklch(56.3% 0.113 110.8);
Tailwind
colors: {
custom: {
50: '#a3a160',
500: '#797b1b',
950: '#000000',
},
}SCSS
$custom: #797b1b; $custom-light: #a3a160; $custom-dark: #000000;
JSON
{
"hex": "#797b1b",
"rgb": {
"r": 121,
"g": 123,
"b": 27
},
"hsl": {
"h": 61.25,
"s": 64,
"l": 29.412
},
"oklch": {
"l": 0.56348,
"c": 0.1134,
"h": 110.8
},
"luminance": 0.1831
}Semantic roles & 50–950 ramp
primary
#797B1B
secondary
#4543AF
accent
#41E744
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#0F0E05
muted
#7F7E79