#796B32#796B32

#796B32 is a mid, moderate yellow. Relative luminance 0.148; OKLCH L 52.8% C 0.079 H 95.8°. Best body text is #FFFFFF at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#796B32
RGBrgb(121, 107, 50)
HSLhsl(48, 42%, 34%)
HSVhsv(48, 59%, 47%)
CMYKcmyk(0%, 11.6%, 58.7%, 52.5%)
CIE-LABlab(45.37, -2.27, 33.47)
CIE-LCHlch(45.37, 33.55, 93.87°)
OKLaboklab(52.83% -0.0079 0.0783)
OKLCHoklch(52.83% 0.079 95.8)
XYZxyz(13.7191, 14.8112, 5.1532)
Luminance0.1481 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#796B32 #324079
analogous
#794732 #796B32 #637932
triadic
#796B32 #32796B #6B3279
tetradic
#796B32 #327947 #324079 #793263
square
#796B32 #327947 #324079 #793263
split-complementary
#796B32 #326379 #473279
monochromatic
#221E0E #4E4520 #796B32 #A49144 #C0AE66

Accessibility & contrast

On white

5.30
#796B32 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#796B32 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #796B32
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##796B32#FFFFFF#000000##FFFFFF
##796B321.005.303.965.30
#FFFFFF5.301.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#75692D
Deuteranopia (green-blind)
#786D34
Tritanopia (blue-blind)
#82645E
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #796b32;
/* rgb */ color: rgb(121, 107, 50);
/* oklch */ color: oklch(52.8% 0.079 95.8);
Tailwind
colors: {
  custom: {
    50: '#a2956c',
    500: '#796b32',
    950: '#000000',
  },
}
SCSS
$custom: #796b32;
$custom-light: #a2956c;
$custom-dark: #000000;
JSON
{
  "hex": "#796b32",
  "rgb": {
    "r": 121,
    "g": 107,
    "b": 50
  },
  "hsl": {
    "h": 48.169,
    "s": 41.52,
    "l": 33.529
  },
  "oklch": {
    "l": 0.52834,
    "c": 0.07865,
    "h": 95.8
  },
  "luminance": 0.14811
}

Semantic roles & 50–950 ramp

primary
#796B32
secondary
#5F6EA7
accent
#6FD156
background
#FAF9F6
surface
#F4F1EB
border
#CECBC6
text
#0F0D07
muted
#7F7E7A

Preview Lab

Preview with #796B32

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

Preview Lab → · Contrast checker → · Palette generator →

#796B32 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva