#796719#796719

#796719 is a mid, moderate yellow. Relative luminance 0.138; OKLCH L 51.7% C 0.096 H 95.4°. Best body text is #FFFFFF at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#796719
RGBrgb(121, 103, 25)
HSLhsl(49, 66%, 29%)
HSVhsv(49, 79%, 47%)
CMYKcmyk(0%, 14.9%, 79.3%, 52.5%)
CIE-LABlab(44.00, -1.58, 43.65)
CIE-LCHlch(44.00, 43.68, 92.07°)
OKLaboklab(51.67% -0.0091 0.0956)
OKLCHoklch(51.67% 0.096 95.4)
XYZxyz(12.9116, 13.8364, 2.9101)
Luminance0.1384 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#796719 #192B79
analogous
#793719 #796719 #5B7919
triadic
#796719 #197967 #671979
tetradic
#796719 #197937 #192B79 #79195B
square
#796719 #197937 #192B79 #79195B
split-complementary
#796719 #195B79 #371979
monochromatic
#191605 #463C0F #796719 #AC9223 #D6B837

Accessibility & contrast

On white

5.57
#796719 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#796719 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #796719
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##796719#FFFFFF#000000##FFFFFF
##7967191.005.573.775.57
#FFFFFF5.571.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#73650A
Deuteranopia (green-blind)
#776A1E
Tritanopia (blue-blind)
#835E58
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #796719;
/* rgb */ color: rgb(121, 103, 25);
/* oklch */ color: oklch(51.7% 0.096 95.4);
Tailwind
colors: {
  custom: {
    50: '#a3925c',
    500: '#796719',
    950: '#000000',
  },
}
SCSS
$custom: #796719;
$custom-light: #a3925c;
$custom-dark: #000000;
JSON
{
  "hex": "#796719",
  "rgb": {
    "r": 121,
    "g": 103,
    "b": 25
  },
  "hsl": {
    "h": 48.75,
    "s": 65.753,
    "l": 28.627
  },
  "oklch": {
    "l": 0.51672,
    "c": 0.09599,
    "h": 95.4
  },
  "luminance": 0.13836
}

Semantic roles & 50–950 ramp

primary
#796719
secondary
#4055AE
accent
#5FE93F
background
#FAF8F5
surface
#F4F0E9
border
#CECBC5
text
#100C04
muted
#7F7D79

Preview Lab

Preview with #796719

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

Preview Lab → · Contrast checker → · Palette generator →

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