#788E22#788E22

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

Color values

HEX#788E22
RGBrgb(120, 142, 34)
HSLhsl(72, 61%, 35%)
HSVhsv(72, 76%, 56%)
CMYKcmyk(15.5%, 0%, 76.1%, 44.3%)
CIE-LABlab(55.54, -22.78, 51.21)
CIE-LCHlch(55.54, 56.05, 113.98°)
OKLaboklab(60.89% -0.0673 0.1134)
OKLCHoklch(60.89% 0.132 120.7)
XYZxyz(17.7078, 23.4546, 5.1074)
Luminance0.2346 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#788E22 #38228E
analogous
#8E6E22 #788E22 #428E22
triadic
#788E22 #22788E #8E2278
tetradic
#788E22 #228E6E #38228E #8E2242
square
#788E22 #228E6E #38228E #8E2242
split-complementary
#788E22 #22428E #6E228E
monochromatic
#252B0A #4E5D16 #788E22 #A2BF2E #BCD654

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##788E22#FFFFFF#000000##000000
##788E221.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)
#97850A
Deuteranopia (green-blind)
#94852C
Tritanopia (blue-blind)
#7F8679
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #788e22;
/* rgb */ color: rgb(120, 142, 34);
/* oklch */ color: oklch(60.9% 0.132 120.7);
Tailwind
colors: {
  custom: {
    50: '#a2af66',
    500: '#788e22',
    950: '#000000',
  },
}
SCSS
$custom: #788e22;
$custom-light: #a2af66;
$custom-dark: #000000;
JSON
{
  "hex": "#788e22",
  "rgb": {
    "r": 120,
    "g": 142,
    "b": 34
  },
  "hsl": {
    "h": 72.222,
    "s": 61.364,
    "l": 34.51
  },
  "oklch": {
    "l": 0.60893,
    "c": 0.13185,
    "h": 120.7
  },
  "luminance": 0.23455
}

Semantic roles & 50–950 ramp

primary
#788E22
secondary
#6752BA
accent
#43E464
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F1006
muted
#7F7F7A

Preview Lab

Preview with #788E22

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

Preview Lab → · Contrast checker → · Palette generator →

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