#289F40#289F40

#289F40 is a mid, vivid green. Relative luminance 0.256; OKLCH L 61.8% C 0.169 H 146.3°. Best body text is #000000 at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#289F40
RGBrgb(40, 159, 64)
HSLhsl(132, 60%, 39%)
HSVhsv(132, 75%, 62%)
CMYKcmyk(74.8%, 0%, 59.7%, 37.6%)
CIE-LABlab(57.67, -52.25, 39.75)
CIE-LCHlch(57.67, 65.65, 142.74°)
OKLaboklab(61.77% -0.1408 0.094)
OKLCHoklch(61.77% 0.169 146.3)
XYZxyz(14.1976, 25.6159, 9.0456)
Luminance0.2562 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#289F40 #9F2887
analogous
#4C9F28 #289F40 #289F7C
triadic
#289F40 #40289F #9F4028
tetradic
#289F40 #284C9F #9F2887 #9F7C28
square
#289F40 #284C9F #9F2887 #9F7C28
split-complementary
#289F40 #7C289F #9F284C
monochromatic
#0F3D19 #1C6E2C #289F40 #37CD56 #68D97F

Accessibility & contrast

On white

3.43
#289F40 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.12
#289F40 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #289F40
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##289F40#FFFFFF#000000##000000
##289F401.003.436.126.12
#FFFFFF3.431.0021.0021.00
#0000006.1221.001.001.00
##0000006.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#A19036
Deuteranopia (green-blind)
#948748
Tritanopia (blue-blind)
#009B8A
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #289f40;
/* rgb */ color: rgb(40, 159, 64);
/* oklch */ color: oklch(61.8% 0.169 146.3);
Tailwind
colors: {
  custom: {
    50: '#75bc78',
    500: '#289f40',
    950: '#000000',
  },
}
SCSS
$custom: #289f40;
$custom-light: #75bc78;
$custom-dark: #000000;
JSON
{
  "hex": "#289f40",
  "rgb": {
    "r": 40,
    "g": 159,
    "b": 64
  },
  "hsl": {
    "h": 132.101,
    "s": 59.799,
    "l": 39.02
  },
  "oklch": {
    "l": 0.61772,
    "c": 0.16929,
    "h": 146.3
  },
  "luminance": 0.25618
}

Semantic roles & 50–950 ramp

primary
#289F40
secondary
#BF64AD
accent
#45C3E3
background
#F7FBF7
surface
#EEF7ED
border
#C9D0C8
text
#0A1209
muted
#7C817B

Preview Lab

Preview with #289F40

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

Preview Lab → · Contrast checker → · Palette generator →

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