#796F3F#796F3F

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

Color values

HEX#796F3F
RGBrgb(121, 111, 63)
HSLhsl(50, 32%, 36%)
HSVhsv(50, 48%, 47%)
CMYKcmyk(0%, 8.3%, 47.9%, 52.5%)
CIE-LABlab(46.70, -3.30, 28.03)
CIE-LCHlch(46.70, 28.23, 96.72°)
OKLaboklab(53.94% -0.0093 0.0675)
OKLCHoklch(53.94% 0.068 97.9)
XYZxyz(14.4672, 15.7932, 6.9880)
Luminance0.1579 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#796F3F #3F4979
analogous
#79523F #796F3F #66793F
triadic
#796F3F #3F796F #6F3F79
tetradic
#796F3F #3F7952 #3F4979 #793F66
square
#796F3F #3F7952 #3F4979 #793F66
split-complementary
#796F3F #3F6679 #523F79
monochromatic
#292515 #514A2A #796F3F #A19454 #B9AE79

Accessibility & contrast

On white

5.05
#796F3F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#796F3F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #796F3F
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##796F3F#FFFFFF#000000##FFFFFF
##796F3F1.005.054.165.05
#FFFFFF5.051.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.051.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #796f3f;
/* rgb */ color: rgb(121, 111, 63);
/* oklch */ color: oklch(53.9% 0.068 97.9);
Tailwind
colors: {
  custom: {
    50: '#a19875',
    500: '#796f3f',
    950: '#000000',
  },
}
SCSS
$custom: #796f3f;
$custom-light: #a19875;
$custom-dark: #000000;
JSON
{
  "hex": "#796f3f",
  "rgb": {
    "r": 121,
    "g": 111,
    "b": 63
  },
  "hsl": {
    "h": 49.655,
    "s": 31.522,
    "l": 36.078
  },
  "oklch": {
    "l": 0.53941,
    "c": 0.06817,
    "h": 97.9
  },
  "luminance": 0.15793
}

Semantic roles & 50–950 ramp

primary
#796F3F
secondary
#7079A4
accent
#72C860
background
#FAF9F7
surface
#F3F2ED
border
#CDCCC8
text
#0F0D08
muted
#7F7E7B

Preview Lab

Preview with #796F3F

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

Preview Lab → · Contrast checker → · Palette generator →

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