#798019#798019

#798019 is a mid, moderate yellow. Relative luminance 0.196; OKLCH L 57.5% C 0.120 H 113.6°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#798019
RGBrgb(121, 128, 25)
HSLhsl(64, 67%, 30%)
HSVhsv(64, 80%, 50%)
CMYKcmyk(5.5%, 0%, 80.5%, 49.8%)
CIE-LABlab(51.35, -15.50, 50.39)
CIE-LCHlch(51.35, 52.72, 107.10°)
OKLaboklab(57.53% -0.0481 0.1099)
OKLCHoklch(57.53% 0.12 113.6)
XYZxyz(15.7803, 19.5738, 3.8664)
Luminance0.1957 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798019 #201980
analogous
#805419 #798019 #458019
triadic
#798019 #197980 #801979
tetradic
#798019 #198054 #201980 #801945
square
#798019 #198054 #201980 #801945
split-complementary
#798019 #194580 #541980
monochromatic
#181A05 #494D0F #798019 #A9B323 #CED93B

Accessibility & contrast

On white

4.27
#798019 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.91
#798019 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #798019
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##798019#FFFFFF#000000##000000
##7980191.004.274.914.91
#FFFFFF4.271.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7900
Deuteranopia (green-blind)
#8A7B23
Tritanopia (blue-blind)
#82786D
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #798019;
/* rgb */ color: rgb(121, 128, 25);
/* oklch */ color: oklch(57.5% 0.120 113.6);
Tailwind
colors: {
  custom: {
    50: '#a3a460',
    500: '#798019',
    950: '#000000',
  },
}
SCSS
$custom: #798019;
$custom-light: #a3a460;
$custom-dark: #000000;
JSON
{
  "hex": "#798019",
  "rgb": {
    "r": 121,
    "g": 128,
    "b": 25
  },
  "hsl": {
    "h": 64.078,
    "s": 67.32,
    "l": 30
  },
  "oklch": {
    "l": 0.57531,
    "c": 0.11999,
    "h": 113.6
  },
  "luminance": 0.19573
}

Semantic roles & 50–950 ramp

primary
#798019
secondary
#4941B4
accent
#3EEA49
background
#FAFAF5
surface
#F4F4EA
border
#CECEC6
text
#0F0F05
muted
#7F7F79

Preview Lab

Preview with #798019

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

Preview Lab → · Contrast checker → · Palette generator →

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