#796F2E#796F2E

#796F2E is a mid, moderate yellow. Relative luminance 0.156; OKLCH L 53.7% C 0.086 H 100.6°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#796F2E
RGBrgb(121, 111, 46)
HSLhsl(52, 45%, 33%)
HSVhsv(52, 62%, 47%)
CMYKcmyk(0%, 8.3%, 62%, 52.5%)
CIE-LABlab(46.49, -4.89, 36.79)
CIE-LCHlch(46.49, 37.11, 97.57°)
OKLaboklab(53.7% -0.0159 0.0848)
OKLCHoklch(53.7% 0.086 100.6)
XYZxyz(14.0633, 15.6316, 4.8607)
Luminance0.1563 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#796F2E #2E3879
analogous
#79492E #796F2E #5D792E
triadic
#796F2E #2E796F #6F2E79
tetradic
#796F2E #2E7949 #2E3879 #792E5D
square
#796F2E #2E7949 #2E3879 #792E5D
split-complementary
#796F2E #2E5D79 #492E79
monochromatic
#201E0C #4D461D #796F2E #A5983F #C2B55F

Accessibility & contrast

On white

5.09
#796F2E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #796F2E
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##796F2E#FFFFFF#000000##FFFFFF
##796F2E1.005.094.135.09
#FFFFFF5.091.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796C27
Deuteranopia (green-blind)
#7C7031
Tritanopia (blue-blind)
#826761
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #796f2e;
/* rgb */ color: rgb(121, 111, 46);
/* oklch */ color: oklch(53.7% 0.086 100.6);
Tailwind
colors: {
  custom: {
    50: '#a29869',
    500: '#796f2e',
    950: '#000000',
  },
}
SCSS
$custom: #796f2e;
$custom-light: #a29869;
$custom-dark: #000000;
JSON
{
  "hex": "#796f2e",
  "rgb": {
    "r": 121,
    "g": 111,
    "b": 46
  },
  "hsl": {
    "h": 52,
    "s": 44.91,
    "l": 32.745
  },
  "oklch": {
    "l": 0.53701,
    "c": 0.08632,
    "h": 100.6
  },
  "luminance": 0.15631
}

Semantic roles & 50–950 ramp

primary
#796F2E
secondary
#5A64A9
accent
#64D553
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#0F0D06
muted
#7F7E7A

Preview Lab

Preview with #796F2E

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

Preview Lab → · Contrast checker → · Palette generator →

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