#796A19#796A19

#796A19 is a mid, moderate yellow. Relative luminance 0.144; OKLCH L 52.4% C 0.098 H 98.2°. Best body text is #FFFFFF at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#796A19
RGBrgb(121, 106, 25)
HSLhsl(51, 66%, 29%)
HSVhsv(51, 79%, 47%)
CMYKcmyk(0%, 12.4%, 79.3%, 52.5%)
CIE-LABlab(44.86, -3.31, 44.45)
CIE-LCHlch(44.86, 44.58, 94.26°)
OKLaboklab(52.36% -0.014 0.0973)
OKLCHoklch(52.36% 0.098 98.2)
XYZxyz(13.2153, 14.4439, 3.0114)
Luminance0.1444 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#796A19 #192879
analogous
#793A19 #796A19 #587919
triadic
#796A19 #19796A #6A1979
tetradic
#796A19 #19793A #192879 #791958
square
#796A19 #19793A #192879 #791958
split-complementary
#796A19 #195879 #3A1979
monochromatic
#191605 #463E0F #796A19 #AC9623 #D6BD37

Accessibility & contrast

On white

5.40
#796A19 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#796A19 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #796A19
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##796A19#FFFFFF#000000##FFFFFF
##796A191.005.403.895.40
#FFFFFF5.401.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#756708
Deuteranopia (green-blind)
#796C1F
Tritanopia (blue-blind)
#83615B
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #796a19;
/* rgb */ color: rgb(121, 106, 25);
/* oklch */ color: oklch(52.4% 0.098 98.2);
Tailwind
colors: {
  custom: {
    50: '#a3945d',
    500: '#796a19',
    950: '#000000',
  },
}
SCSS
$custom: #796a19;
$custom-light: #a3945d;
$custom-dark: #000000;
JSON
{
  "hex": "#796a19",
  "rgb": {
    "r": 121,
    "g": 106,
    "b": 25
  },
  "hsl": {
    "h": 50.625,
    "s": 65.753,
    "l": 28.627
  },
  "oklch": {
    "l": 0.52358,
    "c": 0.09828,
    "h": 98.2
  },
  "luminance": 0.14443
}

Semantic roles & 50–950 ramp

primary
#796A19
secondary
#4051AE
accent
#5AE93F
background
#FAF9F5
surface
#F4F1E9
border
#CECBC5
text
#100D04
muted
#7F7E79

Preview Lab

Preview with #796A19

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

Preview Lab → · Contrast checker → · Palette generator →

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