#797119#797119

#797119 is a mid, moderate yellow. Relative luminance 0.159; OKLCH L 54.0% C 0.104 H 104.0°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#797119
RGBrgb(121, 113, 25)
HSLhsl(55, 66%, 29%)
HSVhsv(55, 79%, 47%)
CMYKcmyk(0%, 6.6%, 79.3%, 52.5%)
CIE-LABlab(46.90, -7.29, 46.34)
CIE-LCHlch(46.90, 46.91, 98.94°)
OKLaboklab(53.98% -0.0252 0.1013)
OKLCHoklch(53.98% 0.104 104)
XYZxyz(13.9664, 15.9460, 3.2617)
Luminance0.1595 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#797119 #192179
analogous
#794119 #797119 #517919
triadic
#797119 #197971 #711979
tetradic
#797119 #197941 #192179 #791951
square
#797119 #197941 #192179 #791951
split-complementary
#797119 #195179 #411979
monochromatic
#191805 #46420F #797119 #ACA023 #D6C837

Accessibility & contrast

On white

5.01
#797119 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#797119 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #797119
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##797119#FFFFFF#000000##FFFFFF
##7971191.005.014.195.01
#FFFFFF5.011.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6D05
Deuteranopia (green-blind)
#7E7120
Tritanopia (blue-blind)
#836960
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #797119;
/* rgb */ color: rgb(121, 113, 25);
/* oklch */ color: oklch(54.0% 0.104 104.0);
Tailwind
colors: {
  custom: {
    50: '#a3995e',
    500: '#797119',
    950: '#000000',
  },
}
SCSS
$custom: #797119;
$custom-light: #a3995e;
$custom-dark: #000000;
JSON
{
  "hex": "#797119",
  "rgb": {
    "r": 121,
    "g": 113,
    "b": 25
  },
  "hsl": {
    "h": 55,
    "s": 65.753,
    "l": 28.627
  },
  "oklch": {
    "l": 0.53978,
    "c": 0.10438,
    "h": 104
  },
  "luminance": 0.15945
}

Semantic roles & 50–950 ramp

primary
#797119
secondary
#4049AE
accent
#4DE93F
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100D05
muted
#7F7E79

Preview Lab

Preview with #797119

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

Preview Lab → · Contrast checker → · Palette generator →

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