#796720#796720

#796720 is a mid, moderate yellow. Relative luminance 0.139; OKLCH L 51.7% C 0.091 H 94.5°. Best body text is #FFFFFF at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#796720
RGBrgb(121, 103, 32)
HSLhsl(48, 58%, 30%)
HSVhsv(48, 74%, 47%)
CMYKcmyk(0%, 14.9%, 73.6%, 52.5%)
CIE-LABlab(44.05, -1.23, 40.80)
CIE-LCHlch(44.05, 40.82, 91.72°)
OKLaboklab(51.73% -0.0072 0.091)
OKLCHoklch(51.73% 0.091 94.5)
XYZxyz(12.9968, 13.8704, 3.3589)
Luminance0.1387 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#796720 #203279
analogous
#793A20 #796720 #5F7920
triadic
#796720 #207967 #672079
tetradic
#796720 #20793A #203279 #79205F
square
#796720 #20793A #203279 #79205F
split-complementary
#796720 #205F79 #3A2079
monochromatic
#181506 #493E13 #796720 #A9902D #CEB245

Accessibility & contrast

On white

5.56
#796720 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#796720 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #796720
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##796720#FFFFFF#000000##FFFFFF
##7967201.005.563.775.56
#FFFFFF5.561.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#726516
Deuteranopia (green-blind)
#776A24
Tritanopia (blue-blind)
#835F59
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #796720;
/* rgb */ color: rgb(121, 103, 32);
/* oklch */ color: oklch(51.7% 0.091 94.5);
Tailwind
colors: {
  custom: {
    50: '#a39260',
    500: '#796720',
    950: '#000000',
  },
}
SCSS
$custom: #796720;
$custom-light: #a39260;
$custom-dark: #000000;
JSON
{
  "hex": "#796720",
  "rgb": {
    "r": 121,
    "g": 103,
    "b": 32
  },
  "hsl": {
    "h": 47.865,
    "s": 58.17,
    "l": 30
  },
  "oklch": {
    "l": 0.51727,
    "c": 0.09128,
    "h": 94.5
  },
  "luminance": 0.1387
}

Semantic roles & 50–950 ramp

primary
#796720
secondary
#495DAC
accent
#66E146
background
#FAF8F5
surface
#F4F0EA
border
#CECBC6
text
#0F0C05
muted
#7F7D79

Preview Lab

Preview with #796720

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

Preview Lab → · Contrast checker → · Palette generator →

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