#796A2E#796A2E

#796A2E is a mid, moderate yellow. Relative luminance 0.146; OKLCH L 52.6% C 0.082 H 95.4°. Best body text is #FFFFFF at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#796A2E
RGBrgb(121, 106, 46)
HSLhsl(48, 45%, 33%)
HSVhsv(48, 62%, 47%)
CMYKcmyk(0%, 12.4%, 62%, 52.5%)
CIE-LABlab(45.04, -2.02, 35.17)
CIE-LCHlch(45.04, 35.22, 93.29°)
OKLaboklab(52.55% -0.0077 0.0814)
OKLCHoklch(52.55% 0.082 95.4)
XYZxyz(13.5329, 14.5709, 4.6839)
Luminance0.1457 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#796A2E #2E3D79
analogous
#79442E #796A2E #62792E
triadic
#796A2E #2E796A #6A2E79
tetradic
#796A2E #2E7944 #2E3D79 #792E62
square
#796A2E #2E7944 #2E3D79 #792E62
split-complementary
#796A2E #2E6279 #442E79
monochromatic
#201C0C #4D431D #796A2E #A5913F #C2AE5F

Accessibility & contrast

On white

5.37
#796A2E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#796A2E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #796A2E
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##796A2E#FFFFFF#000000##FFFFFF
##796A2E1.005.373.915.37
#FFFFFF5.371.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#746828
Deuteranopia (green-blind)
#786D31
Tritanopia (blue-blind)
#82625D
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #796a2e;
/* rgb */ color: rgb(121, 106, 46);
/* oklch */ color: oklch(52.6% 0.082 95.4);
Tailwind
colors: {
  custom: {
    50: '#a29469',
    500: '#796a2e',
    950: '#000000',
  },
}
SCSS
$custom: #796a2e;
$custom-light: #a29469;
$custom-dark: #000000;
JSON
{
  "hex": "#796a2e",
  "rgb": {
    "r": 121,
    "g": 106,
    "b": 46
  },
  "hsl": {
    "h": 48,
    "s": 44.91,
    "l": 32.745
  },
  "oklch": {
    "l": 0.52555,
    "c": 0.08173,
    "h": 95.4
  },
  "luminance": 0.1457
}

Semantic roles & 50–950 ramp

primary
#796A2E
secondary
#5A6AA9
accent
#6DD553
background
#FAF9F6
surface
#F4F1EB
border
#CECBC6
text
#0F0D06
muted
#7F7E7A

Preview Lab

Preview with #796A2E

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

Preview Lab → · Contrast checker → · Palette generator →

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