#796D1E#796D1E

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

Color values

HEX#796D1E
RGBrgb(121, 109, 30)
HSLhsl(52, 60%, 30%)
HSVhsv(52, 75%, 47%)
CMYKcmyk(0%, 9.9%, 75.2%, 52.5%)
CIE-LABlab(45.77, -4.79, 43.35)
CIE-LCHlch(45.77, 43.62, 96.30°)
OKLaboklab(53.08% -0.0176 0.096)
OKLCHoklch(53.08% 0.098 100.4)
XYZxyz(13.5888, 15.0966, 3.4262)
Luminance0.1510 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#796D1E #1E2A79
analogous
#79401E #796D1E #58791E
triadic
#796D1E #1E796D #6D1E79
tetradic
#796D1E #1E7940 #1E2A79 #791E58
square
#796D1E #1E7940 #1E2A79 #791E58
split-complementary
#796D1E #1E5879 #401E79
monochromatic
#191606 #484112 #796D1E #AA992A #D0BD41

Accessibility & contrast

On white

5.22
#796D1E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #796D1E
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##796D1E#FFFFFF#000000##FFFFFF
##796D1E1.005.224.025.22
#FFFFFF5.221.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #796d1e;
/* rgb */ color: rgb(121, 109, 30);
/* oklch */ color: oklch(53.1% 0.098 100.4);
Tailwind
colors: {
  custom: {
    50: '#a39660',
    500: '#796d1e',
    950: '#000000',
  },
}
SCSS
$custom: #796d1e;
$custom-light: #a39660;
$custom-dark: #000000;
JSON
{
  "hex": "#796d1e",
  "rgb": {
    "r": 121,
    "g": 109,
    "b": 30
  },
  "hsl": {
    "h": 52.088,
    "s": 60.265,
    "l": 29.608
  },
  "oklch": {
    "l": 0.53084,
    "c": 0.09759,
    "h": 100.4
  },
  "luminance": 0.15096
}

Semantic roles & 50–950 ramp

primary
#796D1E
secondary
#4654AD
accent
#59E344
background
#FAF9F5
surface
#F4F1EA
border
#CECBC6
text
#0F0D05
muted
#7F7E79

Preview Lab

Preview with #796D1E

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

Preview Lab → · Contrast checker → · Palette generator →

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