#796F1D#796F1D

#796F1D is a mid, moderate yellow. Relative luminance 0.155; OKLCH L 53.5% C 0.100 H 102.2°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#796F1D
RGBrgb(121, 111, 29)
HSLhsl(53, 61%, 29%)
HSVhsv(53, 76%, 47%)
CMYKcmyk(0%, 8.3%, 76%, 52.5%)
CIE-LABlab(46.34, -5.97, 44.31)
CIE-LCHlch(46.34, 44.71, 97.68°)
OKLaboklab(53.54% -0.0211 0.0978)
OKLCHoklch(53.54% 0.1 102.2)
XYZxyz(13.7920, 15.5231, 3.4319)
Luminance0.1552 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#796F1D #1D2779
analogous
#79411D #796F1D #55791D
triadic
#796F1D #1D796F #6F1D79
tetradic
#796F1D #1D7941 #1D2779 #791D55
square
#796F1D #1D7941 #1D2779 #791D55
split-complementary
#796F1D #1D5579 #411D79
monochromatic
#191706 #484211 #796F1D #AA9C29 #D1C13F

Accessibility & contrast

On white

5.12
#796F1D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#796F1D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #796F1D
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##796F1D#FFFFFF#000000##FFFFFF
##796F1D1.005.124.105.12
#FFFFFF5.121.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6B0E
Deuteranopia (green-blind)
#7D7023
Tritanopia (blue-blind)
#83675F
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #796f1d;
/* rgb */ color: rgb(121, 111, 29);
/* oklch */ color: oklch(53.5% 0.100 102.2);
Tailwind
colors: {
  custom: {
    50: '#a3985f',
    500: '#796f1d',
    950: '#000000',
  },
}
SCSS
$custom: #796f1d;
$custom-light: #a3985f;
$custom-dark: #000000;
JSON
{
  "hex": "#796f1d",
  "rgb": {
    "r": 121,
    "g": 111,
    "b": 29
  },
  "hsl": {
    "h": 53.478,
    "s": 61.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.5354,
    "c": 0.10005,
    "h": 102.2
  },
  "luminance": 0.15523
}

Semantic roles & 50–950 ramp

primary
#796F1D
secondary
#4550AD
accent
#55E443
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#0F0D05
muted
#7F7E79

Preview Lab

Preview with #796F1D

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

Preview Lab → · Contrast checker → · Palette generator →

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