#797719#797719

#797719 is a mid, moderate yellow. Relative luminance 0.173; OKLCH L 55.4% C 0.110 H 108.2°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#797719
RGBrgb(121, 119, 25)
HSLhsl(59, 66%, 29%)
HSVhsv(59, 79%, 47%)
CMYKcmyk(0%, 1.7%, 79.3%, 52.5%)
CIE-LABlab(48.67, -10.63, 47.96)
CIE-LCHlch(48.67, 49.12, 102.50°)
OKLaboklab(55.39% -0.0345 0.1048)
OKLCHoklch(55.39% 0.11 108.2)
XYZxyz(14.6580, 17.3293, 3.4923)
Luminance0.1733 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#797719 #191B79
analogous
#794719 #797719 #4B7919
triadic
#797719 #197977 #771979
tetradic
#797719 #197947 #191B79 #79194B
square
#797719 #197947 #191B79 #79194B
split-complementary
#797719 #194B79 #471979
monochromatic
#191905 #46450F #797719 #ACA923 #D6D237

Accessibility & contrast

On white

4.70
#797719 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#797719 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #797719
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##797719#FFFFFF#000000##FFFFFF
##7977191.004.704.474.70
#FFFFFF4.701.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817202
Deuteranopia (green-blind)
#837521
Tritanopia (blue-blind)
#826F65
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #797719;
/* rgb */ color: rgb(121, 119, 25);
/* oklch */ color: oklch(55.4% 0.110 108.2);
Tailwind
colors: {
  custom: {
    50: '#a39e5f',
    500: '#797719',
    950: '#000000',
  },
}
SCSS
$custom: #797719;
$custom-light: #a39e5f;
$custom-dark: #000000;
JSON
{
  "hex": "#797719",
  "rgb": {
    "r": 121,
    "g": 119,
    "b": 25
  },
  "hsl": {
    "h": 58.75,
    "s": 65.753,
    "l": 28.627
  },
  "oklch": {
    "l": 0.55388,
    "c": 0.11031,
    "h": 108.2
  },
  "luminance": 0.17329
}

Semantic roles & 50–950 ramp

primary
#797719
secondary
#4042AE
accent
#43E93F
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#0F0E05
muted
#7F7E79

Preview Lab

Preview with #797719

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

Preview Lab → · Contrast checker → · Palette generator →

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