#796D2E#796D2E

#796D2E is a mid, moderate yellow. Relative luminance 0.152; OKLCH L 53.2% C 0.084 H 98.6°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#796D2E
RGBrgb(121, 109, 46)
HSLhsl(50, 45%, 33%)
HSVhsv(50, 62%, 47%)
CMYKcmyk(0%, 9.9%, 62%, 52.5%)
CIE-LABlab(45.91, -3.74, 36.14)
CIE-LCHlch(45.91, 36.33, 95.92°)
OKLaboklab(53.24% -0.0126 0.0835)
OKLCHoklch(53.24% 0.084 98.6)
XYZxyz(13.8475, 15.2001, 4.7887)
Luminance0.1520 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#796D2E #2E3A79
analogous
#79472E #796D2E #5F792E
triadic
#796D2E #2E796D #6D2E79
tetradic
#796D2E #2E7947 #2E3A79 #792E5F
square
#796D2E #2E7947 #2E3A79 #792E5F
split-complementary
#796D2E #2E5F79 #472E79
monochromatic
#201D0C #4D451D #796D2E #A5953F #C2B25F

Accessibility & contrast

On white

5.20
#796D2E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#796D2E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #796D2E
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##796D2E#FFFFFF#000000##FFFFFF
##796D2E1.005.204.045.20
#FFFFFF5.201.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#776A27
Deuteranopia (green-blind)
#7A6F31
Tritanopia (blue-blind)
#82655F
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #796d2e;
/* rgb */ color: rgb(121, 109, 46);
/* oklch */ color: oklch(53.2% 0.084 98.6);
Tailwind
colors: {
  custom: {
    50: '#a29669',
    500: '#796d2e',
    950: '#000000',
  },
}
SCSS
$custom: #796d2e;
$custom-light: #a29669;
$custom-dark: #000000;
JSON
{
  "hex": "#796d2e",
  "rgb": {
    "r": 121,
    "g": 109,
    "b": 46
  },
  "hsl": {
    "h": 50.4,
    "s": 44.91,
    "l": 32.745
  },
  "oklch": {
    "l": 0.53241,
    "c": 0.08441,
    "h": 98.6
  },
  "luminance": 0.15199
}

Semantic roles & 50–950 ramp

primary
#796D2E
secondary
#5A67A9
accent
#68D553
background
#FAF9F6
surface
#F4F1EB
border
#CECBC6
text
#0F0D06
muted
#7F7E7A

Preview Lab

Preview with #796D2E

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

Preview Lab → · Contrast checker → · Palette generator →

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