#796F2D#796F2D

#796F2D is a mid, moderate yellow. Relative luminance 0.156; OKLCH L 53.7% C 0.087 H 100.7°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#796F2D
RGBrgb(121, 111, 45)
HSLhsl(52, 46%, 33%)
HSVhsv(52, 63%, 47%)
CMYKcmyk(0%, 8.3%, 62.8%, 52.5%)
CIE-LABlab(46.48, -4.96, 37.27)
CIE-LCHlch(46.48, 37.60, 97.59°)
OKLaboklab(53.69% -0.0163 0.0857)
OKLCHoklch(53.69% 0.087 100.7)
XYZxyz(14.0438, 15.6239, 4.7581)
Luminance0.1562 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#796F2D #2D3779
analogous
#79492D #796F2D #5D792D
triadic
#796F2D #2D796F #6F2D79
tetradic
#796F2D #2D7949 #2D3779 #792D5D
square
#796F2D #2D7949 #2D3779 #792D5D
split-complementary
#796F2D #2D5D79 #492D79
monochromatic
#201D0C #4C461C #796F2D #A6983E #C3B65D

Accessibility & contrast

On white

5.09
#796F2D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#796F2D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #796F2D
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##796F2D#FFFFFF#000000##FFFFFF
##796F2D1.005.094.125.09
#FFFFFF5.091.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796C26
Deuteranopia (green-blind)
#7C7030
Tritanopia (blue-blind)
#826761
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #796f2d;
/* rgb */ color: rgb(121, 111, 45);
/* oklch */ color: oklch(53.7% 0.087 100.7);
Tailwind
colors: {
  custom: {
    50: '#a29869',
    500: '#796f2d',
    950: '#000000',
  },
}
SCSS
$custom: #796f2d;
$custom-light: #a29869;
$custom-dark: #000000;
JSON
{
  "hex": "#796f2d",
  "rgb": {
    "r": 121,
    "g": 111,
    "b": 45
  },
  "hsl": {
    "h": 52.105,
    "s": 45.783,
    "l": 32.549
  },
  "oklch": {
    "l": 0.5369,
    "c": 0.08727,
    "h": 100.7
  },
  "luminance": 0.15623
}

Semantic roles & 50–950 ramp

primary
#796F2D
secondary
#5863A9
accent
#64D552
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#0F0D06
muted
#7F7E7A

Preview Lab

Preview with #796F2D

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

Preview Lab → · Contrast checker → · Palette generator →

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