#788E2D#788E2D

#788E2D is a mid, vivid yellow-green. Relative luminance 0.235; OKLCH L 61.0% C 0.124 H 121.2°. Best body text is #000000 at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#788E2D
RGBrgb(120, 142, 45)
HSLhsl(74, 52%, 37%)
HSVhsv(74, 68%, 56%)
CMYKcmyk(15.5%, 0%, 68.3%, 44.3%)
CIE-LABlab(55.61, -22.12, 47.02)
CIE-LCHlch(55.61, 51.96, 115.19°)
OKLaboklab(60.98% -0.0645 0.1064)
OKLCHoklch(60.98% 0.124 121.2)
XYZxyz(17.8926, 23.5285, 6.0810)
Luminance0.2353 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#788E2D #432D8E
analogous
#8E742D #788E2D #488E2D
triadic
#788E2D #2D788E #8E2D78
tetradic
#788E2D #2D8E74 #432D8E #8E2D48
square
#788E2D #2D8E74 #432D8E #8E2D48
split-complementary
#788E2D #2D488E #742D8E
monochromatic
#293110 #51601E #788E2D #9FBC3C #B7CF67

Accessibility & contrast

On white

3.68
#788E2D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.71
#788E2D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #788E2D
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##788E2D#FFFFFF#000000##000000
##788E2D1.003.685.715.71
#FFFFFF3.681.0021.0021.00
#0000005.7121.001.001.00
##0000005.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#97861F
Deuteranopia (green-blind)
#948534
Tritanopia (blue-blind)
#7E877A
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #788e2d;
/* rgb */ color: rgb(120, 142, 45);
/* oklch */ color: oklch(61.0% 0.124 121.2);
Tailwind
colors: {
  custom: {
    50: '#a2af6c',
    500: '#788e2d',
    950: '#000000',
  },
}
SCSS
$custom: #788e2d;
$custom-light: #a2af6c;
$custom-dark: #000000;
JSON
{
  "hex": "#788e2d",
  "rgb": {
    "r": 120,
    "g": 142,
    "b": 45
  },
  "hsl": {
    "h": 73.608,
    "s": 51.872,
    "l": 36.667
  },
  "oklch": {
    "l": 0.60978,
    "c": 0.12439,
    "h": 121.2
  },
  "luminance": 0.23529
}

Semantic roles & 50–950 ramp

primary
#788E2D
secondary
#7461B5
accent
#4CDB6D
background
#FAFAF6
surface
#F4F4EC
border
#CECEC7
text
#0F1007
muted
#7F7F7A

Preview Lab

Preview with #788E2D

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

Preview Lab → · Contrast checker → · Palette generator →

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