#289B45#289B45

#289B45 is a mid, vivid green. Relative luminance 0.243; OKLCH L 60.7% C 0.160 H 147.6°. Best body text is #000000 at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#289B45
RGBrgb(40, 155, 69)
HSLhsl(135, 59%, 38%)
HSVhsv(135, 74%, 61%)
CMYKcmyk(74.2%, 0%, 55.5%, 39.2%)
CIE-LABlab(56.41, -50.14, 35.82)
CIE-LCHlch(56.41, 61.62, 144.46°)
OKLaboklab(60.75% -0.135 0.0858)
OKLCHoklch(60.75% 0.16 147.6)
XYZxyz(13.6696, 24.3219, 9.6033)
Luminance0.2432 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#289B45 #9B287E
analogous
#459B28 #289B45 #289B7E
triadic
#289B45 #45289B #9B4528
tetradic
#289B45 #28459B #9B287E #9B7E28
square
#289B45 #28459B #9B287E #9B7E28
split-complementary
#289B45 #7E289B #9B2845
monochromatic
#0F3A1A #1B6A2F #289B45 #35CB5B #66D783

Accessibility & contrast

On white

3.58
#289B45 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.86
#289B45 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #289B45
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##289B45#FFFFFF#000000##000000
##289B451.003.585.865.86
#FFFFFF3.581.0021.0021.00
#0000005.8621.001.001.00
##0000005.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#9D8D3D
Deuteranopia (green-blind)
#8F844C
Tritanopia (blue-blind)
#009888
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #289b45;
/* rgb */ color: rgb(40, 155, 69);
/* oklch */ color: oklch(60.7% 0.160 147.6);
Tailwind
colors: {
  custom: {
    50: '#74ba7b',
    500: '#289b45',
    950: '#000000',
  },
}
SCSS
$custom: #289b45;
$custom-light: #74ba7b;
$custom-dark: #000000;
JSON
{
  "hex": "#289b45",
  "rgb": {
    "r": 40,
    "g": 155,
    "b": 69
  },
  "hsl": {
    "h": 135.13,
    "s": 58.974,
    "l": 38.235
  },
  "oklch": {
    "l": 0.60746,
    "c": 0.15991,
    "h": 147.6
  },
  "luminance": 0.24323
}

Semantic roles & 50–950 ramp

primary
#289B45
secondary
#BD61A6
accent
#46BBE2
background
#F7FBF7
surface
#EEF6EE
border
#C9D0C9
text
#091209
muted
#7B817B

Preview Lab

Preview with #289B45

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

Preview Lab → · Contrast checker → · Palette generator →

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