#788F15#788F15

#788F15 is a mid, vivid yellow-green. Relative luminance 0.237; OKLCH L 61.1% C 0.140 H 120.7°. Best body text is #000000 at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#788F15
RGBrgb(120, 143, 21)
HSLhsl(71, 74%, 32%)
HSVhsv(71, 85%, 56%)
CMYKcmyk(16.1%, 0%, 85.3%, 43.9%)
CIE-LABlab(55.78, -23.84, 55.39)
CIE-LCHlch(55.78, 60.30, 113.29°)
OKLaboklab(61.07% -0.0712 0.12)
OKLCHoklch(61.07% 0.14 120.7)
XYZxyz(17.7039, 23.6922, 4.3497)
Luminance0.2369 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#788F15 #2C158F
analogous
#8F6915 #788F15 #3B8F15
triadic
#788F15 #15788F #8F1578
tetradic
#788F15 #158F69 #2C158F #8F153B
square
#788F15 #158F69 #2C158F #8F153B
split-complementary
#788F15 #153B8F #69158F
monochromatic
#1E2405 #4B5A0D #788F15 #A5C41D #C3E23C

Accessibility & contrast

On white

3.66
#788F15 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.74
#788F15 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #788F15
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##788F15#FFFFFF#000000##000000
##788F151.003.665.745.74
#FFFFFF3.661.0021.0021.00
#0000005.7421.001.001.00
##0000005.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#988600
Deuteranopia (green-blind)
#968623
Tritanopia (blue-blind)
#7F877A
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #788f15;
/* rgb */ color: rgb(120, 143, 21);
/* oklch */ color: oklch(61.1% 0.140 120.7);
Tailwind
colors: {
  custom: {
    50: '#a3af61',
    500: '#788f15',
    950: '#000000',
  },
}
SCSS
$custom: #788f15;
$custom-light: #a3af61;
$custom-dark: #000000;
JSON
{
  "hex": "#788f15",
  "rgb": {
    "r": 120,
    "g": 143,
    "b": 21
  },
  "hsl": {
    "h": 71.311,
    "s": 74.39,
    "l": 32.157
  },
  "oklch": {
    "l": 0.61068,
    "c": 0.13951,
    "h": 120.7
  },
  "luminance": 0.23692
}

Semantic roles & 50–950 ramp

primary
#788F15
secondary
#573EC2
accent
#37F15A
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F1005
muted
#7F7F7A

Preview Lab

Preview with #788F15

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

Preview Lab → · Contrast checker → · Palette generator →

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