#796A29#796A29

#796A29 is a mid, moderate yellow. Relative luminance 0.145; OKLCH L 52.5% C 0.086 H 96.3°. Best body text is #FFFFFF at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#796A29
RGBrgb(121, 106, 41)
HSLhsl(49, 49%, 32%)
HSVhsv(49, 66%, 47%)
CMYKcmyk(0%, 12.4%, 66.1%, 52.5%)
CIE-LABlab(44.99, -2.39, 37.61)
CIE-LCHlch(44.99, 37.68, 93.64°)
OKLaboklab(52.5% -0.0094 0.0858)
OKLCHoklch(52.5% 0.086 96.3)
XYZxyz(13.4400, 14.5338, 4.1948)
Luminance0.1453 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#796A29 #293879
analogous
#794229 #796A29 #607929
triadic
#796A29 #29796A #6A2979
tetradic
#796A29 #297942 #293879 #792960
square
#796A29 #297942 #293879 #792960
split-complementary
#796A29 #296079 #422979
monochromatic
#1E1A0A #4B421A #796A29 #A79238 #C6B156

Accessibility & contrast

On white

5.38
#796A29 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#796A29 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #796A29
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##796A29#FFFFFF#000000##FFFFFF
##796A291.005.383.915.38
#FFFFFF5.381.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#756822
Deuteranopia (green-blind)
#786D2C
Tritanopia (blue-blind)
#82625C
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #796a29;
/* rgb */ color: rgb(121, 106, 41);
/* oklch */ color: oklch(52.5% 0.086 96.3);
Tailwind
colors: {
  custom: {
    50: '#a29466',
    500: '#796a29',
    950: '#000000',
  },
}
SCSS
$custom: #796a29;
$custom-light: #a29466;
$custom-dark: #000000;
JSON
{
  "hex": "#796a29",
  "rgb": {
    "r": 121,
    "g": 106,
    "b": 41
  },
  "hsl": {
    "h": 48.75,
    "s": 49.383,
    "l": 31.765
  },
  "oklch": {
    "l": 0.52498,
    "c": 0.08635,
    "h": 96.3
  },
  "luminance": 0.14533
}

Semantic roles & 50–950 ramp

primary
#796A29
secondary
#5363AB
accent
#69D94F
background
#FAF9F6
surface
#F4F1EB
border
#CECBC6
text
#0F0D06
muted
#7F7E7A

Preview Lab

Preview with #796A29

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

Preview Lab → · Contrast checker → · Palette generator →

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