#796620#796620

#796620 is a mid, moderate yellow. Relative luminance 0.137; OKLCH L 51.5% C 0.091 H 93.5°. Best body text is #FFFFFF at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#796620
RGBrgb(121, 102, 32)
HSLhsl(47, 58%, 30%)
HSVhsv(47, 74%, 47%)
CMYKcmyk(0%, 15.7%, 73.6%, 52.5%)
CIE-LABlab(43.76, -0.65, 40.51)
CIE-LCHlch(43.76, 40.52, 90.91°)
OKLaboklab(51.5% -0.0056 0.0904)
OKLCHoklch(51.5% 0.091 93.5)
XYZxyz(12.8979, 13.6727, 3.3260)
Luminance0.1367 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#796620 #203379
analogous
#793920 #796620 #607920
triadic
#796620 #207966 #662079
tetradic
#796620 #207939 #203379 #792060
square
#796620 #207939 #203379 #792060
split-complementary
#796620 #206079 #392079
monochromatic
#181406 #493D13 #796620 #A98F2D #CEB145

Accessibility & contrast

On white

5.62
#796620 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#796620 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #796620
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##796620#FFFFFF#000000##FFFFFF
##7966201.005.623.735.62
#FFFFFF5.621.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#716416
Deuteranopia (green-blind)
#766A24
Tritanopia (blue-blind)
#835E58
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #796620;
/* rgb */ color: rgb(121, 102, 32);
/* oklch */ color: oklch(51.5% 0.091 93.5);
Tailwind
colors: {
  custom: {
    50: '#a39160',
    500: '#796620',
    950: '#000000',
  },
}
SCSS
$custom: #796620;
$custom-light: #a39160;
$custom-dark: #000000;
JSON
{
  "hex": "#796620",
  "rgb": {
    "r": 121,
    "g": 102,
    "b": 32
  },
  "hsl": {
    "h": 47.191,
    "s": 58.17,
    "l": 30
  },
  "oklch": {
    "l": 0.515,
    "c": 0.09055,
    "h": 93.5
  },
  "luminance": 0.13672
}

Semantic roles & 50–950 ramp

primary
#796620
secondary
#495EAC
accent
#67E146
background
#FAF8F5
surface
#F4F0EA
border
#CECBC6
text
#0F0C05
muted
#7F7D79

Preview Lab

Preview with #796620

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#796620 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva