#796F34#796F34

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

Color values

HEX#796F34
RGBrgb(121, 111, 52)
HSLhsl(51, 40%, 34%)
HSVhsv(51, 57%, 47%)
CMYKcmyk(0%, 8.3%, 57%, 52.5%)
CIE-LABlab(46.55, -4.39, 33.80)
CIE-LCHlch(46.55, 34.08, 97.39°)
OKLaboklab(53.78% -0.0137 0.0792)
OKLCHoklch(53.78% 0.08 99.8)
XYZxyz(14.1899, 15.6823, 5.5277)
Luminance0.1568 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#796F34 #343E79
analogous
#794D34 #796F34 #617934
triadic
#796F34 #34796F #6F3479
tetradic
#796F34 #34794D #343E79 #793461
square
#796F34 #34794D #343E79 #793461
split-complementary
#796F34 #346179 #4D3479
monochromatic
#23200F #4E4822 #796F34 #A49646 #BEB269

Accessibility & contrast

On white

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

On black

4.14
#796F34 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##796F34#FFFFFF#000000##FFFFFF
##796F341.005.084.145.08
#FFFFFF5.081.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786C2E
Deuteranopia (green-blind)
#7B7037
Tritanopia (blue-blind)
#826862
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #796f34;
/* rgb */ color: rgb(121, 111, 52);
/* oklch */ color: oklch(53.8% 0.080 99.8);
Tailwind
colors: {
  custom: {
    50: '#a2986d',
    500: '#796f34',
    950: '#000000',
  },
}
SCSS
$custom: #796f34;
$custom-light: #a2986d;
$custom-dark: #000000;
JSON
{
  "hex": "#796f34",
  "rgb": {
    "r": 121,
    "g": 111,
    "b": 52
  },
  "hsl": {
    "h": 51.304,
    "s": 39.884,
    "l": 33.922
  },
  "oklch": {
    "l": 0.53776,
    "c": 0.08036,
    "h": 99.8
  },
  "luminance": 0.15682
}

Semantic roles & 50–950 ramp

primary
#796F34
secondary
#626CA7
accent
#69D058
background
#FAF9F6
surface
#F4F2EC
border
#CECCC7
text
#0F0D07
muted
#7F7E7A

Preview Lab

Preview with #796F34

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

Preview Lab → · Contrast checker → · Palette generator →

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