#796D38#796D38

#796D38 is a mid, moderate yellow. Relative luminance 0.153; OKLCH L 53.4% C 0.074 H 96.9°. Best body text is #FFFFFF at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#796D38
RGBrgb(121, 109, 56)
HSLhsl(49, 37%, 35%)
HSVhsv(49, 54%, 47%)
CMYKcmyk(0%, 9.9%, 53.7%, 52.5%)
CIE-LABlab(46.03, -2.87, 31.04)
CIE-LCHlch(46.03, 31.18, 95.28°)
OKLaboklab(53.37% -0.0089 0.0736)
OKLCHoklch(53.37% 0.074 96.9)
XYZxyz(14.0681, 15.2883, 5.9505)
Luminance0.1529 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#796D38 #384479
analogous
#794D38 #796D38 #657938
triadic
#796D38 #38796D #6D3879
tetradic
#796D38 #38794D #384479 #793865
square
#796D38 #38794D #384479 #793865
split-complementary
#796D38 #386579 #4D3879
monochromatic
#252211 #4F4725 #796D38 #A3934B #BCAE6F

Accessibility & contrast

On white

5.18
#796D38 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#796D38 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #796D38
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##796D38#FFFFFF#000000##FFFFFF
##796D381.005.184.065.18
#FFFFFF5.181.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#766B33
Deuteranopia (green-blind)
#796F3A
Tritanopia (blue-blind)
#816661
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #796d38;
/* rgb */ color: rgb(121, 109, 56);
/* oklch */ color: oklch(53.4% 0.074 96.9);
Tailwind
colors: {
  custom: {
    50: '#a19670',
    500: '#796d38',
    950: '#000000',
  },
}
SCSS
$custom: #796d38;
$custom-light: #a19670;
$custom-dark: #000000;
JSON
{
  "hex": "#796d38",
  "rgb": {
    "r": 121,
    "g": 109,
    "b": 56
  },
  "hsl": {
    "h": 48.923,
    "s": 36.723,
    "l": 34.706
  },
  "oklch": {
    "l": 0.53374,
    "c": 0.07414,
    "h": 96.9
  },
  "luminance": 0.15288
}

Semantic roles & 50–950 ramp

primary
#796D38
secondary
#6773A5
accent
#70CD5B
background
#FAF9F6
surface
#F4F2EC
border
#CECCC7
text
#0F0D07
muted
#7F7E7A

Preview Lab

Preview with #796D38

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

Preview Lab → · Contrast checker → · Palette generator →

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