#796D41#796D41

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

Color values

HEX#796D41
RGBrgb(121, 109, 65)
HSLhsl(47, 30%, 36%)
HSVhsv(47, 46%, 47%)
CMYKcmyk(0%, 9.9%, 46.3%, 52.5%)
CIE-LABlab(46.16, -1.93, 26.23)
CIE-LCHlch(46.16, 26.30, 94.21°)
OKLaboklab(53.52% -0.0051 0.0636)
OKLCHoklch(53.52% 0.064 94.6)
XYZxyz(14.3083, 15.3844, 7.2158)
Luminance0.1538 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#796D41 #414D79
analogous
#795141 #796D41 #697941
triadic
#796D41 #41796D #6D4179
tetradic
#796D41 #417951 #414D79 #794169
square
#796D41 #417951 #414D79 #794169
split-complementary
#796D41 #416979 #514179
monochromatic
#292516 #51492C #796D41 #A19156 #B9AC7C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##796D41#FFFFFF#000000##FFFFFF
##796D411.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)
#756B3E
Deuteranopia (green-blind)
#796F43
Tritanopia (blue-blind)
#816762
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #796d41;
/* rgb */ color: rgb(121, 109, 65);
/* oklch */ color: oklch(53.5% 0.064 94.6);
Tailwind
colors: {
  custom: {
    50: '#a19676',
    500: '#796d41',
    950: '#000000',
  },
}
SCSS
$custom: #796d41;
$custom-light: #a19676;
$custom-dark: #000000;
JSON
{
  "hex": "#796d41",
  "rgb": {
    "r": 121,
    "g": 109,
    "b": 65
  },
  "hsl": {
    "h": 47.143,
    "s": 30.108,
    "l": 36.471
  },
  "oklch": {
    "l": 0.53519,
    "c": 0.06382,
    "h": 94.6
  },
  "luminance": 0.15384
}

Semantic roles & 50–950 ramp

primary
#796D41
secondary
#727DA3
accent
#77C661
background
#FAF9F7
surface
#F3F2ED
border
#CDCCC8
text
#0F0D08
muted
#7F7E7B

Preview Lab

Preview with #796D41

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

Preview Lab → · Contrast checker → · Palette generator →

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