#788958#788958

#788958 is a mid, moderate yellow-green. Relative luminance 0.226; OKLCH L 60.4% C 0.073 H 124.1°. Best body text is #000000 at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#788958
RGBrgb(120, 137, 88)
HSLhsl(81, 22%, 44%)
HSVhsv(81, 36%, 54%)
CMYKcmyk(12.4%, 0%, 35.8%, 46.3%)
CIE-LABlab(54.65, -14.99, 24.29)
CIE-LCHlch(54.65, 28.55, 121.68°)
OKLaboklab(60.37% -0.0408 0.0602)
OKLCHoklch(60.37% 0.073 124.1)
XYZxyz(18.4527, 22.5889, 12.6186)
Luminance0.2259 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#788958 #695889
analogous
#898258 #788958 #608958
triadic
#788958 #587889 #895878
tetradic
#788958 #588982 #695889 #895860
square
#788958 #588982 #695889 #895860
split-complementary
#788958 #586089 #825889
monochromatic
#373E28 #576440 #788958 #97A777 #B3BF9C

Accessibility & contrast

On white

3.81
#788958 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.52
#788958 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #788958
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##788958#FFFFFF#000000##000000
##7889581.003.815.525.52
#FFFFFF3.811.0021.0021.00
#0000005.5221.001.001.00
##0000005.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E8355
Deuteranopia (green-blind)
#8C835A
Tritanopia (blue-blind)
#7B847D
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #788958;
/* rgb */ color: rgb(120, 137, 88);
/* oklch */ color: oklch(60.4% 0.073 124.1);
Tailwind
colors: {
  custom: {
    50: '#9fab87',
    500: '#788958',
    950: '#000000',
  },
}
SCSS
$custom: #788958;
$custom-light: #9fab87;
$custom-dark: #000000;
JSON
{
  "hex": "#788958",
  "rgb": {
    "r": 120,
    "g": 137,
    "b": 88
  },
  "hsl": {
    "h": 80.816,
    "s": 21.778,
    "l": 44.118
  },
  "oklch": {
    "l": 0.60374,
    "c": 0.07274,
    "h": 124.1
  },
  "luminance": 0.22589
}

Semantic roles & 50–950 ramp

primary
#788958
secondary
#9A90AD
accent
#69BE87
background
#F9FAF8
surface
#F2F4EF
border
#CCCECA
text
#0E100B
muted
#7E7F7C

Preview Lab

Preview with #788958

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

Preview Lab → · Contrast checker → · Palette generator →

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