#788E29#788E29

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

Color values

HEX#788E29
RGBrgb(120, 142, 41)
HSLhsl(73, 55%, 36%)
HSVhsv(73, 71%, 56%)
CMYKcmyk(15.5%, 0%, 71.1%, 44.3%)
CIE-LABlab(55.58, -22.38, 48.63)
CIE-LCHlch(55.58, 53.53, 114.71°)
OKLaboklab(60.94% -0.0656 0.1091)
OKLCHoklch(60.94% 0.127 121)
XYZxyz(17.8192, 23.4992, 5.6944)
Luminance0.2350 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#788E29 #3F298E
analogous
#8E7129 #788E29 #458E29
triadic
#788E29 #29788E #8E2978
tetradic
#788E29 #298E71 #3F298E #8E2945
square
#788E29 #298E71 #3F298E #8E2945
split-complementary
#788E29 #29458E #71298E
monochromatic
#282F0E #505F1B #788E29 #A0BD37 #B9D160

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##788E29#FFFFFF#000000##000000
##788E291.003.685.705.70
#FFFFFF3.681.0021.0021.00
#0000005.7021.001.001.00
##0000005.7021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #788e29;
/* rgb */ color: rgb(120, 142, 41);
/* oklch */ color: oklch(60.9% 0.127 121.0);
Tailwind
colors: {
  custom: {
    50: '#a2af69',
    500: '#788e29',
    950: '#000000',
  },
}
SCSS
$custom: #788e29;
$custom-light: #a2af69;
$custom-dark: #000000;
JSON
{
  "hex": "#788e29",
  "rgb": {
    "r": 120,
    "g": 142,
    "b": 41
  },
  "hsl": {
    "h": 73.069,
    "s": 55.191,
    "l": 35.882
  },
  "oklch": {
    "l": 0.60944,
    "c": 0.12732,
    "h": 121
  },
  "luminance": 0.23499
}

Semantic roles & 50–950 ramp

primary
#788E29
secondary
#705CB7
accent
#49DF6A
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F1007
muted
#7F7F7A

Preview Lab

Preview with #788E29

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

Preview Lab → · Contrast checker → · Palette generator →

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