#796D29#796D29

#796D29 is a mid, moderate yellow. Relative luminance 0.152; OKLCH L 53.2% C 0.089 H 99.3°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#796D29
RGBrgb(121, 109, 41)
HSLhsl(51, 49%, 32%)
HSVhsv(51, 66%, 47%)
CMYKcmyk(0%, 9.9%, 66.1%, 52.5%)
CIE-LABlab(45.86, -4.12, 38.54)
CIE-LCHlch(45.86, 38.76, 96.10°)
OKLaboklab(53.19% -0.0144 0.0878)
OKLCHoklch(53.19% 0.089 99.3)
XYZxyz(13.7546, 15.1629, 4.2996)
Luminance0.1516 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#796D29 #293579
analogous
#794529 #796D29 #5D7929
triadic
#796D29 #29796D #6D2979
tetradic
#796D29 #297945 #293579 #79295D
square
#796D29 #297945 #293579 #79295D
split-complementary
#796D29 #295D79 #452979
monochromatic
#1E1B0A #4B441A #796D29 #A79638 #C6B556

Accessibility & contrast

On white

5.21
#796D29 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#796D29 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #796D29
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##796D29#FFFFFF#000000##FFFFFF
##796D291.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#776A21
Deuteranopia (green-blind)
#7B6F2D
Tritanopia (blue-blind)
#82655F
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #796d29;
/* rgb */ color: rgb(121, 109, 41);
/* oklch */ color: oklch(53.2% 0.089 99.3);
Tailwind
colors: {
  custom: {
    50: '#a29666',
    500: '#796d29',
    950: '#000000',
  },
}
SCSS
$custom: #796d29;
$custom-light: #a29666;
$custom-dark: #000000;
JSON
{
  "hex": "#796d29",
  "rgb": {
    "r": 121,
    "g": 109,
    "b": 41
  },
  "hsl": {
    "h": 51,
    "s": 49.383,
    "l": 31.765
  },
  "oklch": {
    "l": 0.53185,
    "c": 0.08899,
    "h": 99.3
  },
  "luminance": 0.15162
}

Semantic roles & 50–950 ramp

primary
#796D29
secondary
#5360AB
accent
#64D94F
background
#FAF9F6
surface
#F4F1EB
border
#CECBC6
text
#0F0D06
muted
#7F7E7A

Preview Lab

Preview with #796D29

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

Preview Lab → · Contrast checker → · Palette generator →

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