#796F32#796F32

#796F32 is a mid, moderate yellow. Relative luminance 0.157; OKLCH L 53.8% C 0.082 H 100.1°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#796F32
RGBrgb(121, 111, 50)
HSLhsl(52, 42%, 34%)
HSVhsv(52, 59%, 47%)
CMYKcmyk(0%, 8.3%, 58.7%, 52.5%)
CIE-LABlab(46.53, -4.56, 34.81)
CIE-LCHlch(46.53, 35.11, 97.46°)
OKLaboklab(53.75% -0.0145 0.0811)
OKLCHoklch(53.75% 0.082 100.1)
XYZxyz(14.1458, 15.6647, 5.2954)
Luminance0.1566 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#796F32 #323C79
analogous
#794B32 #796F32 #5F7932
triadic
#796F32 #32796F #6F3279
tetradic
#796F32 #32794B #323C79 #79325F
square
#796F32 #32794B #323C79 #79325F
split-complementary
#796F32 #325F79 #4B3279
monochromatic
#22200E #4E4720 #796F32 #A49744 #C0B366

Accessibility & contrast

On white

5.08
#796F32 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#796F32 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #796F32
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##796F32#FFFFFF#000000##FFFFFF
##796F321.005.084.135.08
#FFFFFF5.081.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796C2C
Deuteranopia (green-blind)
#7B7035
Tritanopia (blue-blind)
#826861
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #796f32;
/* rgb */ color: rgb(121, 111, 50);
/* oklch */ color: oklch(53.8% 0.082 100.1);
Tailwind
colors: {
  custom: {
    50: '#a2986c',
    500: '#796f32',
    950: '#000000',
  },
}
SCSS
$custom: #796f32;
$custom-light: #a2986c;
$custom-dark: #000000;
JSON
{
  "hex": "#796f32",
  "rgb": {
    "r": 121,
    "g": 111,
    "b": 50
  },
  "hsl": {
    "h": 51.549,
    "s": 41.52,
    "l": 33.529
  },
  "oklch": {
    "l": 0.5375,
    "c": 0.08241,
    "h": 100.1
  },
  "luminance": 0.15664
}

Semantic roles & 50–950 ramp

primary
#796F32
secondary
#5F6AA7
accent
#68D156
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#0F0D07
muted
#7F7E7A

Preview Lab

Preview with #796F32

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

Preview Lab → · Contrast checker → · Palette generator →

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