#796E35#796E35

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

Color values

HEX#796E35
RGBrgb(121, 110, 53)
HSLhsl(50, 39%, 34%)
HSVhsv(50, 56%, 47%)
CMYKcmyk(0%, 9.1%, 56.2%, 52.5%)
CIE-LABlab(46.28, -3.72, 32.95)
CIE-LCHlch(46.28, 33.16, 96.45°)
OKLaboklab(53.56% -0.0117 0.0775)
OKLCHoklch(53.56% 0.078 98.6)
XYZxyz(14.1042, 15.4744, 5.6114)
Luminance0.1547 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#796E35 #354079
analogous
#794C35 #796E35 #627935
triadic
#796E35 #35796E #6E3579
tetradic
#796E35 #35794C #354079 #793562
square
#796E35 #35794C #354079 #793562
split-complementary
#796E35 #356279 #4C3579
monochromatic
#242110 #4E4722 #796E35 #A49548 #BEB06A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##796E35#FFFFFF#000000##FFFFFF
##796E351.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)
#776B30
Deuteranopia (green-blind)
#7A6F38
Tritanopia (blue-blind)
#826761
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #796e35;
/* rgb */ color: rgb(121, 110, 53);
/* oklch */ color: oklch(53.6% 0.078 98.6);
Tailwind
colors: {
  custom: {
    50: '#a1976e',
    500: '#796e35',
    950: '#000000',
  },
}
SCSS
$custom: #796e35;
$custom-light: #a1976e;
$custom-dark: #000000;
JSON
{
  "hex": "#796e35",
  "rgb": {
    "r": 121,
    "g": 110,
    "b": 53
  },
  "hsl": {
    "h": 50.294,
    "s": 39.08,
    "l": 34.118
  },
  "oklch": {
    "l": 0.5356,
    "c": 0.07833,
    "h": 98.6
  },
  "luminance": 0.15474
}

Semantic roles & 50–950 ramp

primary
#796E35
secondary
#636EA6
accent
#6CCF59
background
#FAF9F6
surface
#F4F2EC
border
#CECCC7
text
#0F0D07
muted
#7F7E7A

Preview Lab

Preview with #796E35

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

Preview Lab → · Contrast checker → · Palette generator →

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