#788019#788019

#788019 is a mid, vivid yellow. Relative luminance 0.195; OKLCH L 57.4% C 0.120 H 114.2°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#788019
RGBrgb(120, 128, 25)
HSLhsl(65, 67%, 30%)
HSVhsv(65, 80%, 50%)
CMYKcmyk(6.3%, 0%, 80.5%, 49.8%)
CIE-LABlab(51.27, -15.96, 50.28)
CIE-LCHlch(51.27, 52.75, 107.61°)
OKLaboklab(57.45% -0.0493 0.1098)
OKLCHoklch(57.45% 0.12 114.2)
XYZxyz(15.6409, 19.5019, 3.8598)
Luminance0.1950 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#788019 #211980
analogous
#805419 #788019 #458019
triadic
#788019 #197880 #801978
tetradic
#788019 #198054 #211980 #801945
square
#788019 #198054 #211980 #801945
split-complementary
#788019 #194580 #541980
monochromatic
#181A05 #484D0F #788019 #A8B323 #CCD93B

Accessibility & contrast

On white

4.29
#788019 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.90
#788019 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #788019
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##788019#FFFFFF#000000##000000
##7880191.004.294.904.90
#FFFFFF4.291.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #788019;
/* rgb */ color: rgb(120, 128, 25);
/* oklch */ color: oklch(57.4% 0.120 114.2);
Tailwind
colors: {
  custom: {
    50: '#a2a460',
    500: '#788019',
    950: '#000000',
  },
}
SCSS
$custom: #788019;
$custom-light: #a2a460;
$custom-dark: #000000;
JSON
{
  "hex": "#788019",
  "rgb": {
    "r": 120,
    "g": 128,
    "b": 25
  },
  "hsl": {
    "h": 64.66,
    "s": 67.32,
    "l": 30
  },
  "oklch": {
    "l": 0.57445,
    "c": 0.12031,
    "h": 114.2
  },
  "luminance": 0.19502
}

Semantic roles & 50–950 ramp

primary
#788019
secondary
#4A41B4
accent
#3EEA4B
background
#FAFAF5
surface
#F4F4EA
border
#CECEC6
text
#0F0F05
muted
#7F7F79

Preview Lab

Preview with #788019

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

Preview Lab → · Contrast checker → · Palette generator →

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