#796619#796619

#796619 is a mid, moderate yellow. Relative luminance 0.136; OKLCH L 51.4% C 0.095 H 94.5°. Best body text is #FFFFFF at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#796619
RGBrgb(121, 102, 25)
HSLhsl(48, 66%, 29%)
HSVhsv(48, 79%, 47%)
CMYKcmyk(0%, 15.7%, 79.3%, 52.5%)
CIE-LABlab(43.71, -1.00, 43.38)
CIE-LCHlch(43.71, 43.39, 91.32°)
OKLaboklab(51.44% -0.0074 0.095)
OKLCHoklch(51.44% 0.095 94.5)
XYZxyz(12.8127, 13.6386, 2.8772)
Luminance0.1364 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#796619 #192C79
analogous
#793619 #796619 #5C7919
triadic
#796619 #197966 #661979
tetradic
#796619 #197936 #192C79 #79195C
square
#796619 #197936 #192C79 #79195C
split-complementary
#796619 #195C79 #361979
monochromatic
#191505 #463B0F #796619 #AC9123 #D6B637

Accessibility & contrast

On white

5.63
#796619 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#796619 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #796619
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##796619#FFFFFF#000000##FFFFFF
##7966191.005.633.735.63
#FFFFFF5.631.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#72640A
Deuteranopia (green-blind)
#766A1E
Tritanopia (blue-blind)
#835D57
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #796619;
/* rgb */ color: rgb(121, 102, 25);
/* oklch */ color: oklch(51.4% 0.095 94.5);
Tailwind
colors: {
  custom: {
    50: '#a3915c',
    500: '#796619',
    950: '#000000',
  },
}
SCSS
$custom: #796619;
$custom-light: #a3915c;
$custom-dark: #000000;
JSON
{
  "hex": "#796619",
  "rgb": {
    "r": 121,
    "g": 102,
    "b": 25
  },
  "hsl": {
    "h": 48.125,
    "s": 65.753,
    "l": 28.627
  },
  "oklch": {
    "l": 0.51445,
    "c": 0.09528,
    "h": 94.5
  },
  "luminance": 0.13638
}

Semantic roles & 50–950 ramp

primary
#796619
secondary
#4056AE
accent
#61E93F
background
#FAF8F5
surface
#F4F0E9
border
#CECBC5
text
#100C04
muted
#7F7D79

Preview Lab

Preview with #796619

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

Preview Lab → · Contrast checker → · Palette generator →

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