#796E37#796E37

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

Color values

HEX#796E37
RGBrgb(121, 110, 55)
HSLhsl(50, 38%, 35%)
HSVhsv(50, 55%, 47%)
CMYKcmyk(0%, 9.1%, 54.5%, 52.5%)
CIE-LABlab(46.30, -3.54, 31.91)
CIE-LCHlch(46.30, 32.11, 96.33°)
OKLaboklab(53.59% -0.0109 0.0754)
OKLCHoklch(53.59% 0.076 98.2)
XYZxyz(14.1511, 15.4932, 5.8588)
Luminance0.1549 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#796E37 #374279
analogous
#794D37 #796E37 #637937
triadic
#796E37 #37796E #6E3779
tetradic
#796E37 #37794D #374279 #793763
square
#796E37 #37794D #374279 #793763
split-complementary
#796E37 #376379 #4D3779
monochromatic
#252211 #4F4824 #796E37 #A3944A #BDB06E

Accessibility & contrast

On white

5.12
#796E37 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #796E37
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##796E37#FFFFFF#000000##FFFFFF
##796E371.005.124.105.12
#FFFFFF5.121.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#776B32
Deuteranopia (green-blind)
#7A6F39
Tritanopia (blue-blind)
#816761
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #796e37;
/* rgb */ color: rgb(121, 110, 55);
/* oklch */ color: oklch(53.6% 0.076 98.2);
Tailwind
colors: {
  custom: {
    50: '#a1976f',
    500: '#796e37',
    950: '#000000',
  },
}
SCSS
$custom: #796e37;
$custom-light: #a1976f;
$custom-dark: #000000;
JSON
{
  "hex": "#796e37",
  "rgb": {
    "r": 121,
    "g": 110,
    "b": 55
  },
  "hsl": {
    "h": 50,
    "s": 37.5,
    "l": 34.51
  },
  "oklch": {
    "l": 0.53588,
    "c": 0.0762,
    "h": 98.2
  },
  "luminance": 0.15493
}

Semantic roles & 50–950 ramp

primary
#796E37
secondary
#6671A6
accent
#6ECD5A
background
#FAF9F6
surface
#F4F2EC
border
#CECCC7
text
#0F0D07
muted
#7F7E7A

Preview Lab

Preview with #796E37

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

Preview Lab → · Contrast checker → · Palette generator →

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