#796E2A#796E2A

#796E2A is a mid, moderate yellow. Relative luminance 0.154; OKLCH L 53.4% C 0.089 H 100.1°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#796E2A
RGBrgb(121, 110, 42)
HSLhsl(52, 48%, 32%)
HSVhsv(52, 65%, 47%)
CMYKcmyk(0%, 9.1%, 65.3%, 52.5%)
CIE-LABlab(46.16, -4.62, 38.39)
CIE-LCHlch(46.16, 38.66, 96.86°)
OKLaboklab(53.43% -0.0157 0.0877)
OKLCHoklch(53.43% 0.089 100.1)
XYZxyz(13.8796, 15.3846, 4.4285)
Luminance0.1538 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#796E2A #2A3579
analogous
#79472A #796E2A #5C792A
triadic
#796E2A #2A796E #6E2A79
tetradic
#796E2A #2A7947 #2A3579 #792A5C
square
#796E2A #2A7947 #2A3579 #792A5C
split-complementary
#796E2A #2A5C79 #472A79
monochromatic
#1E1B0A #4C451A #796E2A #A6973A #C5B658

Accessibility & contrast

On white

5.15
#796E2A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#796E2A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #796E2A
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##796E2A#FFFFFF#000000##FFFFFF
##796E2A1.005.154.085.15
#FFFFFF5.151.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786B22
Deuteranopia (green-blind)
#7B6F2E
Tritanopia (blue-blind)
#826660
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #796e2a;
/* rgb */ color: rgb(121, 110, 42);
/* oklch */ color: oklch(53.4% 0.089 100.1);
Tailwind
colors: {
  custom: {
    50: '#a29767',
    500: '#796e2a',
    950: '#000000',
  },
}
SCSS
$custom: #796e2a;
$custom-light: #a29767;
$custom-dark: #000000;
JSON
{
  "hex": "#796e2a",
  "rgb": {
    "r": 121,
    "g": 110,
    "b": 42
  },
  "hsl": {
    "h": 51.646,
    "s": 48.466,
    "l": 31.961
  },
  "oklch": {
    "l": 0.53426,
    "c": 0.08904,
    "h": 100.1
  },
  "luminance": 0.15384
}

Semantic roles & 50–950 ramp

primary
#796E2A
secondary
#5460AB
accent
#63D850
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#0F0D06
muted
#7F7E7A

Preview Lab

Preview with #796E2A

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

Preview Lab → · Contrast checker → · Palette generator →

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