#289C45#289C45

#289C45 is a mid, vivid green. Relative luminance 0.247; OKLCH L 61.0% C 0.161 H 147.5°. Best body text is #000000 at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#289C45
RGBrgb(40, 156, 69)
HSLhsl(135, 59%, 38%)
HSVhsv(135, 74%, 61%)
CMYKcmyk(74.4%, 0%, 55.8%, 38.8%)
CIE-LABlab(56.74, -50.50, 36.21)
CIE-LCHlch(56.74, 62.14, 144.36°)
OKLaboklab(61.02% -0.1359 0.0866)
OKLCHoklch(61.02% 0.161 147.5)
XYZxyz(13.8367, 24.6561, 9.6590)
Luminance0.2466 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#289C45 #9C287F
analogous
#459C28 #289C45 #289C7F
triadic
#289C45 #45289C #9C4528
tetradic
#289C45 #28459C #9C287F #9C7F28
square
#289C45 #28459C #9C287F #9C7F28
split-complementary
#289C45 #7F289C #9C2845
monochromatic
#0F3B1A #1C6B2F #289C45 #36CB5B #67D883

Accessibility & contrast

On white

3.54
#289C45 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.93
#289C45 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #289C45
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##289C45#FFFFFF#000000##000000
##289C451.003.545.935.93
#FFFFFF3.541.0021.0021.00
#0000005.9321.001.001.00
##0000005.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#9E8E3D
Deuteranopia (green-blind)
#90844C
Tritanopia (blue-blind)
#009988
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #289c45;
/* rgb */ color: rgb(40, 156, 69);
/* oklch */ color: oklch(61.0% 0.161 147.5);
Tailwind
colors: {
  custom: {
    50: '#74ba7b',
    500: '#289c45',
    950: '#000000',
  },
}
SCSS
$custom: #289c45;
$custom-light: #74ba7b;
$custom-dark: #000000;
JSON
{
  "hex": "#289c45",
  "rgb": {
    "r": 40,
    "g": 156,
    "b": 69
  },
  "hsl": {
    "h": 135,
    "s": 59.184,
    "l": 38.431
  },
  "oklch": {
    "l": 0.61019,
    "c": 0.16121,
    "h": 147.5
  },
  "luminance": 0.24658
}

Semantic roles & 50–950 ramp

primary
#289C45
secondary
#BE62A7
accent
#45BBE2
background
#F7FBF7
surface
#EEF6EE
border
#C9D0C9
text
#091209
muted
#7B817B

Preview Lab

Preview with #289C45

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

Preview Lab → · Contrast checker → · Palette generator →

#289C45 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva