#796E2D#796E2D

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

Color values

HEX#796E2D
RGBrgb(121, 110, 45)
HSLhsl(51, 46%, 33%)
HSVhsv(51, 63%, 47%)
CMYKcmyk(0%, 9.1%, 62.8%, 52.5%)
CIE-LABlab(46.19, -4.39, 36.95)
CIE-LCHlch(46.19, 37.21, 96.78°)
OKLaboklab(53.46% -0.0146 0.0851)
OKLCHoklch(53.46% 0.086 99.8)
XYZxyz(13.9353, 15.4069, 4.7219)
Luminance0.1541 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#796E2D #2D3879
analogous
#79482D #796E2D #5E792D
triadic
#796E2D #2D796E #6E2D79
tetradic
#796E2D #2D7948 #2D3879 #792D5E
square
#796E2D #2D7948 #2D3879 #792D5E
split-complementary
#796E2D #2D5E79 #482D79
monochromatic
#201D0C #4C451C #796E2D #A6973E #C3B45D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##796E2D#FFFFFF#000000##FFFFFF
##796E2D1.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)
#786B26
Deuteranopia (green-blind)
#7B6F30
Tritanopia (blue-blind)
#826660
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #796e2d;
/* rgb */ color: rgb(121, 110, 45);
/* oklch */ color: oklch(53.5% 0.086 99.8);
Tailwind
colors: {
  custom: {
    50: '#a29769',
    500: '#796e2d',
    950: '#000000',
  },
}
SCSS
$custom: #796e2d;
$custom-light: #a29769;
$custom-dark: #000000;
JSON
{
  "hex": "#796e2d",
  "rgb": {
    "r": 121,
    "g": 110,
    "b": 45
  },
  "hsl": {
    "h": 51.316,
    "s": 45.783,
    "l": 32.549
  },
  "oklch": {
    "l": 0.53459,
    "c": 0.0863,
    "h": 99.8
  },
  "luminance": 0.15406
}

Semantic roles & 50–950 ramp

primary
#796E2D
secondary
#5864A9
accent
#65D552
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#0F0D06
muted
#7F7E7A

Preview Lab

Preview with #796E2D

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

Preview Lab → · Contrast checker → · Palette generator →

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