#796C2D#796C2D

#796C2D is a mid, moderate yellow. Relative luminance 0.150; OKLCH L 53.0% C 0.084 H 97.7°. Best body text is #FFFFFF at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#796C2D
RGBrgb(121, 108, 45)
HSLhsl(50, 46%, 33%)
HSVhsv(50, 63%, 47%)
CMYKcmyk(0%, 10.7%, 62.8%, 52.5%)
CIE-LABlab(45.61, -3.25, 36.31)
CIE-LCHlch(45.61, 36.45, 95.11°)
OKLaboklab(53% -0.0114 0.0837)
OKLCHoklch(53% 0.084 97.7)
XYZxyz(13.7219, 14.9801, 4.6508)
Luminance0.1498 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#796C2D #2D3A79
analogous
#79462D #796C2D #60792D
triadic
#796C2D #2D796C #6C2D79
tetradic
#796C2D #2D7946 #2D3A79 #792D60
square
#796C2D #2D7946 #2D3A79 #792D60
split-complementary
#796C2D #2D6079 #462D79
monochromatic
#201C0C #4C441C #796C2D #A6943E #C3B25D

Accessibility & contrast

On white

5.26
#796C2D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#796C2D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #796C2D
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##796C2D#FFFFFF#000000##FFFFFF
##796C2D1.005.264.005.26
#FFFFFF5.261.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#766926
Deuteranopia (green-blind)
#7A6E30
Tritanopia (blue-blind)
#82645E
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #796c2d;
/* rgb */ color: rgb(121, 108, 45);
/* oklch */ color: oklch(53.0% 0.084 97.7);
Tailwind
colors: {
  custom: {
    50: '#a29569',
    500: '#796c2d',
    950: '#000000',
  },
}
SCSS
$custom: #796c2d;
$custom-light: #a29569;
$custom-dark: #000000;
JSON
{
  "hex": "#796c2d",
  "rgb": {
    "r": 121,
    "g": 108,
    "b": 45
  },
  "hsl": {
    "h": 49.737,
    "s": 45.783,
    "l": 32.549
  },
  "oklch": {
    "l": 0.53,
    "c": 0.08444,
    "h": 97.7
  },
  "luminance": 0.1498
}

Semantic roles & 50–950 ramp

primary
#796C2D
secondary
#5866A9
accent
#69D552
background
#FAF9F6
surface
#F4F1EB
border
#CECBC6
text
#0F0D06
muted
#7F7E7A

Preview Lab

Preview with #796C2D

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

Preview Lab → · Contrast checker → · Palette generator →

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