#797619#797619

#797619 is a mid, moderate yellow. Relative luminance 0.171; OKLCH L 55.2% C 0.109 H 107.6°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#797619
RGBrgb(121, 118, 25)
HSLhsl(58, 66%, 29%)
HSVhsv(58, 79%, 47%)
CMYKcmyk(0%, 2.5%, 79.3%, 52.5%)
CIE-LABlab(48.38, -10.08, 47.69)
CIE-LCHlch(48.38, 48.74, 101.93°)
OKLaboklab(55.15% -0.033 0.1042)
OKLCHoklch(55.15% 0.109 107.6)
XYZxyz(14.5396, 17.0925, 3.4528)
Luminance0.1709 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#797619 #191C79
analogous
#794619 #797619 #4C7919
triadic
#797619 #197976 #761979
tetradic
#797619 #197946 #191C79 #79194C
square
#797619 #197946 #191C79 #79194C
split-complementary
#797619 #194C79 #461979
monochromatic
#191905 #46450F #797619 #ACA723 #D6D137

Accessibility & contrast

On white

4.75
#797619 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#797619 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #797619
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##797619#FFFFFF#000000##FFFFFF
##7976191.004.754.424.75
#FFFFFF4.751.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817103
Deuteranopia (green-blind)
#827421
Tritanopia (blue-blind)
#826E65
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #797619;
/* rgb */ color: rgb(121, 118, 25);
/* oklch */ color: oklch(55.2% 0.109 107.6);
Tailwind
colors: {
  custom: {
    50: '#a39d5e',
    500: '#797619',
    950: '#000000',
  },
}
SCSS
$custom: #797619;
$custom-light: #a39d5e;
$custom-dark: #000000;
JSON
{
  "hex": "#797619",
  "rgb": {
    "r": 121,
    "g": 118,
    "b": 25
  },
  "hsl": {
    "h": 58.125,
    "s": 65.753,
    "l": 28.627
  },
  "oklch": {
    "l": 0.55152,
    "c": 0.10928,
    "h": 107.6
  },
  "luminance": 0.17092
}

Semantic roles & 50–950 ramp

primary
#797619
secondary
#4044AE
accent
#44E93F
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#0F0E05
muted
#7F7E79

Preview Lab

Preview with #797619

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

Preview Lab → · Contrast checker → · Palette generator →

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