#796E32#796E32

#796E32 is a mid, moderate yellow. Relative luminance 0.154; OKLCH L 53.5% C 0.081 H 99.1°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#796E32
RGBrgb(121, 110, 50)
HSLhsl(51, 42%, 34%)
HSVhsv(51, 59%, 47%)
CMYKcmyk(0%, 9.1%, 58.7%, 52.5%)
CIE-LABlab(46.24, -3.99, 34.48)
CIE-LCHlch(46.24, 34.71, 96.60°)
OKLaboklab(53.52% -0.0128 0.0804)
OKLCHoklch(53.52% 0.081 99.1)
XYZxyz(14.0373, 15.4477, 5.2593)
Luminance0.1545 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#796E32 #323D79
analogous
#794A32 #796E32 #607932
triadic
#796E32 #32796E #6E3279
tetradic
#796E32 #32794A #323D79 #793260
square
#796E32 #32794A #323D79 #793260
split-complementary
#796E32 #326079 #4A3279
monochromatic
#221F0E #4E4720 #796E32 #A49544 #C0B266

Accessibility & contrast

On white

5.14
#796E32 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#796E32 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #796E32
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##796E32#FFFFFF#000000##FFFFFF
##796E321.005.144.095.14
#FFFFFF5.141.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786B2C
Deuteranopia (green-blind)
#7B6F35
Tritanopia (blue-blind)
#826761
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #796e32;
/* rgb */ color: rgb(121, 110, 50);
/* oklch */ color: oklch(53.5% 0.081 99.1);
Tailwind
colors: {
  custom: {
    50: '#a2976c',
    500: '#796e32',
    950: '#000000',
  },
}
SCSS
$custom: #796e32;
$custom-light: #a2976c;
$custom-dark: #000000;
JSON
{
  "hex": "#796e32",
  "rgb": {
    "r": 121,
    "g": 110,
    "b": 50
  },
  "hsl": {
    "h": 50.704,
    "s": 41.52,
    "l": 33.529
  },
  "oklch": {
    "l": 0.5352,
    "c": 0.08143,
    "h": 99.1
  },
  "luminance": 0.15447
}

Semantic roles & 50–950 ramp

primary
#796E32
secondary
#5F6BA7
accent
#69D156
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#0F0D07
muted
#7F7E7A

Preview Lab

Preview with #796E32

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

Preview Lab → · Contrast checker → · Palette generator →

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