#796629#796629

#796629 is a mid, moderate yellow. Relative luminance 0.137; OKLCH L 51.6% C 0.083 H 91.9°. Best body text is #FFFFFF at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#796629
RGBrgb(121, 102, 41)
HSLhsl(46, 49%, 32%)
HSVhsv(46, 66%, 47%)
CMYKcmyk(0%, 15.7%, 66.1%, 52.5%)
CIE-LABlab(43.84, -0.07, 36.35)
CIE-LCHlch(43.84, 36.35, 90.12°)
OKLaboklab(51.59% -0.0027 0.0832)
OKLCHoklch(51.59% 0.083 91.9)
XYZxyz(13.0374, 13.7285, 4.0605)
Luminance0.1373 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#796629 #293C79
analogous
#793E29 #796629 #647929
triadic
#796629 #297966 #662979
tetradic
#796629 #29793E #293C79 #792964
square
#796629 #29793E #293C79 #792964
split-complementary
#796629 #296479 #3E2979
monochromatic
#1E190A #4B3F1A #796629 #A78D38 #C6AB56

Accessibility & contrast

On white

5.61
#796629 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#796629 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #796629
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##796629#FFFFFF#000000##FFFFFF
##7966291.005.613.755.61
#FFFFFF5.611.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#716422
Deuteranopia (green-blind)
#766A2C
Tritanopia (blue-blind)
#835E59
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #796629;
/* rgb */ color: rgb(121, 102, 41);
/* oklch */ color: oklch(51.6% 0.083 91.9);
Tailwind
colors: {
  custom: {
    50: '#a29165',
    500: '#796629',
    950: '#000000',
  },
}
SCSS
$custom: #796629;
$custom-light: #a29165;
$custom-dark: #000000;
JSON
{
  "hex": "#796629",
  "rgb": {
    "r": 121,
    "g": 102,
    "b": 41
  },
  "hsl": {
    "h": 45.75,
    "s": 49.383,
    "l": 31.765
  },
  "oklch": {
    "l": 0.5159,
    "c": 0.08322,
    "h": 91.9
  },
  "luminance": 0.13728
}

Semantic roles & 50–950 ramp

primary
#796629
secondary
#5368AB
accent
#70D94F
background
#FAF8F6
surface
#F4F0EB
border
#CECBC6
text
#0F0C06
muted
#7F7D7A

Preview Lab

Preview with #796629

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

Preview Lab → · Contrast checker → · Palette generator →

#796629 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva