#796F33#796F33

#796F33 is a mid, moderate yellow. Relative luminance 0.157; OKLCH L 53.8% C 0.081 H 100.0°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#796F33
RGBrgb(121, 111, 51)
HSLhsl(51, 41%, 34%)
HSVhsv(51, 58%, 47%)
CMYKcmyk(0%, 8.3%, 57.9%, 52.5%)
CIE-LABlab(46.54, -4.47, 34.31)
CIE-LCHlch(46.54, 34.60, 97.43°)
OKLaboklab(53.76% -0.0141 0.0802)
OKLCHoklch(53.76% 0.081 100)
XYZxyz(14.1676, 15.6734, 5.4103)
Luminance0.1567 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#796F33 #333D79
analogous
#794C33 #796F33 #607933
triadic
#796F33 #33796F #6F3379
tetradic
#796F33 #33794C #333D79 #793360
square
#796F33 #33794C #333D79 #793360
split-complementary
#796F33 #336079 #4C3379
monochromatic
#23200F #4E4821 #796F33 #A49645 #BFB367

Accessibility & contrast

On white

5.08
#796F33 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#796F33 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #796F33
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##796F33#FFFFFF#000000##FFFFFF
##796F331.005.084.135.08
#FFFFFF5.081.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796C2D
Deuteranopia (green-blind)
#7B7036
Tritanopia (blue-blind)
#826862
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #796f33;
/* rgb */ color: rgb(121, 111, 51);
/* oklch */ color: oklch(53.8% 0.081 100.0);
Tailwind
colors: {
  custom: {
    50: '#a2986d',
    500: '#796f33',
    950: '#000000',
  },
}
SCSS
$custom: #796f33;
$custom-light: #a2986d;
$custom-dark: #000000;
JSON
{
  "hex": "#796f33",
  "rgb": {
    "r": 121,
    "g": 111,
    "b": 51
  },
  "hsl": {
    "h": 51.429,
    "s": 40.698,
    "l": 33.725
  },
  "oklch": {
    "l": 0.53763,
    "c": 0.08139,
    "h": 100
  },
  "luminance": 0.15673
}

Semantic roles & 50–950 ramp

primary
#796F33
secondary
#616BA7
accent
#69D157
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#0F0D07
muted
#7F7E7A

Preview Lab

Preview with #796F33

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

Preview Lab → · Contrast checker → · Palette generator →

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