#796F3D#796F3D

#796F3D is a mid, moderate yellow. Relative luminance 0.158; OKLCH L 53.9% C 0.070 H 98.3°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#796F3D
RGBrgb(121, 111, 61)
HSLhsl(50, 33%, 36%)
HSVhsv(50, 50%, 47%)
CMYKcmyk(0%, 8.3%, 49.6%, 52.5%)
CIE-LABlab(46.67, -3.52, 29.10)
CIE-LCHlch(46.67, 29.31, 96.89°)
OKLaboklab(53.91% -0.0102 0.0698)
OKLCHoklch(53.91% 0.071 98.3)
XYZxyz(14.4123, 15.7713, 6.6990)
Luminance0.1577 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#796F3D #3D4779
analogous
#79513D #796F3D #65793D
triadic
#796F3D #3D796F #6F3D79
tetradic
#796F3D #3D7951 #3D4779 #793D65
square
#796F3D #3D7951 #3D4779 #793D65
split-complementary
#796F3D #3D6579 #513D79
monochromatic
#282414 #504A28 #796F3D #A29452 #BAAF76

Accessibility & contrast

On white

5.06
#796F3D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#796F3D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #796F3D
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##796F3D#FFFFFF#000000##FFFFFF
##796F3D1.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786D39
Deuteranopia (green-blind)
#7B703F
Tritanopia (blue-blind)
#816963
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #796f3d;
/* rgb */ color: rgb(121, 111, 61);
/* oklch */ color: oklch(53.9% 0.070 98.3);
Tailwind
colors: {
  custom: {
    50: '#a19873',
    500: '#796f3d',
    950: '#000000',
  },
}
SCSS
$custom: #796f3d;
$custom-light: #a19873;
$custom-dark: #000000;
JSON
{
  "hex": "#796f3d",
  "rgb": {
    "r": 121,
    "g": 111,
    "b": 61
  },
  "hsl": {
    "h": 50,
    "s": 32.967,
    "l": 35.686
  },
  "oklch": {
    "l": 0.53908,
    "c": 0.0705,
    "h": 98.3
  },
  "luminance": 0.15771
}

Semantic roles & 50–950 ramp

primary
#796F3D
secondary
#6E77A4
accent
#70C95F
background
#FAF9F7
surface
#F3F2ED
border
#CDCCC8
text
#0F0D08
muted
#7F7E7B

Preview Lab

Preview with #796F3D

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

Preview Lab → · Contrast checker → · Palette generator →

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