#788E1D#788E1D

#788E1D is a mid, vivid yellow-green. Relative luminance 0.234; OKLCH L 60.9% C 0.135 H 120.5°. Best body text is #000000 at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#788E1D
RGBrgb(120, 142, 29)
HSLhsl(72, 66%, 34%)
HSVhsv(72, 80%, 56%)
CMYKcmyk(15.5%, 0%, 79.6%, 44.3%)
CIE-LABlab(55.51, -23.02, 52.86)
CIE-LCHlch(55.51, 57.66, 113.54°)
OKLaboklab(60.86% -0.0684 0.116)
OKLCHoklch(60.86% 0.135 120.5)
XYZxyz(17.6408, 23.4278, 4.7548)
Luminance0.2343 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#788E1D #331D8E
analogous
#8E6B1D #788E1D #3F8E1D
triadic
#788E1D #1D788E #8E1D78
tetradic
#788E1D #1D8E6B #331D8E #8E1D3F
square
#788E1D #1D8E6B #331D8E #8E1D3F
split-complementary
#788E1D #1D3F8E #6B1D8E
monochromatic
#222808 #4D5B13 #788E1D #A3C127 #BEDA4B

Accessibility & contrast

On white

3.69
#788E1D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.69
#788E1D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #788E1D
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##788E1D#FFFFFF#000000##000000
##788E1D1.003.695.695.69
#FFFFFF3.691.0021.0021.00
#0000005.6921.001.001.00
##0000005.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#978500
Deuteranopia (green-blind)
#958528
Tritanopia (blue-blind)
#7F8679
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #788e1d;
/* rgb */ color: rgb(120, 142, 29);
/* oklch */ color: oklch(60.9% 0.135 120.5);
Tailwind
colors: {
  custom: {
    50: '#a2af64',
    500: '#788e1d',
    950: '#000000',
  },
}
SCSS
$custom: #788e1d;
$custom-light: #a2af64;
$custom-dark: #000000;
JSON
{
  "hex": "#788e1d",
  "rgb": {
    "r": 120,
    "g": 142,
    "b": 29
  },
  "hsl": {
    "h": 71.681,
    "s": 66.082,
    "l": 33.529
  },
  "oklch": {
    "l": 0.60863,
    "c": 0.13465,
    "h": 120.5
  },
  "luminance": 0.23428
}

Semantic roles & 50–950 ramp

primary
#788E1D
secondary
#604ABD
accent
#3FE960
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F1006
muted
#7F7F7A

Preview Lab

Preview with #788E1D

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

Preview Lab → · Contrast checker → · Palette generator →

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