#289F45#289F45

#289F45 is a mid, vivid green. Relative luminance 0.257; OKLCH L 61.8% C 0.165 H 147.3°. Best body text is #000000 at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#289F45
RGBrgb(40, 159, 69)
HSLhsl(135, 60%, 39%)
HSVhsv(135, 75%, 62%)
CMYKcmyk(74.8%, 0%, 56.6%, 37.6%)
CIE-LABlab(57.73, -51.57, 37.40)
CIE-LCHlch(57.73, 63.71, 144.05°)
OKLaboklab(61.84% -0.1388 0.0892)
OKLCHoklch(61.84% 0.165 147.3)
XYZxyz(14.3463, 25.6754, 9.8288)
Luminance0.2568 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#289F45 #9F2882
analogous
#479F28 #289F45 #289F81
triadic
#289F45 #45289F #9F4528
tetradic
#289F45 #28479F #9F2882 #9F8128
square
#289F45 #28479F #9F2882 #9F8128
split-complementary
#289F45 #81289F #9F2847
monochromatic
#0F3D1B #1C6E30 #289F45 #37CD5C #68D984

Accessibility & contrast

On white

3.42
#289F45 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.14
#289F45 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #289F45
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##289F45#FFFFFF#000000##000000
##289F451.003.426.146.14
#FFFFFF3.421.0021.0021.00
#0000006.1421.001.001.00
##0000006.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#A1903C
Deuteranopia (green-blind)
#93874C
Tritanopia (blue-blind)
#009B8B
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #289f45;
/* rgb */ color: rgb(40, 159, 69);
/* oklch */ color: oklch(61.8% 0.165 147.3);
Tailwind
colors: {
  custom: {
    50: '#75bc7b',
    500: '#289f45',
    950: '#000000',
  },
}
SCSS
$custom: #289f45;
$custom-light: #75bc7b;
$custom-dark: #000000;
JSON
{
  "hex": "#289f45",
  "rgb": {
    "r": 40,
    "g": 159,
    "b": 69
  },
  "hsl": {
    "h": 134.622,
    "s": 59.799,
    "l": 39.02
  },
  "oklch": {
    "l": 0.61838,
    "c": 0.16504,
    "h": 147.3
  },
  "luminance": 0.25677
}

Semantic roles & 50–950 ramp

primary
#289F45
secondary
#BF64A9
accent
#45BCE3
background
#F7FBF7
surface
#EEF7EE
border
#C9D0C9
text
#0A1209
muted
#7C817B

Preview Lab

Preview with #289F45

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

Preview Lab → · Contrast checker → · Palette generator →

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