#797B2B#797B2B
#797B2B is a mid, moderate yellow. Relative luminance 0.184; OKLCH L 56.5% C 0.102 H 110.6°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).
Color values
| HEX | #797B2B |
|---|---|
| RGB | rgb(121, 123, 43) |
| HSL | hsl(62, 48%, 33%) |
| HSV | hsv(62, 65%, 48%) |
| CMYK | cmyk(1.6%, 0%, 65%, 51.8%) |
| CIE-LAB | lab(49.98, -11.81, 42.02) |
| CIE-LCH | lch(49.98, 43.65, 105.69°) |
| OKLab | oklab(56.48% -0.0359 0.0955) |
| OKLCH | oklch(56.48% 0.102 110.6) |
| XYZ | xyz(15.4046, 18.4057, 5.0262) |
| Luminance | 0.1840 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive Drab
#6F7632
ΔE00 3.57
Olive (survey)
#6E750E
ΔE00 3.92
Murky Green
#6C7A0E
ΔE00 4.28
Drab
#828344
ΔE00 4.57
Poop Green
#6F7C00
ΔE00 4.58
Shit Green
#758000
ΔE00 4.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#797B2B #2D2B7B
analogous
#7B552B #797B2B #517B2B
triadic
#797B2B #2B797B #7B2B79
tetradic
#797B2B #2B7B55 #2D2B7B #7B2B51
square
#797B2B #2B7B55 #2D2B7B #7B2B51
split-complementary
#797B2B #2B517B #552B7B
monochromatic
#20200B #4C4E1B #797B2B #A6A83B #C3C65B
Accessibility & contrast
On white
4.49
#797B2B on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.68
#797B2B on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #797B2B
4.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##797B2B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##797B2B | 1.00 | 4.49 | 4.68 | 4.68 |
| #FFFFFF | 4.49 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.68 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.68 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#857621
Deuteranopia (green-blind)
#857830
Tritanopia (blue-blind)
#81736A
Achromatopsia (no color)
#777777
Design tokens & code
CSS
--color: #797b2b; /* rgb */ color: rgb(121, 123, 43); /* oklch */ color: oklch(56.5% 0.102 110.6);
Tailwind
colors: {
custom: {
50: '#a2a169',
500: '#797b2b',
950: '#000000',
},
}SCSS
$custom: #797b2b; $custom-light: #a2a169; $custom-dark: #000000;
JSON
{
"hex": "#797b2b",
"rgb": {
"r": 121,
"g": 123,
"b": 43
},
"hsl": {
"h": 61.5,
"s": 48.193,
"l": 32.549
},
"oklch": {
"l": 0.56476,
"c": 0.10205,
"h": 110.6
},
"luminance": 0.18405
}Semantic roles & 50–950 ramp
primary
#797B2B
secondary
#5856AB
accent
#50D853
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#0F0E06
muted
#7F7E7A