#788E27#788E27

#788E27 is a mid, vivid yellow-green. Relative luminance 0.235; OKLCH L 60.9% C 0.129 H 120.9°. Best body text is #000000 at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#788E27
RGBrgb(120, 142, 39)
HSLhsl(73, 57%, 35%)
HSVhsv(73, 73%, 56%)
CMYKcmyk(15.5%, 0%, 72.5%, 44.3%)
CIE-LABlab(55.57, -22.50, 49.39)
CIE-LCHlch(55.57, 54.28, 114.49°)
OKLaboklab(60.93% -0.0661 0.1104)
OKLCHoklch(60.93% 0.129 120.9)
XYZxyz(17.7852, 23.4856, 5.5153)
Luminance0.2349 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#788E27 #3D278E
analogous
#8E7127 #788E27 #448E27
triadic
#788E27 #27788E #8E2778
tetradic
#788E27 #278E71 #3D278E #8E2744
square
#788E27 #278E71 #3D278E #8E2744
split-complementary
#788E27 #27448E #71278E
monochromatic
#272E0D #4F5E1A #788E27 #A1BE34 #B9D25D

Accessibility & contrast

On white

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

On black

5.70
#788E27 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #788E27
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##788E27#FFFFFF#000000##000000
##788E271.003.695.705.70
#FFFFFF3.691.0021.0021.00
#0000005.7021.001.001.00
##0000005.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#978515
Deuteranopia (green-blind)
#948530
Tritanopia (blue-blind)
#7F867A
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #788e27;
/* rgb */ color: rgb(120, 142, 39);
/* oklch */ color: oklch(60.9% 0.129 120.9);
Tailwind
colors: {
  custom: {
    50: '#a2af68',
    500: '#788e27',
    950: '#000000',
  },
}
SCSS
$custom: #788e27;
$custom-light: #a2af68;
$custom-dark: #000000;
JSON
{
  "hex": "#788e27",
  "rgb": {
    "r": 120,
    "g": 142,
    "b": 39
  },
  "hsl": {
    "h": 72.816,
    "s": 56.906,
    "l": 35.49
  },
  "oklch": {
    "l": 0.60929,
    "c": 0.12869,
    "h": 120.9
  },
  "luminance": 0.23486
}

Semantic roles & 50–950 ramp

primary
#788E27
secondary
#6D59B8
accent
#48E068
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F1007
muted
#7F7F7A

Preview Lab

Preview with #788E27

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

Preview Lab → · Contrast checker → · Palette generator →

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