#796819#796819

#796819 is a mid, moderate yellow. Relative luminance 0.140; OKLCH L 51.9% C 0.097 H 96.4°. Best body text is #FFFFFF at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#796819
RGBrgb(121, 104, 25)
HSLhsl(49, 66%, 29%)
HSVhsv(49, 79%, 47%)
CMYKcmyk(0%, 14%, 79.3%, 52.5%)
CIE-LABlab(44.29, -2.16, 43.92)
CIE-LCHlch(44.29, 43.97, 92.81°)
OKLaboklab(51.9% -0.0107 0.0961)
OKLCHoklch(51.9% 0.097 96.4)
XYZxyz(13.0116, 14.0365, 2.9435)
Luminance0.1404 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#796819 #192A79
analogous
#793819 #796819 #5A7919
triadic
#796819 #197968 #681979
tetradic
#796819 #197938 #192A79 #79195A
square
#796819 #197938 #192A79 #79195A
split-complementary
#796819 #195A79 #381979
monochromatic
#191605 #463C0F #796819 #AC9423 #D6B937

Accessibility & contrast

On white

5.52
#796819 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#796819 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #796819
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##796819#FFFFFF#000000##FFFFFF
##7968191.005.523.815.52
#FFFFFF5.521.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#736609
Deuteranopia (green-blind)
#786B1E
Tritanopia (blue-blind)
#835F59
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #796819;
/* rgb */ color: rgb(121, 104, 25);
/* oklch */ color: oklch(51.9% 0.097 96.4);
Tailwind
colors: {
  custom: {
    50: '#a3925d',
    500: '#796819',
    950: '#000000',
  },
}
SCSS
$custom: #796819;
$custom-light: #a3925d;
$custom-dark: #000000;
JSON
{
  "hex": "#796819",
  "rgb": {
    "r": 121,
    "g": 104,
    "b": 25
  },
  "hsl": {
    "h": 49.375,
    "s": 65.753,
    "l": 28.627
  },
  "oklch": {
    "l": 0.519,
    "c": 0.09672,
    "h": 96.4
  },
  "luminance": 0.14036
}

Semantic roles & 50–950 ramp

primary
#796819
secondary
#4054AE
accent
#5DE93F
background
#FAF8F5
surface
#F4F0E9
border
#CECBC5
text
#100D04
muted
#7F7D79

Preview Lab

Preview with #796819

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

Preview Lab → · Contrast checker → · Palette generator →

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