#797B30#797B30
#797B30 is a mid, moderate yellow. Relative luminance 0.184; OKLCH L 56.5% C 0.098 H 110.6°. Best body text is #000000 at 4.69:1 contrast (WCAG AA passes).
Color values
| HEX | #797B30 |
|---|---|
| RGB | rgb(121, 123, 48) |
| HSL | hsl(62, 44%, 34%) |
| HSV | hsv(62, 61%, 48%) |
| CMYK | cmyk(1.6%, 0%, 61%, 51.8%) |
| CIE-LAB | lab(50.03, -11.43, 39.74) |
| CIE-LCH | lch(50.03, 41.35, 106.05°) |
| OKLab | oklab(56.53% -0.0343 0.0914) |
| OKLCH | oklch(56.53% 0.098 110.6) |
| XYZ | xyz(15.5020, 18.4446, 5.5393) |
| Luminance | 0.1844 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive Drab
#6F7632
ΔE00 3.14
Drab
#828344
ΔE00 4.03
Olive (survey)
#6E750E
ΔE00 4.48
Murky Green
#6C7A0E
ΔE00 4.80
Poop Green
#6F7C00
ΔE00 5.24
Shit Green
#758000
ΔE00 5.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#797B30 #32307B
analogous
#7B5730 #797B30 #537B30
triadic
#797B30 #30797B #7B3079
tetradic
#797B30 #307B57 #32307B #7B3053
square
#797B30 #307B57 #32307B #7B3053
split-complementary
#797B30 #30537B #57307B
monochromatic
#22230E #4E4F1F #797B30 #A4A741 #C0C263
Accessibility & contrast
On white
4.48
#797B30 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.69
#797B30 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #797B30
4.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##797B30 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##797B30 | 1.00 | 4.48 | 4.69 | 4.69 |
| #FFFFFF | 4.48 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.69 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.69 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#847628
Deuteranopia (green-blind)
#857834
Tritanopia (blue-blind)
#81746B
Achromatopsia (no color)
#777777
Design tokens & code
CSS
--color: #797b30; /* rgb */ color: rgb(121, 123, 48); /* oklch */ color: oklch(56.5% 0.098 110.6);
Tailwind
colors: {
custom: {
50: '#a2a16c',
500: '#797b30',
950: '#000000',
},
}SCSS
$custom: #797b30; $custom-light: #a2a16c; $custom-dark: #000000;
JSON
{
"hex": "#797b30",
"rgb": {
"r": 121,
"g": 123,
"b": 48
},
"hsl": {
"h": 61.6,
"s": 43.86,
"l": 33.529
},
"oklch": {
"l": 0.56528,
"c": 0.09764,
"h": 110.6
},
"luminance": 0.18444
}Semantic roles & 50–950 ramp
primary
#797B30
secondary
#5F5DA9
accent
#54D458
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#0F0E07
muted
#7F7E7A