#796E1A#796E1A

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

Color values

HEX#796E1A
RGBrgb(121, 110, 26)
HSLhsl(53, 65%, 29%)
HSVhsv(53, 79%, 47%)
CMYKcmyk(0%, 9.1%, 78.5%, 52.5%)
CIE-LABlab(46.03, -5.55, 45.17)
CIE-LCHlch(46.03, 45.51, 97.00°)
OKLaboklab(53.29% -0.0202 0.099)
OKLCHoklch(53.29% 0.101 101.5)
XYZxyz(13.6482, 15.2920, 3.2098)
Luminance0.1529 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#796E1A #1A2579
analogous
#793F1A #796E1A #55791A
triadic
#796E1A #1A796E #6E1A79
tetradic
#796E1A #1A793F #1A2579 #791A55
square
#796E1A #1A793F #1A2579 #791A55
split-complementary
#796E1A #1A5579 #3F1A79
monochromatic
#191705 #47400F #796E1A #AB9C25 #D4C239

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##796E1A#FFFFFF#000000##FFFFFF
##796E1A1.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)
#796A09
Deuteranopia (green-blind)
#7C6F20
Tritanopia (blue-blind)
#83665E
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #796e1a;
/* rgb */ color: rgb(121, 110, 26);
/* oklch */ color: oklch(53.3% 0.101 101.5);
Tailwind
colors: {
  custom: {
    50: '#a3975e',
    500: '#796e1a',
    950: '#000000',
  },
}
SCSS
$custom: #796e1a;
$custom-light: #a3975e;
$custom-dark: #000000;
JSON
{
  "hex": "#796e1a",
  "rgb": {
    "r": 121,
    "g": 110,
    "b": 26
  },
  "hsl": {
    "h": 53.053,
    "s": 64.626,
    "l": 28.824
  },
  "oklch": {
    "l": 0.53287,
    "c": 0.10106,
    "h": 101.5
  },
  "luminance": 0.15291
}

Semantic roles & 50–950 ramp

primary
#796E1A
secondary
#414EAD
accent
#54E840
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100D05
muted
#7F7E79

Preview Lab

Preview with #796E1A

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

Preview Lab → · Contrast checker → · Palette generator →

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