#796D2D#796D2D

#796D2D is a mid, moderate yellow. Relative luminance 0.152; OKLCH L 53.2% C 0.085 H 98.8°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#796D2D
RGBrgb(121, 109, 45)
HSLhsl(51, 46%, 33%)
HSVhsv(51, 63%, 47%)
CMYKcmyk(0%, 9.9%, 62.8%, 52.5%)
CIE-LABlab(45.90, -3.82, 36.63)
CIE-LCHlch(45.90, 36.83, 95.96°)
OKLaboklab(53.23% -0.013 0.0844)
OKLCHoklch(53.23% 0.085 98.8)
XYZxyz(13.8280, 15.1923, 4.6861)
Luminance0.1519 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#796D2D #2D3979
analogous
#79472D #796D2D #5F792D
triadic
#796D2D #2D796D #6D2D79
tetradic
#796D2D #2D7947 #2D3979 #792D5F
square
#796D2D #2D7947 #2D3979 #792D5F
split-complementary
#796D2D #2D5F79 #472D79
monochromatic
#201D0C #4C451C #796D2D #A6953E #C3B35D

Accessibility & contrast

On white

5.20
#796D2D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#796D2D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #796D2D
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##796D2D#FFFFFF#000000##FFFFFF
##796D2D1.005.204.045.20
#FFFFFF5.201.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#776A26
Deuteranopia (green-blind)
#7A6F30
Tritanopia (blue-blind)
#82655F
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #796d2d;
/* rgb */ color: rgb(121, 109, 45);
/* oklch */ color: oklch(53.2% 0.085 98.8);
Tailwind
colors: {
  custom: {
    50: '#a29669',
    500: '#796d2d',
    950: '#000000',
  },
}
SCSS
$custom: #796d2d;
$custom-light: #a29669;
$custom-dark: #000000;
JSON
{
  "hex": "#796d2d",
  "rgb": {
    "r": 121,
    "g": 109,
    "b": 45
  },
  "hsl": {
    "h": 50.526,
    "s": 45.783,
    "l": 32.549
  },
  "oklch": {
    "l": 0.53229,
    "c": 0.08536,
    "h": 98.8
  },
  "luminance": 0.15192
}

Semantic roles & 50–950 ramp

primary
#796D2D
secondary
#5865A9
accent
#67D552
background
#FAF9F6
surface
#F4F1EB
border
#CECBC6
text
#0F0D06
muted
#7F7E7A

Preview Lab

Preview with #796D2D

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

Preview Lab → · Contrast checker → · Palette generator →

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