#788D19#788D19

#788D19 is a mid, vivid yellow-green. Relative luminance 0.231; OKLCH L 60.6% C 0.135 H 120.0°. Best body text is #000000 at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#788D19
RGBrgb(120, 141, 25)
HSLhsl(71, 70%, 33%)
HSVhsv(71, 82%, 55%)
CMYKcmyk(14.9%, 0%, 82.3%, 44.7%)
CIE-LABlab(55.19, -22.69, 53.79)
CIE-LCHlch(55.19, 58.38, 112.87°)
OKLaboklab(60.6% -0.0678 0.1172)
OKLCHoklch(60.6% 0.135 120)
XYZxyz(17.4464, 23.1131, 4.4617)
Luminance0.2311 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#788D19 #2E198D
analogous
#8D6819 #788D19 #3E8D19
triadic
#788D19 #19788D #8D1978
tetradic
#788D19 #198D68 #2E198D #8D193E
square
#788D19 #198D68 #2E198D #8D193E
split-complementary
#788D19 #193E8D #68198D
monochromatic
#202507 #4C5910 #788D19 #A4C122 #C2DE43

Accessibility & contrast

On white

3.73
#788D19 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.62
#788D19 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #788D19
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##788D19#FFFFFF#000000##000000
##788D191.003.735.625.62
#FFFFFF3.731.0021.0021.00
#0000005.6221.001.001.00
##0000005.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#968400
Deuteranopia (green-blind)
#948425
Tritanopia (blue-blind)
#7F8578
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #788d19;
/* rgb */ color: rgb(120, 141, 25);
/* oklch */ color: oklch(60.6% 0.135 120.0);
Tailwind
colors: {
  custom: {
    50: '#a2ae62',
    500: '#788d19',
    950: '#000000',
  },
}
SCSS
$custom: #788d19;
$custom-light: #a2ae62;
$custom-dark: #000000;
JSON
{
  "hex": "#788d19",
  "rgb": {
    "r": 120,
    "g": 141,
    "b": 25
  },
  "hsl": {
    "h": 70.862,
    "s": 69.88,
    "l": 32.549
  },
  "oklch": {
    "l": 0.60597,
    "c": 0.13542,
    "h": 120
  },
  "luminance": 0.23113
}

Semantic roles & 50–950 ramp

primary
#788D19
secondary
#5A43BF
accent
#3BED5B
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F1006
muted
#7F7F7A

Preview Lab

Preview with #788D19

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

Preview Lab → · Contrast checker → · Palette generator →

#788D19 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva