#788E19#788E19

#788E19 is a mid, vivid yellow-green. Relative luminance 0.234; OKLCH L 60.8% C 0.137 H 120.4°. Best body text is #000000 at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#788E19
RGBrgb(120, 142, 25)
HSLhsl(71, 70%, 33%)
HSVhsv(71, 82%, 56%)
CMYKcmyk(15.5%, 0%, 82.4%, 44.3%)
CIE-LABlab(55.49, -23.19, 54.06)
CIE-LCHlch(55.49, 58.82, 113.22°)
OKLaboklab(60.84% -0.0692 0.1178)
OKLCHoklch(60.84% 0.137 120.4)
XYZxyz(17.5945, 23.4093, 4.5111)
Luminance0.2341 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#788E19 #2F198E
analogous
#8E6919 #788E19 #3D8E19
triadic
#788E19 #19788E #8E1978
tetradic
#788E19 #198E69 #2F198E #8E193D
square
#788E19 #198E69 #2F198E #8E193D
split-complementary
#788E19 #193D8E #69198E
monochromatic
#202607 #4C5A10 #788E19 #A4C222 #C1DE43

Accessibility & contrast

On white

3.70
#788E19 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.68
#788E19 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #788E19
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##788E19#FFFFFF#000000##000000
##788E191.003.705.685.68
#FFFFFF3.701.0021.0021.00
#0000005.6821.001.001.00
##0000005.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#978500
Deuteranopia (green-blind)
#958525
Tritanopia (blue-blind)
#7F8679
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #788e19;
/* rgb */ color: rgb(120, 142, 25);
/* oklch */ color: oklch(60.8% 0.137 120.4);
Tailwind
colors: {
  custom: {
    50: '#a2af62',
    500: '#788e19',
    950: '#000000',
  },
}
SCSS
$custom: #788e19;
$custom-light: #a2af62;
$custom-dark: #000000;
JSON
{
  "hex": "#788e19",
  "rgb": {
    "r": 120,
    "g": 142,
    "b": 25
  },
  "hsl": {
    "h": 71.282,
    "s": 70.06,
    "l": 32.745
  },
  "oklch": {
    "l": 0.60841,
    "c": 0.13662,
    "h": 120.4
  },
  "luminance": 0.23409
}

Semantic roles & 50–950 ramp

primary
#788E19
secondary
#5B44BF
accent
#3BED5C
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F1006
muted
#7F7F7A

Preview Lab

Preview with #788E19

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

Preview Lab → · Contrast checker → · Palette generator →

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