#788D64#788D64

#788D64 is a mid, moderate yellow-green. Relative luminance 0.240; OKLCH L 61.6% C 0.064 H 130.2°. Best body text is #000000 at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#788D64
RGBrgb(120, 141, 100)
HSLhsl(91, 17%, 47%)
HSVhsv(91, 29%, 55%)
CMYKcmyk(14.9%, 0%, 29.1%, 44.7%)
CIE-LABlab(56.05, -15.31, 19.46)
CIE-LCHlch(56.05, 24.76, 128.19°)
OKLaboklab(61.57% -0.0414 0.0491)
OKLCHoklch(61.57% 0.064 130.2)
XYZxyz(19.5705, 23.9627, 15.6483)
Luminance0.2396 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#788D64 #79648D
analogous
#8C8D64 #788D64 #648D65
triadic
#788D64 #64788D #8D6478
tetradic
#788D64 #648C8D #79648D #8D6564
square
#788D64 #648C8D #79648D #8D6564
split-complementary
#788D64 #65648D #8D648C
monochromatic
#3B4531 #5A694B #788D64 #97A985 #B5C2A9

Accessibility & contrast

On white

3.63
#788D64 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.79
#788D64 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #788D64
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##788D64#FFFFFF#000000##000000
##788D641.003.635.795.79
#FFFFFF3.631.0021.0021.00
#0000005.7921.001.001.00
##0000005.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#918761
Deuteranopia (green-blind)
#8E8666
Tritanopia (blue-blind)
#798982
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #788d64;
/* rgb */ color: rgb(120, 141, 100);
/* oklch */ color: oklch(61.6% 0.064 130.2);
Tailwind
colors: {
  custom: {
    50: '#9fae90',
    500: '#788d64',
    950: '#000000',
  },
}
SCSS
$custom: #788d64;
$custom-light: #9fae90;
$custom-dark: #000000;
JSON
{
  "hex": "#788d64",
  "rgb": {
    "r": 120,
    "g": 141,
    "b": 100
  },
  "hsl": {
    "h": 90.732,
    "s": 17.012,
    "l": 47.255
  },
  "oklch": {
    "l": 0.61568,
    "c": 0.06419,
    "h": 130.2
  },
  "luminance": 0.23963
}

Semantic roles & 50–950 ramp

primary
#788D64
secondary
#A79CB1
accent
#6EBA95
background
#F9FAF8
surface
#F2F4F0
border
#CCCECB
text
#0E100C
muted
#7E7F7D

Preview Lab

Preview with #788D64

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

Preview Lab → · Contrast checker → · Palette generator →

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