#796E33#796E33

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

Color values

HEX#796E33
RGBrgb(121, 110, 51)
HSLhsl(51, 41%, 34%)
HSVhsv(51, 58%, 47%)
CMYKcmyk(0%, 9.1%, 57.9%, 52.5%)
CIE-LABlab(46.25, -3.90, 33.97)
CIE-LCHlch(46.25, 34.19, 96.55°)
OKLaboklab(53.53% -0.0125 0.0794)
OKLCHoklch(53.53% 0.08 98.9)
XYZxyz(14.0591, 15.4564, 5.3741)
Luminance0.1546 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#796E33 #333E79
analogous
#794B33 #796E33 #617933
triadic
#796E33 #33796E #6E3379
tetradic
#796E33 #33794B #333E79 #793361
square
#796E33 #33794B #333E79 #793361
split-complementary
#796E33 #336179 #4B3379
monochromatic
#23200F #4E4721 #796E33 #A49545 #BFB167

Accessibility & contrast

On white

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

On black

4.09
#796E33 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##796E33#FFFFFF#000000##FFFFFF
##796E331.005.134.095.13
#FFFFFF5.131.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786B2D
Deuteranopia (green-blind)
#7B6F36
Tritanopia (blue-blind)
#826761
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #796e33;
/* rgb */ color: rgb(121, 110, 51);
/* oklch */ color: oklch(53.5% 0.080 98.9);
Tailwind
colors: {
  custom: {
    50: '#a2976d',
    500: '#796e33',
    950: '#000000',
  },
}
SCSS
$custom: #796e33;
$custom-light: #a2976d;
$custom-dark: #000000;
JSON
{
  "hex": "#796e33",
  "rgb": {
    "r": 121,
    "g": 110,
    "b": 51
  },
  "hsl": {
    "h": 50.571,
    "s": 40.698,
    "l": 33.725
  },
  "oklch": {
    "l": 0.53533,
    "c": 0.08041,
    "h": 98.9
  },
  "luminance": 0.15456
}

Semantic roles & 50–950 ramp

primary
#796E33
secondary
#616CA7
accent
#6AD157
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#0F0D07
muted
#7F7E7A

Preview Lab

Preview with #796E33

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

Preview Lab → · Contrast checker → · Palette generator →

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