#796D19#796D19

#796D19 is a mid, moderate yellow. Relative luminance 0.151; OKLCH L 53.0% C 0.101 H 100.8°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#796D19
RGBrgb(121, 109, 25)
HSLhsl(53, 66%, 29%)
HSVhsv(53, 79%, 47%)
CMYKcmyk(0%, 9.9%, 79.3%, 52.5%)
CIE-LABlab(45.73, -5.03, 45.26)
CIE-LCHlch(45.73, 45.54, 96.34°)
OKLaboklab(53.05% -0.0188 0.099)
OKLCHoklch(53.05% 0.101 100.8)
XYZxyz(13.5299, 15.0731, 3.1162)
Luminance0.1507 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#796D19 #192579
analogous
#793D19 #796D19 #557919
triadic
#796D19 #19796D #6D1979
tetradic
#796D19 #19793D #192579 #791955
square
#796D19 #19793D #192579 #791955
split-complementary
#796D19 #195579 #3D1979
monochromatic
#191705 #463F0F #796D19 #AC9B23 #D6C237

Accessibility & contrast

On white

5.23
#796D19 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#796D19 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #796D19
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##796D19#FFFFFF#000000##FFFFFF
##796D191.005.234.015.23
#FFFFFF5.231.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786A07
Deuteranopia (green-blind)
#7B6E1F
Tritanopia (blue-blind)
#83655D
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #796d19;
/* rgb */ color: rgb(121, 109, 25);
/* oklch */ color: oklch(53.0% 0.101 100.8);
Tailwind
colors: {
  custom: {
    50: '#a3965d',
    500: '#796d19',
    950: '#000000',
  },
}
SCSS
$custom: #796d19;
$custom-light: #a3965d;
$custom-dark: #000000;
JSON
{
  "hex": "#796d19",
  "rgb": {
    "r": 121,
    "g": 109,
    "b": 25
  },
  "hsl": {
    "h": 52.5,
    "s": 65.753,
    "l": 28.627
  },
  "oklch": {
    "l": 0.53049,
    "c": 0.10077,
    "h": 100.8
  },
  "luminance": 0.15072
}

Semantic roles & 50–950 ramp

primary
#796D19
secondary
#404EAE
accent
#54E93F
background
#FAF9F5
surface
#F4F1E9
border
#CECBC5
text
#100D05
muted
#7F7E79

Preview Lab

Preview with #796D19

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

Preview Lab → · Contrast checker → · Palette generator →

#796D19 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva