#796E19#796E19

#796E19 is a mid, moderate yellow. Relative luminance 0.153; OKLCH L 53.3% C 0.102 H 101.6°. Best body text is #FFFFFF at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#796E19
RGBrgb(121, 110, 25)
HSLhsl(53, 66%, 29%)
HSVhsv(53, 79%, 47%)
CMYKcmyk(0%, 9.1%, 79.3%, 52.5%)
CIE-LABlab(46.03, -5.59, 45.53)
CIE-LCHlch(46.03, 45.87, 97.00°)
OKLaboklab(53.28% -0.0204 0.0996)
OKLCHoklch(53.28% 0.102 101.6)
XYZxyz(13.6372, 15.2876, 3.1520)
Luminance0.1529 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#796E19 #192479
analogous
#793E19 #796E19 #547919
triadic
#796E19 #19796E #6E1979
tetradic
#796E19 #19793E #192479 #791954
square
#796E19 #19793E #192479 #791954
split-complementary
#796E19 #195479 #3E1979
monochromatic
#191705 #46400F #796E19 #AC9C23 #D6C337

Accessibility & contrast

On white

5.18
#796E19 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#796E19 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #796E19
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##796E19#FFFFFF#000000##FFFFFF
##796E191.005.184.065.18
#FFFFFF5.181.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796A07
Deuteranopia (green-blind)
#7C6F1F
Tritanopia (blue-blind)
#83665E
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #796e19;
/* rgb */ color: rgb(121, 110, 25);
/* oklch */ color: oklch(53.3% 0.102 101.6);
Tailwind
colors: {
  custom: {
    50: '#a3975d',
    500: '#796e19',
    950: '#000000',
  },
}
SCSS
$custom: #796e19;
$custom-light: #a3975d;
$custom-dark: #000000;
JSON
{
  "hex": "#796e19",
  "rgb": {
    "r": 121,
    "g": 110,
    "b": 25
  },
  "hsl": {
    "h": 53.125,
    "s": 65.753,
    "l": 28.627
  },
  "oklch": {
    "l": 0.5328,
    "c": 0.10165,
    "h": 101.6
  },
  "luminance": 0.15287
}

Semantic roles & 50–950 ramp

primary
#796E19
secondary
#404DAE
accent
#53E93F
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100D05
muted
#7F7E79

Preview Lab

Preview with #796E19

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

Preview Lab → · Contrast checker → · Palette generator →

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