#796F19#796F19

#796F19 is a mid, moderate yellow. Relative luminance 0.155; OKLCH L 53.5% C 0.103 H 102.4°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#796F19
RGBrgb(121, 111, 25)
HSLhsl(54, 66%, 29%)
HSVhsv(54, 79%, 47%)
CMYKcmyk(0%, 8.3%, 79.3%, 52.5%)
CIE-LABlab(46.32, -6.16, 45.80)
CIE-LCHlch(46.32, 46.21, 97.66°)
OKLaboklab(53.51% -0.022 0.1002)
OKLCHoklch(53.51% 0.103 102.4)
XYZxyz(13.7457, 15.5046, 3.1882)
Luminance0.1550 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#796F19 #192379
analogous
#793F19 #796F19 #537919
triadic
#796F19 #19796F #6F1979
tetradic
#796F19 #19793F #192379 #791953
square
#796F19 #19793F #192379 #791953
split-complementary
#796F19 #195379 #3F1979
monochromatic
#191705 #46400F #796F19 #AC9E23 #D6C537

Accessibility & contrast

On white

5.12
#796F19 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#796F19 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #796F19
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##796F19#FFFFFF#000000##FFFFFF
##796F191.005.124.105.12
#FFFFFF5.121.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6B06
Deuteranopia (green-blind)
#7D701F
Tritanopia (blue-blind)
#83675F
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #796f19;
/* rgb */ color: rgb(121, 111, 25);
/* oklch */ color: oklch(53.5% 0.103 102.4);
Tailwind
colors: {
  custom: {
    50: '#a3985d',
    500: '#796f19',
    950: '#000000',
  },
}
SCSS
$custom: #796f19;
$custom-light: #a3985d;
$custom-dark: #000000;
JSON
{
  "hex": "#796f19",
  "rgb": {
    "r": 121,
    "g": 111,
    "b": 25
  },
  "hsl": {
    "h": 53.75,
    "s": 65.753,
    "l": 28.627
  },
  "oklch": {
    "l": 0.53512,
    "c": 0.10254,
    "h": 102.4
  },
  "luminance": 0.15504
}

Semantic roles & 50–950 ramp

primary
#796F19
secondary
#404CAE
accent
#51E93F
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100D05
muted
#7F7E79

Preview Lab

Preview with #796F19

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

Preview Lab → · Contrast checker → · Palette generator →

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