#788D15#788D15

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

Color values

HEX#788D15
RGBrgb(120, 141, 21)
HSLhsl(71, 74%, 32%)
HSVhsv(71, 85%, 55%)
CMYKcmyk(14.9%, 0%, 85.1%, 44.7%)
CIE-LABlab(55.17, -22.84, 54.86)
CIE-LCHlch(55.17, 59.43, 112.60°)
OKLaboklab(60.58% -0.0685 0.1188)
OKLCHoklch(60.58% 0.137 120)
XYZxyz(17.4063, 23.0970, 4.2505)
Luminance0.2310 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#788D15 #2A158D
analogous
#8D6615 #788D15 #3C8D15
triadic
#788D15 #15788D #8D1578
tetradic
#788D15 #158D66 #2A158D #8D153C
square
#788D15 #158D66 #2A158D #8D153C
split-complementary
#788D15 #153C8D #66158D
monochromatic
#1D2205 #4B580D #788D15 #A5C21D #C5E23B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##788D15#FFFFFF#000000##000000
##788D151.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)
#948423
Tritanopia (blue-blind)
#7F8578
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #788d15;
/* rgb */ color: rgb(120, 141, 21);
/* oklch */ color: oklch(60.6% 0.137 120.0);
Tailwind
colors: {
  custom: {
    50: '#a3ae60',
    500: '#788d15',
    950: '#000000',
  },
}
SCSS
$custom: #788d15;
$custom-light: #a3ae60;
$custom-dark: #000000;
JSON
{
  "hex": "#788d15",
  "rgb": {
    "r": 120,
    "g": 141,
    "b": 21
  },
  "hsl": {
    "h": 70.5,
    "s": 74.074,
    "l": 31.765
  },
  "oklch": {
    "l": 0.60579,
    "c": 0.13716,
    "h": 120
  },
  "luminance": 0.23097
}

Semantic roles & 50–950 ramp

primary
#788D15
secondary
#543DC1
accent
#37F158
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F1005
muted
#7F7F7A

Preview Lab

Preview with #788D15

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

Preview Lab → · Contrast checker → · Palette generator →

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