#796F1E#796F1E

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

Color values

HEX#796F1E
RGBrgb(121, 111, 30)
HSLhsl(53, 60%, 30%)
HSVhsv(53, 75%, 47%)
CMYKcmyk(0%, 8.3%, 75.2%, 52.5%)
CIE-LABlab(46.35, -5.92, 43.92)
CIE-LCHlch(46.35, 44.32, 97.68°)
OKLaboklab(53.55% -0.0208 0.0972)
OKLCHoklch(53.55% 0.099 102.1)
XYZxyz(13.8046, 15.5282, 3.4981)
Luminance0.1553 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#796F1E #1E2879
analogous
#79421E #796F1E #55791E
triadic
#796F1E #1E796F #6F1E79
tetradic
#796F1E #1E7942 #1E2879 #791E55
square
#796F1E #1E7942 #1E2879 #791E55
split-complementary
#796F1E #1E5579 #421E79
monochromatic
#191606 #484212 #796F1E #AA9C2A #D0C041

Accessibility & contrast

On white

5.11
#796F1E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.11
#796F1E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #796F1E
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##796F1E#FFFFFF#000000##FFFFFF
##796F1E1.005.114.115.11
#FFFFFF5.111.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.111.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #796f1e;
/* rgb */ color: rgb(121, 111, 30);
/* oklch */ color: oklch(53.5% 0.099 102.1);
Tailwind
colors: {
  custom: {
    50: '#a39860',
    500: '#796f1e',
    950: '#000000',
  },
}
SCSS
$custom: #796f1e;
$custom-light: #a39860;
$custom-dark: #000000;
JSON
{
  "hex": "#796f1e",
  "rgb": {
    "r": 121,
    "g": 111,
    "b": 30
  },
  "hsl": {
    "h": 53.407,
    "s": 60.265,
    "l": 29.608
  },
  "oklch": {
    "l": 0.53547,
    "c": 0.09939,
    "h": 102.1
  },
  "luminance": 0.15528
}

Semantic roles & 50–950 ramp

primary
#796F1E
secondary
#4651AD
accent
#56E344
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#0F0D05
muted
#7F7E79

Preview Lab

Preview with #796F1E

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

Preview Lab → · Contrast checker → · Palette generator →

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