#796A1E#796A1E

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

Color values

HEX#796A1E
RGBrgb(121, 106, 30)
HSLhsl(50, 60%, 30%)
HSVhsv(50, 75%, 47%)
CMYKcmyk(0%, 12.4%, 75.2%, 52.5%)
CIE-LABlab(44.90, -3.07, 42.50)
CIE-LCHlch(44.90, 42.61, 94.13°)
OKLaboklab(52.39% -0.0127 0.0942)
OKLCHoklch(52.39% 0.095 97.7)
XYZxyz(13.2742, 14.4674, 3.3213)
Luminance0.1447 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#796A1E #1E2D79
analogous
#793D1E #796A1E #5B791E
triadic
#796A1E #1E796A #6A1E79
tetradic
#796A1E #1E793D #1E2D79 #791E5B
square
#796A1E #1E793D #1E2D79 #791E5B
split-complementary
#796A1E #1E5B79 #3D1E79
monochromatic
#191506 #483F12 #796A1E #AA952A #D0B841

Accessibility & contrast

On white

5.39
#796A1E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #796A1E
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##796A1E#FFFFFF#000000##FFFFFF
##796A1E1.005.393.895.39
#FFFFFF5.391.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.391.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #796a1e;
/* rgb */ color: rgb(121, 106, 30);
/* oklch */ color: oklch(52.4% 0.095 97.7);
Tailwind
colors: {
  custom: {
    50: '#a3945f',
    500: '#796a1e',
    950: '#000000',
  },
}
SCSS
$custom: #796a1e;
$custom-light: #a3945f;
$custom-dark: #000000;
JSON
{
  "hex": "#796a1e",
  "rgb": {
    "r": 121,
    "g": 106,
    "b": 30
  },
  "hsl": {
    "h": 50.11,
    "s": 60.265,
    "l": 29.608
  },
  "oklch": {
    "l": 0.52394,
    "c": 0.09505,
    "h": 97.7
  },
  "luminance": 0.14467
}

Semantic roles & 50–950 ramp

primary
#796A1E
secondary
#4657AD
accent
#5FE344
background
#FAF9F5
surface
#F4F1EA
border
#CECBC6
text
#0F0D05
muted
#7F7E79

Preview Lab

Preview with #796A1E

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

Preview Lab → · Contrast checker → · Palette generator →

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