#796E1E#796E1E

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

Color values

HEX#796E1E
RGBrgb(121, 110, 30)
HSLhsl(53, 60%, 30%)
HSVhsv(53, 75%, 47%)
CMYKcmyk(0%, 9.1%, 75.2%, 52.5%)
CIE-LABlab(46.06, -5.36, 43.64)
CIE-LCHlch(46.06, 43.96, 97.00°)
OKLaboklab(53.32% -0.0192 0.0966)
OKLCHoklch(53.32% 0.098 101.3)
XYZxyz(13.6961, 15.3112, 3.4620)
Luminance0.1531 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#796E1E #1E2979
analogous
#79401E #796E1E #57791E
triadic
#796E1E #1E796E #6E1E79
tetradic
#796E1E #1E7940 #1E2979 #791E57
square
#796E1E #1E7940 #1E2979 #791E57
split-complementary
#796E1E #1E5779 #401E79
monochromatic
#191606 #484112 #796E1E #AA9B2A #D0BF41

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##796E1E#FFFFFF#000000##FFFFFF
##796E1E1.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)
#796B11
Deuteranopia (green-blind)
#7C6F23
Tritanopia (blue-blind)
#83665E
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #796e1e;
/* rgb */ color: rgb(121, 110, 30);
/* oklch */ color: oklch(53.3% 0.098 101.3);
Tailwind
colors: {
  custom: {
    50: '#a39760',
    500: '#796e1e',
    950: '#000000',
  },
}
SCSS
$custom: #796e1e;
$custom-light: #a39760;
$custom-dark: #000000;
JSON
{
  "hex": "#796e1e",
  "rgb": {
    "r": 121,
    "g": 110,
    "b": 30
  },
  "hsl": {
    "h": 52.747,
    "s": 60.265,
    "l": 29.608
  },
  "oklch": {
    "l": 0.53316,
    "c": 0.09847,
    "h": 101.3
  },
  "luminance": 0.15311
}

Semantic roles & 50–950 ramp

primary
#796E1E
secondary
#4653AD
accent
#58E344
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#0F0D05
muted
#7F7E79

Preview Lab

Preview with #796E1E

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

Preview Lab → · Contrast checker → · Palette generator →

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