#796A1D#796A1D

#796A1D is a mid, moderate yellow. Relative luminance 0.145; OKLCH L 52.4% C 0.096 H 97.8°. Best body text is #FFFFFF at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#796A1D
RGBrgb(121, 106, 29)
HSLhsl(50, 61%, 29%)
HSVhsv(50, 76%, 47%)
CMYKcmyk(0%, 12.4%, 76%, 52.5%)
CIE-LABlab(44.89, -3.12, 42.91)
CIE-LCHlch(44.89, 43.02, 94.16°)
OKLaboklab(52.39% -0.013 0.0948)
OKLCHoklch(52.39% 0.096 97.8)
XYZxyz(13.2616, 14.4624, 3.2552)
Luminance0.1446 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#796A1D #1D2C79
analogous
#793C1D #796A1D #5A791D
triadic
#796A1D #1D796A #6A1D79
tetradic
#796A1D #1D793C #1D2C79 #791D5A
square
#796A1D #1D793C #1D2C79 #791D5A
split-complementary
#796A1D #1D5A79 #3C1D79
monochromatic
#191606 #483F11 #796A1D #AA9529 #D1B93F

Accessibility & contrast

On white

5.40
#796A1D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#796A1D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #796A1D
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##796A1D#FFFFFF#000000##FFFFFF
##796A1D1.005.403.895.40
#FFFFFF5.401.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#756710
Deuteranopia (green-blind)
#796C22
Tritanopia (blue-blind)
#83625B
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #796a1d;
/* rgb */ color: rgb(121, 106, 29);
/* oklch */ color: oklch(52.4% 0.096 97.8);
Tailwind
colors: {
  custom: {
    50: '#a3945f',
    500: '#796a1d',
    950: '#000000',
  },
}
SCSS
$custom: #796a1d;
$custom-light: #a3945f;
$custom-dark: #000000;
JSON
{
  "hex": "#796a1d",
  "rgb": {
    "r": 121,
    "g": 106,
    "b": 29
  },
  "hsl": {
    "h": 50.217,
    "s": 61.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.52386,
    "c": 0.09573,
    "h": 97.8
  },
  "luminance": 0.14462
}

Semantic roles & 50–950 ramp

primary
#796A1D
secondary
#4556AD
accent
#5EE443
background
#FAF9F5
surface
#F4F1E9
border
#CECBC5
text
#0F0D05
muted
#7F7E79

Preview Lab

Preview with #796A1D

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

Preview Lab → · Contrast checker → · Palette generator →

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