#796624#796624

#796624 is a mid, moderate yellow. Relative luminance 0.137; OKLCH L 51.5% C 0.087 H 92.9°. Best body text is #FFFFFF at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#796624
RGBrgb(121, 102, 36)
HSLhsl(47, 54%, 31%)
HSVhsv(47, 70%, 47%)
CMYKcmyk(0%, 15.7%, 70.2%, 52.5%)
CIE-LABlab(43.79, -0.41, 38.72)
CIE-LCHlch(43.79, 38.73, 90.60°)
OKLaboklab(51.54% -0.0044 0.0874)
OKLCHoklch(51.54% 0.087 92.9)
XYZxyz(12.9556, 13.6958, 3.6299)
Luminance0.1369 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#796624 #243779
analogous
#793B24 #796624 #617924
triadic
#796624 #247966 #662479
tetradic
#796624 #24793B #243779 #792461
square
#796624 #24793B #243779 #792461
split-complementary
#796624 #246179 #3B2479
monochromatic
#1B1608 #4A3E16 #796624 #A88E32 #CAAE4D

Accessibility & contrast

On white

5.62
#796624 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#796624 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #796624
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##796624#FFFFFF#000000##FFFFFF
##7966241.005.623.745.62
#FFFFFF5.621.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#71641C
Deuteranopia (green-blind)
#766A27
Tritanopia (blue-blind)
#835E58
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #796624;
/* rgb */ color: rgb(121, 102, 36);
/* oklch */ color: oklch(51.5% 0.087 92.9);
Tailwind
colors: {
  custom: {
    50: '#a39162',
    500: '#796624',
    950: '#000000',
  },
}
SCSS
$custom: #796624;
$custom-light: #a39162;
$custom-dark: #000000;
JSON
{
  "hex": "#796624",
  "rgb": {
    "r": 121,
    "g": 102,
    "b": 36
  },
  "hsl": {
    "h": 46.588,
    "s": 54.14,
    "l": 30.784
  },
  "oklch": {
    "l": 0.51538,
    "c": 0.08746,
    "h": 92.9
  },
  "luminance": 0.13695
}

Semantic roles & 50–950 ramp

primary
#796624
secondary
#4D62AC
accent
#6BDE4A
background
#FAF8F6
surface
#F4F0EB
border
#CECBC6
text
#0F0C05
muted
#7F7D7A

Preview Lab

Preview with #796624

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

Preview Lab → · Contrast checker → · Palette generator →

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