#796420#796420

#796420 is a mid, moderate yellow. Relative luminance 0.133; OKLCH L 51.0% C 0.089 H 91.4°. Best body text is #FFFFFF at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#796420
RGBrgb(121, 100, 32)
HSLhsl(46, 58%, 30%)
HSVhsv(46, 74%, 47%)
CMYKcmyk(0%, 17.4%, 73.6%, 52.5%)
CIE-LABlab(43.19, 0.52, 39.94)
CIE-LCHlch(43.19, 39.94, 89.25°)
OKLaboklab(51.05% -0.0022 0.0892)
OKLCHoklch(51.05% 0.089 91.4)
XYZxyz(12.7037, 13.2843, 3.2612)
Luminance0.1328 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#796420 #203579
analogous
#793820 #796420 #617920
triadic
#796420 #207964 #642079
tetradic
#796420 #207938 #203579 #792061
square
#796420 #207938 #203579 #792061
split-complementary
#796420 #206179 #382079
monochromatic
#181406 #493C13 #796420 #A98C2D #CEAE45

Accessibility & contrast

On white

5.74
#796420 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#796420 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #796420
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##796420#FFFFFF#000000##FFFFFF
##7964201.005.743.665.74
#FFFFFF5.741.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6F6317
Deuteranopia (green-blind)
#756923
Tritanopia (blue-blind)
#835B56
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #796420;
/* rgb */ color: rgb(121, 100, 32);
/* oklch */ color: oklch(51.0% 0.089 91.4);
Tailwind
colors: {
  custom: {
    50: '#a38f60',
    500: '#796420',
    950: '#000000',
  },
}
SCSS
$custom: #796420;
$custom-light: #a38f60;
$custom-dark: #000000;
JSON
{
  "hex": "#796420",
  "rgb": {
    "r": 121,
    "g": 100,
    "b": 32
  },
  "hsl": {
    "h": 45.843,
    "s": 58.17,
    "l": 30
  },
  "oklch": {
    "l": 0.51049,
    "c": 0.08919,
    "h": 91.4
  },
  "luminance": 0.13284
}

Semantic roles & 50–950 ramp

primary
#796420
secondary
#4960AC
accent
#6BE146
background
#FAF8F5
surface
#F4F0EA
border
#CECBC6
text
#0F0C05
muted
#7F7D79

Preview Lab

Preview with #796420

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

Preview Lab → · Contrast checker → · Palette generator →

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