#788F1D#788F1D

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

Color values

HEX#788F1D
RGBrgb(120, 143, 29)
HSLhsl(72, 66%, 34%)
HSVhsv(72, 80%, 56%)
CMYKcmyk(16.1%, 0%, 79.7%, 43.9%)
CIE-LABlab(55.81, -23.53, 53.14)
CIE-LCHlch(55.81, 58.12, 113.88°)
OKLaboklab(61.11% -0.0698 0.1166)
OKLCHoklch(61.11% 0.136 120.9)
XYZxyz(17.7903, 23.7267, 4.8047)
Luminance0.2373 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#788F1D #341D8F
analogous
#8F6D1D #788F1D #3F8F1D
triadic
#788F1D #1D788F #8F1D78
tetradic
#788F1D #1D8F6D #341D8F #8F1D3F
square
#788F1D #1D8F6D #341D8F #8F1D3F
split-complementary
#788F1D #1D3F8F #6D1D8F
monochromatic
#232908 #4D5C13 #788F1D #A3C227 #BEDB4C

Accessibility & contrast

On white

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

On black

5.75
#788F1D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #788F1D
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##788F1D#FFFFFF#000000##000000
##788F1D1.003.665.755.75
#FFFFFF3.661.0021.0021.00
#0000005.7521.001.001.00
##0000005.7521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #788f1d;
/* rgb */ color: rgb(120, 143, 29);
/* oklch */ color: oklch(61.1% 0.136 120.9);
Tailwind
colors: {
  custom: {
    50: '#a2af64',
    500: '#788f1d',
    950: '#000000',
  },
}
SCSS
$custom: #788f1d;
$custom-light: #a2af64;
$custom-dark: #000000;
JSON
{
  "hex": "#788f1d",
  "rgb": {
    "r": 120,
    "g": 143,
    "b": 29
  },
  "hsl": {
    "h": 72.105,
    "s": 66.279,
    "l": 33.725
  },
  "oklch": {
    "l": 0.61107,
    "c": 0.13585,
    "h": 120.9
  },
  "luminance": 0.23727
}

Semantic roles & 50–950 ramp

primary
#788F1D
secondary
#624BBD
accent
#3FE961
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F1006
muted
#7F7F7A

Preview Lab

Preview with #788F1D

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

Preview Lab → · Contrast checker → · Palette generator →

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