#789158#789158

#789158 is a light, moderate yellow-green. Relative luminance 0.249; OKLCH L 62.3% C 0.086 H 128.0°. Best body text is #000000 at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#789158
RGBrgb(120, 145, 88)
HSLhsl(86, 24%, 46%)
HSVhsv(86, 39%, 57%)
CMYKcmyk(17.2%, 0%, 39.3%, 43.1%)
CIE-LABlab(57.02, -19.20, 27.39)
CIE-LCHlch(57.02, 33.45, 125.03°)
OKLaboklab(62.28% -0.0526 0.0674)
OKLCHoklch(62.28% 0.086 128)
XYZxyz(19.6324, 24.9482, 13.0118)
Luminance0.2495 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#789158 #715891
analogous
#918D58 #789158 #5B9158
triadic
#789158 #587891 #915878
tetradic
#789158 #58918D #715891 #91585B
square
#789158 #58918D #715891 #91585B
split-complementary
#789158 #585B91 #8D5891
monochromatic
#39452A #586B41 #789158 #96AD79 #B4C59F

Accessibility & contrast

On white

3.51
#789158 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.99
#789158 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #789158
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##789158#FFFFFF#000000##000000
##7891581.003.515.995.99
#FFFFFF3.511.0021.0021.00
#0000005.9921.001.001.00
##0000005.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#968A54
Deuteranopia (green-blind)
#93885B
Tritanopia (blue-blind)
#7B8C83
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #789158;
/* rgb */ color: rgb(120, 145, 88);
/* oklch */ color: oklch(62.3% 0.086 128.0);
Tailwind
colors: {
  custom: {
    50: '#a0b188',
    500: '#789158',
    950: '#000000',
  },
}
SCSS
$custom: #789158;
$custom-light: #a0b188;
$custom-dark: #000000;
JSON
{
  "hex": "#789158",
  "rgb": {
    "r": 120,
    "g": 145,
    "b": 88
  },
  "hsl": {
    "h": 86.316,
    "s": 24.464,
    "l": 45.686
  },
  "oklch": {
    "l": 0.62279,
    "c": 0.08553,
    "h": 128
  },
  "luminance": 0.24948
}

Semantic roles & 50–950 ramp

primary
#789158
secondary
#A093B2
accent
#67C18E
background
#F9FAF8
surface
#F2F5F0
border
#CCCFCB
text
#0F100B
muted
#7E7F7C

Preview Lab

Preview with #789158

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

Preview Lab → · Contrast checker → · Palette generator →

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