#796B29#796B29

#796B29 is a mid, moderate yellow. Relative luminance 0.147; OKLCH L 52.7% C 0.087 H 97.3°. Best body text is #FFFFFF at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#796B29
RGBrgb(121, 107, 41)
HSLhsl(50, 49%, 32%)
HSVhsv(50, 66%, 47%)
CMYKcmyk(0%, 11.6%, 66.1%, 52.5%)
CIE-LABlab(45.28, -2.97, 37.92)
CIE-LCHlch(45.28, 38.03, 94.48°)
OKLaboklab(52.73% -0.0111 0.0865)
OKLCHoklch(52.73% 0.087 97.3)
XYZxyz(13.5437, 14.7411, 4.2293)
Luminance0.1474 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#796B29 #293779
analogous
#794329 #796B29 #5F7929
triadic
#796B29 #29796B #6B2979
tetradic
#796B29 #297943 #293779 #79295F
square
#796B29 #297943 #293779 #79295F
split-complementary
#796B29 #295F79 #432979
monochromatic
#1E1A0A #4B431A #796B29 #A79338 #C6B256

Accessibility & contrast

On white

5.32
#796B29 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#796B29 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #796B29
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##796B29#FFFFFF#000000##FFFFFF
##796B291.005.323.955.32
#FFFFFF5.321.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#756821
Deuteranopia (green-blind)
#796D2C
Tritanopia (blue-blind)
#82635D
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #796b29;
/* rgb */ color: rgb(121, 107, 41);
/* oklch */ color: oklch(52.7% 0.087 97.3);
Tailwind
colors: {
  custom: {
    50: '#a29566',
    500: '#796b29',
    950: '#000000',
  },
}
SCSS
$custom: #796b29;
$custom-light: #a29566;
$custom-dark: #000000;
JSON
{
  "hex": "#796b29",
  "rgb": {
    "r": 121,
    "g": 107,
    "b": 41
  },
  "hsl": {
    "h": 49.5,
    "s": 49.383,
    "l": 31.765
  },
  "oklch": {
    "l": 0.52726,
    "c": 0.08721,
    "h": 97.3
  },
  "luminance": 0.1474
}

Semantic roles & 50–950 ramp

primary
#796B29
secondary
#5362AB
accent
#67D94F
background
#FAF9F6
surface
#F4F1EB
border
#CECBC6
text
#0F0D06
muted
#7F7E7A

Preview Lab

Preview with #796B29

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

Preview Lab → · Contrast checker → · Palette generator →

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