#788D41#788D41

#788D41 is a mid, moderate yellow-green. Relative luminance 0.234; OKLCH L 61.0% C 0.105 H 122.4°. Best body text is #000000 at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#788D41
RGBrgb(120, 141, 65)
HSLhsl(77, 37%, 40%)
HSVhsv(77, 54%, 55%)
CMYKcmyk(14.9%, 0%, 53.9%, 44.7%)
CIE-LABlab(55.51, -19.90, 37.61)
CIE-LCHlch(55.51, 42.55, 117.88°)
OKLaboklab(60.96% -0.0563 0.0888)
OKLCHoklch(60.96% 0.105 122.4)
XYZxyz(18.2248, 23.4244, 8.5612)
Luminance0.2342 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#788D41 #56418D
analogous
#8D7C41 #788D41 #528D41
triadic
#788D41 #41788D #8D4178
tetradic
#788D41 #418D7C #56418D #8D4152
square
#788D41 #418D7C #56418D #8D4152
split-complementary
#788D41 #41528D #7C418D
monochromatic
#31391A #54632E #788D41 #9AB259 #B3C683

Accessibility & contrast

On white

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

On black

5.68
#788D41 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #788D41
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##788D41#FFFFFF#000000##000000
##788D411.003.695.685.68
#FFFFFF3.691.0021.0021.00
#0000005.6821.001.001.00
##0000005.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#94853A
Deuteranopia (green-blind)
#928546
Tritanopia (blue-blind)
#7D877C
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #788d41;
/* rgb */ color: rgb(120, 141, 65);
/* oklch */ color: oklch(61.0% 0.105 122.4);
Tailwind
colors: {
  custom: {
    50: '#a1ae78',
    500: '#788d41',
    950: '#000000',
  },
}
SCSS
$custom: #788d41;
$custom-light: #a1ae78;
$custom-dark: #000000;
JSON
{
  "hex": "#788d41",
  "rgb": {
    "r": 120,
    "g": 141,
    "b": 65
  },
  "hsl": {
    "h": 76.579,
    "s": 36.893,
    "l": 40.392
  },
  "oklch": {
    "l": 0.60955,
    "c": 0.10514,
    "h": 122.4
  },
  "luminance": 0.23424
}

Semantic roles & 50–950 ramp

primary
#788D41
secondary
#8979B0
accent
#5BCD7A
background
#FAFAF7
surface
#F3F4ED
border
#CDCEC8
text
#0F1009
muted
#7F7F7B

Preview Lab

Preview with #788D41

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

Preview Lab → · Contrast checker → · Palette generator →

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