#796E36#796E36

#796E36 is a mid, moderate yellow. Relative luminance 0.155; OKLCH L 53.6% C 0.077 H 98.4°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#796E36
RGBrgb(121, 110, 54)
HSLhsl(50, 38%, 34%)
HSVhsv(50, 55%, 47%)
CMYKcmyk(0%, 9.1%, 55.4%, 52.5%)
CIE-LABlab(46.29, -3.63, 32.43)
CIE-LCHlch(46.29, 32.63, 96.39°)
OKLaboklab(53.57% -0.0113 0.0764)
OKLCHoklch(53.57% 0.077 98.4)
XYZxyz(14.1274, 15.4837, 5.7338)
Luminance0.1548 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#796E36 #364179
analogous
#794D36 #796E36 #637936
triadic
#796E36 #36796E #6E3679
tetradic
#796E36 #36794D #364179 #793663
square
#796E36 #36794D #364179 #793663
split-complementary
#796E36 #366379 #4D3679
monochromatic
#242110 #4F4823 #796E36 #A39449 #BDB06C

Accessibility & contrast

On white

5.13
#796E36 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#796E36 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #796E36
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##796E36#FFFFFF#000000##FFFFFF
##796E361.005.134.105.13
#FFFFFF5.131.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#776B31
Deuteranopia (green-blind)
#7A6F38
Tritanopia (blue-blind)
#826761
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #796e36;
/* rgb */ color: rgb(121, 110, 54);
/* oklch */ color: oklch(53.6% 0.077 98.4);
Tailwind
colors: {
  custom: {
    50: '#a1976f',
    500: '#796e36',
    950: '#000000',
  },
}
SCSS
$custom: #796e36;
$custom-light: #a1976f;
$custom-dark: #000000;
JSON
{
  "hex": "#796e36",
  "rgb": {
    "r": 121,
    "g": 110,
    "b": 54
  },
  "hsl": {
    "h": 50.149,
    "s": 38.286,
    "l": 34.314
  },
  "oklch": {
    "l": 0.53574,
    "c": 0.07727,
    "h": 98.4
  },
  "luminance": 0.15483
}

Semantic roles & 50–950 ramp

primary
#796E36
secondary
#6570A6
accent
#6DCE5A
background
#FAF9F6
surface
#F4F2EC
border
#CECCC7
text
#0F0D07
muted
#7F7E7A

Preview Lab

Preview with #796E36

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

Preview Lab → · Contrast checker → · Palette generator →

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