#796D1D#796D1D

#796D1D is a mid, moderate yellow. Relative luminance 0.151; OKLCH L 53.1% C 0.098 H 100.5°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#796D1D
RGBrgb(121, 109, 29)
HSLhsl(52, 61%, 29%)
HSVhsv(52, 76%, 47%)
CMYKcmyk(0%, 9.9%, 76%, 52.5%)
CIE-LABlab(45.76, -4.84, 43.75)
CIE-LCHlch(45.76, 44.02, 96.31°)
OKLaboklab(53.08% -0.0179 0.0966)
OKLCHoklch(53.08% 0.098 100.5)
XYZxyz(13.5762, 15.0916, 3.3600)
Luminance0.1509 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#796D1D #1D2979
analogous
#793F1D #796D1D #57791D
triadic
#796D1D #1D796D #6D1D79
tetradic
#796D1D #1D793F #1D2979 #791D57
square
#796D1D #1D793F #1D2979 #791D57
split-complementary
#796D1D #1D5779 #3F1D79
monochromatic
#191606 #484111 #796D1D #AA9929 #D1BE3F

Accessibility & contrast

On white

5.23
#796D1D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#796D1D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #796D1D
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##796D1D#FFFFFF#000000##FFFFFF
##796D1D1.005.234.025.23
#FFFFFF5.231.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786A0F
Deuteranopia (green-blind)
#7B6E22
Tritanopia (blue-blind)
#83655D
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #796d1d;
/* rgb */ color: rgb(121, 109, 29);
/* oklch */ color: oklch(53.1% 0.098 100.5);
Tailwind
colors: {
  custom: {
    50: '#a3965f',
    500: '#796d1d',
    950: '#000000',
  },
}
SCSS
$custom: #796d1d;
$custom-light: #a3965f;
$custom-dark: #000000;
JSON
{
  "hex": "#796d1d",
  "rgb": {
    "r": 121,
    "g": 109,
    "b": 29
  },
  "hsl": {
    "h": 52.174,
    "s": 61.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.53077,
    "c": 0.09826,
    "h": 100.5
  },
  "luminance": 0.15091
}

Semantic roles & 50–950 ramp

primary
#796D1D
secondary
#4553AD
accent
#58E443
background
#FAF9F5
surface
#F4F1EA
border
#CECBC6
text
#0F0D05
muted
#7F7E79

Preview Lab

Preview with #796D1D

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

Preview Lab → · Contrast checker → · Palette generator →

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