#796519#796519

#796519 is a mid, moderate yellow. Relative luminance 0.134; OKLCH L 51.2% C 0.095 H 93.5°. Best body text is #FFFFFF at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#796519
RGBrgb(121, 101, 25)
HSLhsl(48, 66%, 29%)
HSVhsv(48, 79%, 47%)
CMYKcmyk(0%, 16.5%, 79.3%, 52.5%)
CIE-LABlab(43.42, -0.42, 43.11)
CIE-LCHlch(43.42, 43.11, 90.55°)
OKLaboklab(51.22% -0.0058 0.0944)
OKLCHoklch(51.22% 0.095 93.5)
XYZxyz(12.7150, 13.4432, 2.8446)
Luminance0.1344 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#796519 #192D79
analogous
#793519 #796519 #5D7919
triadic
#796519 #197965 #651979
tetradic
#796519 #197935 #192D79 #79195D
square
#796519 #197935 #192D79 #79195D
split-complementary
#796519 #195D79 #351979
monochromatic
#191505 #463B0F #796519 #AC8F23 #D6B537

Accessibility & contrast

On white

5.69
#796519 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#796519 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #796519
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##796519#FFFFFF#000000##FFFFFF
##7965191.005.693.695.69
#FFFFFF5.691.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#71630B
Deuteranopia (green-blind)
#76691E
Tritanopia (blue-blind)
#835C56
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #796519;
/* rgb */ color: rgb(121, 101, 25);
/* oklch */ color: oklch(51.2% 0.095 93.5);
Tailwind
colors: {
  custom: {
    50: '#a3905c',
    500: '#796519',
    950: '#000000',
  },
}
SCSS
$custom: #796519;
$custom-light: #a3905c;
$custom-dark: #000000;
JSON
{
  "hex": "#796519",
  "rgb": {
    "r": 121,
    "g": 101,
    "b": 25
  },
  "hsl": {
    "h": 47.5,
    "s": 65.753,
    "l": 28.627
  },
  "oklch": {
    "l": 0.51219,
    "c": 0.0946,
    "h": 93.5
  },
  "luminance": 0.13442
}

Semantic roles & 50–950 ramp

primary
#796519
secondary
#4057AE
accent
#62E93F
background
#FAF8F5
surface
#F4F0E9
border
#CECBC5
text
#100C04
muted
#7F7D79

Preview Lab

Preview with #796519

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

Preview Lab → · Contrast checker → · Palette generator →

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