#797819#797819

#797819 is a mid, moderate yellow. Relative luminance 0.176; OKLCH L 55.6% C 0.111 H 108.9°. Best body text is #FFFFFF at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#797819
RGBrgb(121, 120, 25)
HSLhsl(59, 66%, 29%)
HSVhsv(59, 79%, 47%)
CMYKcmyk(0%, 0.8%, 79.3%, 52.5%)
CIE-LABlab(48.97, -11.18, 48.23)
CIE-LCHlch(48.97, 49.51, 103.05°)
OKLaboklab(55.62% -0.0361 0.1053)
OKLCHoklch(55.62% 0.111 108.9)
XYZxyz(14.7777, 17.5685, 3.5322)
Luminance0.1757 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#797819 #191A79
analogous
#794819 #797819 #4A7919
triadic
#797819 #197978 #781979
tetradic
#797819 #197948 #191A79 #79194A
square
#797819 #197948 #191A79 #79194A
split-complementary
#797819 #194A79 #481979
monochromatic
#191905 #46460F #797819 #ACAA23 #D6D437

Accessibility & contrast

On white

4.65
#797819 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.51
#797819 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #797819
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##797819#FFFFFF#000000##FFFFFF
##7978191.004.654.514.65
#FFFFFF4.651.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827301
Deuteranopia (green-blind)
#847621
Tritanopia (blue-blind)
#827066
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #797819;
/* rgb */ color: rgb(121, 120, 25);
/* oklch */ color: oklch(55.6% 0.111 108.9);
Tailwind
colors: {
  custom: {
    50: '#a39e5f',
    500: '#797819',
    950: '#000000',
  },
}
SCSS
$custom: #797819;
$custom-light: #a39e5f;
$custom-dark: #000000;
JSON
{
  "hex": "#797819",
  "rgb": {
    "r": 121,
    "g": 120,
    "b": 25
  },
  "hsl": {
    "h": 59.375,
    "s": 65.753,
    "l": 28.627
  },
  "oklch": {
    "l": 0.55624,
    "c": 0.11133,
    "h": 108.9
  },
  "luminance": 0.17568
}

Semantic roles & 50–950 ramp

primary
#797819
secondary
#4041AE
accent
#41E93F
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#0F0E05
muted
#7F7E79

Preview Lab

Preview with #797819

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

Preview Lab → · Contrast checker → · Palette generator →

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