#798519#798519

#798519 is a mid, vivid yellow. Relative luminance 0.209; OKLCH L 58.7% C 0.126 H 116.1°. Best body text is #000000 at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#798519
RGBrgb(121, 133, 25)
HSLhsl(67, 68%, 31%)
HSVhsv(67, 81%, 52%)
CMYKcmyk(9%, 0%, 81.2%, 47.8%)
CIE-LABlab(52.85, -18.14, 51.73)
CIE-LCHlch(52.85, 54.82, 109.32°)
OKLaboklab(58.74% -0.0554 0.1128)
OKLCHoklch(58.74% 0.126 116.1)
XYZxyz(16.4486, 20.9104, 4.0891)
Luminance0.2091 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798519 #251985
analogous
#855B19 #798519 #438519
triadic
#798519 #197985 #851979
tetradic
#798519 #19855B #251985 #851943
square
#798519 #19855B #251985 #851943
split-complementary
#798519 #194385 #5B1985
monochromatic
#1B1E06 #4A510F #798519 #A8B923 #C9DB3E

Accessibility & contrast

On white

4.05
#798519 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.18
#798519 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #798519
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##798519#FFFFFF#000000##000000
##7985191.004.055.185.18
#FFFFFF4.051.0021.0021.00
#0000005.1821.001.001.00
##0000005.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7E00
Deuteranopia (green-blind)
#8E7F24
Tritanopia (blue-blind)
#817D71
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #798519;
/* rgb */ color: rgb(121, 133, 25);
/* oklch */ color: oklch(58.7% 0.126 116.1);
Tailwind
colors: {
  custom: {
    50: '#a3a861',
    500: '#798519',
    950: '#000000',
  },
}
SCSS
$custom: #798519;
$custom-light: #a3a861;
$custom-dark: #000000;
JSON
{
  "hex": "#798519",
  "rgb": {
    "r": 121,
    "g": 133,
    "b": 25
  },
  "hsl": {
    "h": 66.667,
    "s": 68.354,
    "l": 30.98
  },
  "oklch": {
    "l": 0.58735,
    "c": 0.12566,
    "h": 116.1
  },
  "luminance": 0.2091
}

Semantic roles & 50–950 ramp

primary
#798519
secondary
#4E41B9
accent
#3DEB50
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F0F05
muted
#7F7F7A

Preview Lab

Preview with #798519

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

Preview Lab → · Contrast checker → · Palette generator →

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