#788D22#788D22

#788D22 is a mid, vivid yellow-green. Relative luminance 0.232; OKLCH L 60.6% C 0.131 H 120.3°. Best body text is #000000 at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#788D22
RGBrgb(120, 141, 34)
HSLhsl(72, 61%, 34%)
HSVhsv(72, 76%, 55%)
CMYKcmyk(14.9%, 0%, 75.9%, 44.7%)
CIE-LABlab(55.24, -22.28, 50.92)
CIE-LCHlch(55.24, 55.58, 113.63°)
OKLaboklab(60.65% -0.0659 0.1128)
OKLCHoklch(60.65% 0.131 120.3)
XYZxyz(17.5597, 23.1584, 5.0580)
Luminance0.2316 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#788D22 #37228D
analogous
#8D6D22 #788D22 #428D22
triadic
#788D22 #22788D #8D2278
tetradic
#788D22 #228D6D #37228D #8D2242
square
#788D22 #228D6D #37228D #8D2242
split-complementary
#788D22 #22428D #6D228D
monochromatic
#242A0A #4E5C16 #788D22 #A2BE2E #BCD654

Accessibility & contrast

On white

3.73
#788D22 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.63
#788D22 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #788D22
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##788D22#FFFFFF#000000##000000
##788D221.003.735.635.63
#FFFFFF3.731.0021.0021.00
#0000005.6321.001.001.00
##0000005.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#96840B
Deuteranopia (green-blind)
#94842C
Tritanopia (blue-blind)
#7F8579
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #788d22;
/* rgb */ color: rgb(120, 141, 34);
/* oklch */ color: oklch(60.6% 0.131 120.3);
Tailwind
colors: {
  custom: {
    50: '#a2ae66',
    500: '#788d22',
    950: '#000000',
  },
}
SCSS
$custom: #788d22;
$custom-light: #a2ae66;
$custom-dark: #000000;
JSON
{
  "hex": "#788d22",
  "rgb": {
    "r": 120,
    "g": 141,
    "b": 34
  },
  "hsl": {
    "h": 71.776,
    "s": 61.143,
    "l": 34.314
  },
  "oklch": {
    "l": 0.60649,
    "c": 0.13062,
    "h": 120.3
  },
  "luminance": 0.23158
}

Semantic roles & 50–950 ramp

primary
#788D22
secondary
#6651B9
accent
#44E463
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F1006
muted
#7F7F7A

Preview Lab

Preview with #788D22

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

Preview Lab → · Contrast checker → · Palette generator →

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