#796F29#796F29

#796F29 is a mid, moderate yellow. Relative luminance 0.156; OKLCH L 53.6% C 0.091 H 101.2°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#796F29
RGBrgb(121, 111, 41)
HSLhsl(53, 49%, 32%)
HSVhsv(53, 66%, 47%)
CMYKcmyk(0%, 8.3%, 66.1%, 52.5%)
CIE-LABlab(46.44, -5.26, 39.17)
CIE-LCHlch(46.44, 39.52, 97.64°)
OKLaboklab(53.65% -0.0176 0.0891)
OKLCHoklch(53.65% 0.091 101.2)
XYZxyz(13.9704, 15.5945, 4.3715)
Luminance0.1559 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#796F29 #293379
analogous
#794729 #796F29 #5B7929
triadic
#796F29 #29796F #6F2979
tetradic
#796F29 #297947 #293379 #79295B
square
#796F29 #297947 #293379 #79295B
split-complementary
#796F29 #295B79 #472979
monochromatic
#1E1B0A #4B451A #796F29 #A79938 #C6B856

Accessibility & contrast

On white

5.10
#796F29 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#796F29 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #796F29
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##796F29#FFFFFF#000000##FFFFFF
##796F291.005.104.125.10
#FFFFFF5.101.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796C21
Deuteranopia (green-blind)
#7C702D
Tritanopia (blue-blind)
#826760
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #796f29;
/* rgb */ color: rgb(121, 111, 41);
/* oklch */ color: oklch(53.6% 0.091 101.2);
Tailwind
colors: {
  custom: {
    50: '#a29866',
    500: '#796f29',
    950: '#000000',
  },
}
SCSS
$custom: #796f29;
$custom-light: #a29866;
$custom-dark: #000000;
JSON
{
  "hex": "#796f29",
  "rgb": {
    "r": 121,
    "g": 111,
    "b": 41
  },
  "hsl": {
    "h": 52.5,
    "s": 49.383,
    "l": 31.765
  },
  "oklch": {
    "l": 0.53646,
    "c": 0.09087,
    "h": 101.2
  },
  "luminance": 0.15594
}

Semantic roles & 50–950 ramp

primary
#796F29
secondary
#535EAB
accent
#60D94F
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#0F0D06
muted
#7F7E7A

Preview Lab

Preview with #796F29

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

Preview Lab → · Contrast checker → · Palette generator →

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