#798619#798619

#798619 is a mid, vivid yellow. Relative luminance 0.212; OKLCH L 59.0% C 0.127 H 116.6°. Best body text is #000000 at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#798619
RGBrgb(121, 134, 25)
HSLhsl(67, 69%, 31%)
HSVhsv(67, 81%, 53%)
CMYKcmyk(9.7%, 0%, 81.3%, 47.5%)
CIE-LABlab(53.15, -18.66, 52.00)
CIE-LCHlch(53.15, 55.25, 109.74°)
OKLaboklab(58.98% -0.0568 0.1134)
OKLCHoklch(58.98% 0.127 116.6)
XYZxyz(16.5862, 21.1856, 4.1350)
Luminance0.2119 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798619 #261986
analogous
#865C19 #798619 #428619
triadic
#798619 #197986 #861979
tetradic
#798619 #19865C #261986 #861942
square
#798619 #19865C #261986 #861942
split-complementary
#798619 #194286 #5C1986
monochromatic
#1C1F06 #4A520F #798619 #A8BA23 #C8DB3E

Accessibility & contrast

On white

4.01
#798619 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.24
#798619 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #798619
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##798619#FFFFFF#000000##000000
##7986191.004.015.245.24
#FFFFFF4.011.0021.0021.00
#0000005.2421.001.001.00
##0000005.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#907E00
Deuteranopia (green-blind)
#8F8024
Tritanopia (blue-blind)
#817E72
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #798619;
/* rgb */ color: rgb(121, 134, 25);
/* oklch */ color: oklch(59.0% 0.127 116.6);
Tailwind
colors: {
  custom: {
    50: '#a3a961',
    500: '#798619',
    950: '#000000',
  },
}
SCSS
$custom: #798619;
$custom-light: #a3a961;
$custom-dark: #000000;
JSON
{
  "hex": "#798619",
  "rgb": {
    "r": 121,
    "g": 134,
    "b": 25
  },
  "hsl": {
    "h": 67.156,
    "s": 68.553,
    "l": 31.176
  },
  "oklch": {
    "l": 0.58976,
    "c": 0.12681,
    "h": 116.6
  },
  "luminance": 0.21185
}

Semantic roles & 50–950 ramp

primary
#798619
secondary
#5041BA
accent
#3CEB51
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#100F05
muted
#7F7F7A

Preview Lab

Preview with #798619

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

Preview Lab → · Contrast checker → · Palette generator →

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