#788C15#788C15

#788C15 is a mid, vivid yellow-green. Relative luminance 0.228; OKLCH L 60.3% C 0.136 H 119.6°. Best body text is #000000 at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#788C15
RGBrgb(120, 140, 21)
HSLhsl(70, 74%, 32%)
HSVhsv(70, 85%, 55%)
CMYKcmyk(14.3%, 0%, 85%, 45.1%)
CIE-LABlab(54.87, -22.33, 54.60)
CIE-LCHlch(54.87, 58.99, 112.24°)
OKLaboklab(60.33% -0.0671 0.1183)
OKLCHoklch(60.33% 0.136 119.6)
XYZxyz(17.2596, 22.8035, 4.2016)
Luminance0.2280 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#788C15 #29158C
analogous
#8C6515 #788C15 #3D8C15
triadic
#788C15 #15788C #8C1578
tetradic
#788C15 #158C65 #29158C #8C153D
square
#788C15 #158C65 #29158C #8C153D
split-complementary
#788C15 #153D8C #65158C
monochromatic
#1D2205 #4A570D #788C15 #A6C11D #C5E13A

Accessibility & contrast

On white

3.78
#788C15 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.56
#788C15 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #788C15
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##788C15#FFFFFF#000000##000000
##788C151.003.785.565.56
#FFFFFF3.781.0021.0021.00
#0000005.5621.001.001.00
##0000005.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#968300
Deuteranopia (green-blind)
#938422
Tritanopia (blue-blind)
#808477
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #788c15;
/* rgb */ color: rgb(120, 140, 21);
/* oklch */ color: oklch(60.3% 0.136 119.6);
Tailwind
colors: {
  custom: {
    50: '#a3ad60',
    500: '#788c15',
    950: '#000000',
  },
}
SCSS
$custom: #788c15;
$custom-light: #a3ad60;
$custom-dark: #000000;
JSON
{
  "hex": "#788c15",
  "rgb": {
    "r": 120,
    "g": 140,
    "b": 21
  },
  "hsl": {
    "h": 70.084,
    "s": 73.913,
    "l": 31.569
  },
  "oklch": {
    "l": 0.60334,
    "c": 0.13599,
    "h": 119.6
  },
  "luminance": 0.22803
}

Semantic roles & 50–950 ramp

primary
#788C15
secondary
#533DC0
accent
#37F156
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F1005
muted
#7F7F7A

Preview Lab

Preview with #788C15

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

Preview Lab → · Contrast checker → · Palette generator →

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