#796419#796419

#796419 is a mid, moderate yellow. Relative luminance 0.132; OKLCH L 51.0% C 0.094 H 92.5°. Best body text is #FFFFFF at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#796419
RGBrgb(121, 100, 25)
HSLhsl(47, 66%, 29%)
HSVhsv(47, 79%, 47%)
CMYKcmyk(0%, 17.4%, 79.3%, 52.5%)
CIE-LABlab(43.14, 0.17, 42.84)
CIE-LCHlch(43.14, 42.84, 89.78°)
OKLaboklab(50.99% -0.0041 0.0938)
OKLCHoklch(50.99% 0.094 92.5)
XYZxyz(12.6185, 13.2502, 2.8124)
Luminance0.1325 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#796419 #192E79
analogous
#793419 #796419 #5E7919
triadic
#796419 #197964 #641979
tetradic
#796419 #197934 #192E79 #79195E
square
#796419 #197934 #192E79 #79195E
split-complementary
#796419 #195E79 #341979
monochromatic
#191505 #463A0F #796419 #AC8E23 #D6B337

Accessibility & contrast

On white

5.75
#796419 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#796419 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #796419
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##796419#FFFFFF#000000##FFFFFF
##7964191.005.753.655.75
#FFFFFF5.751.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#70620B
Deuteranopia (green-blind)
#75681D
Tritanopia (blue-blind)
#835B56
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #796419;
/* rgb */ color: rgb(121, 100, 25);
/* oklch */ color: oklch(51.0% 0.094 92.5);
Tailwind
colors: {
  custom: {
    50: '#a38f5c',
    500: '#796419',
    950: '#000000',
  },
}
SCSS
$custom: #796419;
$custom-light: #a38f5c;
$custom-dark: #000000;
JSON
{
  "hex": "#796419",
  "rgb": {
    "r": 121,
    "g": 100,
    "b": 25
  },
  "hsl": {
    "h": 46.875,
    "s": 65.753,
    "l": 28.627
  },
  "oklch": {
    "l": 0.50993,
    "c": 0.09393,
    "h": 92.5
  },
  "luminance": 0.13249
}

Semantic roles & 50–950 ramp

primary
#796419
secondary
#4058AE
accent
#64E93F
background
#FAF8F5
surface
#F4F0E9
border
#CECBC5
text
#100C04
muted
#7F7D79

Preview Lab

Preview with #796419

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

Preview Lab → · Contrast checker → · Palette generator →

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