#796E29#796E29

#796E29 is a mid, moderate yellow. Relative luminance 0.154; OKLCH L 53.4% C 0.090 H 100.2°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#796E29
RGBrgb(121, 110, 41)
HSLhsl(52, 49%, 32%)
HSVhsv(52, 66%, 47%)
CMYKcmyk(0%, 9.1%, 66.1%, 52.5%)
CIE-LABlab(46.15, -4.69, 38.86)
CIE-LCHlch(46.15, 39.14, 96.88°)
OKLaboklab(53.42% -0.016 0.0885)
OKLCHoklch(53.42% 0.09 100.2)
XYZxyz(13.8619, 15.3775, 4.3354)
Luminance0.1538 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#796E29 #293479
analogous
#794629 #796E29 #5C7929
triadic
#796E29 #29796E #6E2979
tetradic
#796E29 #297946 #293479 #79295C
square
#796E29 #297946 #293479 #79295C
split-complementary
#796E29 #295C79 #462979
monochromatic
#1E1B0A #4B441A #796E29 #A79838 #C6B756

Accessibility & contrast

On white

5.15
#796E29 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#796E29 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #796E29
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##796E29#FFFFFF#000000##FFFFFF
##796E291.005.154.085.15
#FFFFFF5.151.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786B21
Deuteranopia (green-blind)
#7B6F2D
Tritanopia (blue-blind)
#82665F
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #796e29;
/* rgb */ color: rgb(121, 110, 41);
/* oklch */ color: oklch(53.4% 0.090 100.2);
Tailwind
colors: {
  custom: {
    50: '#a29766',
    500: '#796e29',
    950: '#000000',
  },
}
SCSS
$custom: #796e29;
$custom-light: #a29766;
$custom-dark: #000000;
JSON
{
  "hex": "#796e29",
  "rgb": {
    "r": 121,
    "g": 110,
    "b": 41
  },
  "hsl": {
    "h": 51.75,
    "s": 49.383,
    "l": 31.765
  },
  "oklch": {
    "l": 0.53415,
    "c": 0.08992,
    "h": 100.2
  },
  "luminance": 0.15377
}

Semantic roles & 50–950 ramp

primary
#796E29
secondary
#535FAB
accent
#62D94F
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#0F0D06
muted
#7F7E7A

Preview Lab

Preview with #796E29

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

Preview Lab → · Contrast checker → · Palette generator →

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