#796E1D#796E1D

#796E1D is a mid, moderate yellow. Relative luminance 0.153; OKLCH L 53.3% C 0.099 H 101.3°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#796E1D
RGBrgb(121, 110, 29)
HSLhsl(53, 61%, 29%)
HSVhsv(53, 76%, 47%)
CMYKcmyk(0%, 9.1%, 76%, 52.5%)
CIE-LABlab(46.05, -5.41, 44.03)
CIE-LCHlch(46.05, 44.36, 97.00°)
OKLaboklab(53.31% -0.0195 0.0972)
OKLCHoklch(53.31% 0.099 101.3)
XYZxyz(13.6835, 15.3061, 3.3958)
Luminance0.1531 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#796E1D #1D2879
analogous
#79401D #796E1D #56791D
triadic
#796E1D #1D796E #6E1D79
tetradic
#796E1D #1D7940 #1D2879 #791D56
square
#796E1D #1D7940 #1D2879 #791D56
split-complementary
#796E1D #1D5679 #401D79
monochromatic
#191606 #484111 #796E1D #AA9B29 #D1C03F

Accessibility & contrast

On white

5.17
#796E1D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#796E1D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #796E1D
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##796E1D#FFFFFF#000000##FFFFFF
##796E1D1.005.174.065.17
#FFFFFF5.171.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796B0F
Deuteranopia (green-blind)
#7C6F22
Tritanopia (blue-blind)
#83665E
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #796e1d;
/* rgb */ color: rgb(121, 110, 29);
/* oklch */ color: oklch(53.3% 0.099 101.3);
Tailwind
colors: {
  custom: {
    50: '#a3975f',
    500: '#796e1d',
    950: '#000000',
  },
}
SCSS
$custom: #796e1d;
$custom-light: #a3975f;
$custom-dark: #000000;
JSON
{
  "hex": "#796e1d",
  "rgb": {
    "r": 121,
    "g": 110,
    "b": 29
  },
  "hsl": {
    "h": 52.826,
    "s": 61.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.53308,
    "c": 0.09915,
    "h": 101.3
  },
  "luminance": 0.15306
}

Semantic roles & 50–950 ramp

primary
#796E1D
secondary
#4551AD
accent
#57E443
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#0F0D05
muted
#7F7E79

Preview Lab

Preview with #796E1D

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

Preview Lab → · Contrast checker → · Palette generator →

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