#796B35#796B35

#796B35 is a mid, moderate yellow. Relative luminance 0.148; OKLCH L 52.9% C 0.076 H 95.1°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#796B35
RGBrgb(121, 107, 53)
HSLhsl(48, 39%, 34%)
HSVhsv(48, 56%, 47%)
CMYKcmyk(0%, 11.6%, 56.2%, 52.5%)
CIE-LABlab(45.41, -2.00, 31.93)
CIE-LCHlch(45.41, 31.99, 93.58°)
OKLaboklab(52.88% -0.0067 0.0752)
OKLCHoklch(52.88% 0.076 95.1)
XYZxyz(13.7860, 14.8380, 5.5053)
Luminance0.1484 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#796B35 #354379
analogous
#794935 #796B35 #657935
triadic
#796B35 #35796B #6B3579
tetradic
#796B35 #357949 #354379 #793565
square
#796B35 #357949 #354379 #793565
split-complementary
#796B35 #356579 #493579
monochromatic
#242010 #4E4522 #796B35 #A49148 #BEAD6A

Accessibility & contrast

On white

5.29
#796B35 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#796B35 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #796B35
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##796B35#FFFFFF#000000##FFFFFF
##796B351.005.293.975.29
#FFFFFF5.291.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#756930
Deuteranopia (green-blind)
#786D37
Tritanopia (blue-blind)
#82645F
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #796b35;
/* rgb */ color: rgb(121, 107, 53);
/* oklch */ color: oklch(52.9% 0.076 95.1);
Tailwind
colors: {
  custom: {
    50: '#a2956e',
    500: '#796b35',
    950: '#000000',
  },
}
SCSS
$custom: #796b35;
$custom-light: #a2956e;
$custom-dark: #000000;
JSON
{
  "hex": "#796b35",
  "rgb": {
    "r": 121,
    "g": 107,
    "b": 53
  },
  "hsl": {
    "h": 47.647,
    "s": 39.08,
    "l": 34.118
  },
  "oklch": {
    "l": 0.52875,
    "c": 0.07553,
    "h": 95.1
  },
  "luminance": 0.14837
}

Semantic roles & 50–950 ramp

primary
#796B35
secondary
#6371A6
accent
#71CF59
background
#FAF9F6
surface
#F4F1EC
border
#CECBC7
text
#0F0D07
muted
#7F7E7A

Preview Lab

Preview with #796B35

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

Preview Lab → · Contrast checker → · Palette generator →

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