#796D33#796D33

#796D33 is a mid, moderate yellow. Relative luminance 0.152; OKLCH L 53.3% C 0.079 H 97.8°. Best body text is #FFFFFF at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#796D33
RGBrgb(121, 109, 51)
HSLhsl(50, 41%, 34%)
HSVhsv(50, 58%, 47%)
CMYKcmyk(0%, 9.9%, 57.9%, 52.5%)
CIE-LABlab(45.96, -3.33, 33.63)
CIE-LCHlch(45.96, 33.80, 95.65°)
OKLaboklab(53.3% -0.0108 0.0787)
OKLCHoklch(53.3% 0.079 97.8)
XYZxyz(13.9518, 15.2418, 5.3384)
Luminance0.1524 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#796D33 #333F79
analogous
#794A33 #796D33 #627933
triadic
#796D33 #33796D #6D3379
tetradic
#796D33 #33794A #333F79 #793362
square
#796D33 #33794A #333F79 #793362
split-complementary
#796D33 #336279 #4A3379
monochromatic
#231F0F #4E4621 #796D33 #A49445 #BFB067

Accessibility & contrast

On white

5.19
#796D33 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#796D33 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #796D33
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##796D33#FFFFFF#000000##FFFFFF
##796D331.005.194.055.19
#FFFFFF5.191.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#776A2D
Deuteranopia (green-blind)
#7A6F36
Tritanopia (blue-blind)
#826660
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #796d33;
/* rgb */ color: rgb(121, 109, 51);
/* oklch */ color: oklch(53.3% 0.079 97.8);
Tailwind
colors: {
  custom: {
    50: '#a2966d',
    500: '#796d33',
    950: '#000000',
  },
}
SCSS
$custom: #796d33;
$custom-light: #a2966d;
$custom-dark: #000000;
JSON
{
  "hex": "#796d33",
  "rgb": {
    "r": 121,
    "g": 109,
    "b": 51
  },
  "hsl": {
    "h": 49.714,
    "s": 40.698,
    "l": 33.725
  },
  "oklch": {
    "l": 0.53304,
    "c": 0.07945,
    "h": 97.8
  },
  "luminance": 0.15241
}

Semantic roles & 50–950 ramp

primary
#796D33
secondary
#616DA7
accent
#6CD157
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#0F0D07
muted
#7F7E7A

Preview Lab

Preview with #796D33

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

Preview Lab → · Contrast checker → · Palette generator →

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