#788D14#788D14

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

Color values

HEX#788D14
RGBrgb(120, 141, 20)
HSLhsl(70, 75%, 32%)
HSVhsv(70, 86%, 55%)
CMYKcmyk(14.9%, 0%, 85.8%, 44.7%)
CIE-LABlab(55.17, -22.87, 55.11)
CIE-LCHlch(55.17, 59.67, 112.54°)
OKLaboklab(60.57% -0.0686 0.1192)
OKLCHoklch(60.57% 0.138 119.9)
XYZxyz(17.3973, 23.0934, 4.2027)
Luminance0.2309 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#788D14 #29148D
analogous
#8D6614 #788D14 #3C8D14
triadic
#788D14 #14788D #8D1478
tetradic
#788D14 #148D66 #29148D #8D143C
square
#788D14 #148D66 #29148D #8D143C
split-complementary
#788D14 #143C8D #66148D
monochromatic
#1D2205 #4A570C #788D14 #A6C31C #C5E339

Accessibility & contrast

On white

3.74
#788D14 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##788D14#FFFFFF#000000##000000
##788D141.003.745.625.62
#FFFFFF3.741.0021.0021.00
#0000005.6221.001.001.00
##0000005.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#978400
Deuteranopia (green-blind)
#948422
Tritanopia (blue-blind)
#808578
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #788d14;
/* rgb */ color: rgb(120, 141, 20);
/* oklch */ color: oklch(60.6% 0.138 119.9);
Tailwind
colors: {
  custom: {
    50: '#a3ae60',
    500: '#788d14',
    950: '#000000',
  },
}
SCSS
$custom: #788d14;
$custom-light: #a3ae60;
$custom-dark: #000000;
JSON
{
  "hex": "#788d14",
  "rgb": {
    "r": 120,
    "g": 141,
    "b": 20
  },
  "hsl": {
    "h": 70.413,
    "s": 75.155,
    "l": 31.569
  },
  "oklch": {
    "l": 0.60574,
    "c": 0.13756,
    "h": 119.9
  },
  "luminance": 0.23093
}

Semantic roles & 50–950 ramp

primary
#788D14
secondary
#533CC1
accent
#36F257
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F1005
muted
#7F7F7A

Preview Lab

Preview with #788D14

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

Preview Lab → · Contrast checker → · Palette generator →

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