#289F31#289F31

#289F31 is a mid, vivid green. Relative luminance 0.255; OKLCH L 61.6% C 0.181 H 143.9°. Best body text is #000000 at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#289F31
RGBrgb(40, 159, 49)
HSLhsl(125, 60%, 39%)
HSVhsv(125, 75%, 62%)
CMYKcmyk(74.8%, 0%, 69.2%, 37.6%)
CIE-LABlab(57.53, -53.97, 46.30)
CIE-LCHlch(57.53, 71.11, 139.37°)
OKLaboklab(61.61% -0.1461 0.1064)
OKLCHoklch(61.61% 0.181 143.9)
XYZxyz(13.8267, 25.4676, 7.0922)
Luminance0.2547 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#289F31 #9F2896
analogous
#5B9F28 #289F31 #289F6D
triadic
#289F31 #31289F #9F3128
tetradic
#289F31 #285B9F #9F2896 #9F6D28
square
#289F31 #285B9F #9F2896 #9F6D28
split-complementary
#289F31 #6D289F #9F285B
monochromatic
#0F3D13 #1C6E22 #289F31 #37CD43 #68D971

Accessibility & contrast

On white

3.45
#289F31 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.09
#289F31 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #289F31
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##289F31#FFFFFF#000000##000000
##289F311.003.456.096.09
#FFFFFF3.451.0021.0021.00
#0000006.0921.001.001.00
##0000006.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#A29021
Deuteranopia (green-blind)
#95873B
Tritanopia (blue-blind)
#009B89
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #289f31;
/* rgb */ color: rgb(40, 159, 49);
/* oklch */ color: oklch(61.6% 0.181 143.9);
Tailwind
colors: {
  custom: {
    50: '#76bc6f',
    500: '#289f31',
    950: '#000000',
  },
}
SCSS
$custom: #289f31;
$custom-light: #76bc6f;
$custom-dark: #000000;
JSON
{
  "hex": "#289f31",
  "rgb": {
    "r": 40,
    "g": 159,
    "b": 49
  },
  "hsl": {
    "h": 124.538,
    "s": 59.799,
    "l": 39.02
  },
  "oklch": {
    "l": 0.61608,
    "c": 0.18072,
    "h": 143.9
  },
  "luminance": 0.25469
}

Semantic roles & 50–950 ramp

primary
#289F31
secondary
#BF64B8
accent
#45D7E3
background
#F7FBF6
surface
#EEF7EC
border
#C9D0C7
text
#0A1208
muted
#7C817B

Preview Lab

Preview with #289F31

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

Preview Lab → · Contrast checker → · Palette generator →

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