#788945#788945

#788945 is a mid, moderate yellow-green. Relative luminance 0.223; OKLCH L 60.0% C 0.095 H 120.9°. Best body text is #000000 at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#788945
RGBrgb(120, 137, 69)
HSLhsl(75, 33%, 40%)
HSVhsv(75, 50%, 54%)
CMYKcmyk(12.4%, 0%, 49.6%, 46.3%)
CIE-LABlab(54.36, -17.39, 34.19)
CIE-LCHlch(54.36, 38.35, 116.96°)
OKLaboklab(60.05% -0.0489 0.0817)
OKLCHoklch(60.05% 0.095 120.9)
XYZxyz(17.7657, 22.3141, 9.0002)
Luminance0.2231 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#788945 #564589
analogous
#897845 #788945 #568945
triadic
#788945 #457889 #894578
tetradic
#788945 #458978 #564589 #894556
square
#788945 #458978 #564589 #894556
split-complementary
#788945 #455689 #784589
monochromatic
#31381C #546031 #788945 #9AAE5E #B3C286

Accessibility & contrast

On white

3.84
#788945 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.46
#788945 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #788945
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##788945#FFFFFF#000000##000000
##7889451.003.845.465.46
#FFFFFF3.841.0021.0021.00
#0000005.4621.001.001.00
##0000005.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#90823F
Deuteranopia (green-blind)
#8E8249
Tritanopia (blue-blind)
#7D8379
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #788945;
/* rgb */ color: rgb(120, 137, 69);
/* oklch */ color: oklch(60.0% 0.095 120.9);
Tailwind
colors: {
  custom: {
    50: '#a0ab7a',
    500: '#788945',
    950: '#000000',
  },
}
SCSS
$custom: #788945;
$custom-light: #a0ab7a;
$custom-dark: #000000;
JSON
{
  "hex": "#788945",
  "rgb": {
    "r": 120,
    "g": 137,
    "b": 69
  },
  "hsl": {
    "h": 75,
    "s": 33.01,
    "l": 40.392
  },
  "oklch": {
    "l": 0.60049,
    "c": 0.09517,
    "h": 120.9
  },
  "luminance": 0.22314
}

Semantic roles & 50–950 ramp

primary
#788945
secondary
#897CAD
accent
#5FC979
background
#FAFAF7
surface
#F3F4EE
border
#CDCEC9
text
#0F1009
muted
#7F7F7B

Preview Lab

Preview with #788945

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

Preview Lab → · Contrast checker → · Palette generator →

#788945 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva