#796B33#796B33

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

Color values

HEX#796B33
RGBrgb(121, 107, 51)
HSLhsl(48, 41%, 34%)
HSVhsv(48, 58%, 47%)
CMYKcmyk(0%, 11.6%, 57.9%, 52.5%)
CIE-LABlab(45.39, -2.18, 32.96)
CIE-LCHlch(45.39, 33.03, 93.78°)
OKLaboklab(52.85% -0.0075 0.0773)
OKLCHoklch(52.85% 0.078 95.5)
XYZxyz(13.7409, 14.8200, 5.2681)
Luminance0.1482 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#796B33 #334179
analogous
#794833 #796B33 #647933
triadic
#796B33 #33796B #6B3379
tetradic
#796B33 #337948 #334179 #793364
square
#796B33 #337948 #334179 #793364
split-complementary
#796B33 #336479 #483379
monochromatic
#231F0F #4E4521 #796B33 #A49145 #BFAE67

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##796B33#FFFFFF#000000##FFFFFF
##796B331.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)
#75692E
Deuteranopia (green-blind)
#786D35
Tritanopia (blue-blind)
#82645E
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #796b33;
/* rgb */ color: rgb(121, 107, 51);
/* oklch */ color: oklch(52.8% 0.078 95.5);
Tailwind
colors: {
  custom: {
    50: '#a2956c',
    500: '#796b33',
    950: '#000000',
  },
}
SCSS
$custom: #796b33;
$custom-light: #a2956c;
$custom-dark: #000000;
JSON
{
  "hex": "#796b33",
  "rgb": {
    "r": 121,
    "g": 107,
    "b": 51
  },
  "hsl": {
    "h": 48,
    "s": 40.698,
    "l": 33.725
  },
  "oklch": {
    "l": 0.52848,
    "c": 0.07762,
    "h": 95.5
  },
  "luminance": 0.14819
}

Semantic roles & 50–950 ramp

primary
#796B33
secondary
#616FA7
accent
#70D157
background
#FAF9F6
surface
#F4F1EB
border
#CECBC6
text
#0F0D07
muted
#7F7E7A

Preview Lab

Preview with #796B33

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

Preview Lab → · Contrast checker → · Palette generator →

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