#289D31#289D31

#289D31 is a mid, vivid green. Relative luminance 0.248; OKLCH L 61.1% C 0.178 H 144.0°. Best body text is #000000 at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#289D31
RGBrgb(40, 157, 49)
HSLhsl(125, 59%, 39%)
HSVhsv(125, 75%, 62%)
CMYKcmyk(74.5%, 0%, 68.8%, 38.4%)
CIE-LABlab(56.87, -53.29, 45.59)
CIE-LCHlch(56.87, 70.13, 139.45°)
OKLaboklab(61.06% -0.1442 0.1049)
OKLCHoklch(61.06% 0.178 144)
XYZxyz(13.4855, 24.7853, 6.9785)
Luminance0.2479 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#289D31 #9D2894
analogous
#599D28 #289D31 #289D6B
triadic
#289D31 #31289D #9D3128
tetradic
#289D31 #28599D #9D2894 #9D6B28
square
#289D31 #28599D #9D2894 #9D6B28
split-complementary
#289D31 #6B289D #9D2859
monochromatic
#0F3B13 #1C6C22 #289D31 #36CC42 #67D870

Accessibility & contrast

On white

3.53
#289D31 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.96
#289D31 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #289D31
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##289D31#FFFFFF#000000##000000
##289D311.003.535.965.96
#FFFFFF3.531.0021.0021.00
#0000005.9621.001.001.00
##0000005.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#A08E22
Deuteranopia (green-blind)
#93853B
Tritanopia (blue-blind)
#009987
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #289d31;
/* rgb */ color: rgb(40, 157, 49);
/* oklch */ color: oklch(61.1% 0.178 144.0);
Tailwind
colors: {
  custom: {
    50: '#75bb6f',
    500: '#289d31',
    950: '#000000',
  },
}
SCSS
$custom: #289d31;
$custom-light: #75bb6f;
$custom-dark: #000000;
JSON
{
  "hex": "#289d31",
  "rgb": {
    "r": 40,
    "g": 157,
    "b": 49
  },
  "hsl": {
    "h": 124.615,
    "s": 59.391,
    "l": 38.627
  },
  "oklch": {
    "l": 0.61058,
    "c": 0.17836,
    "h": 144
  },
  "luminance": 0.24787
}

Semantic roles & 50–950 ramp

primary
#289D31
secondary
#BE62B7
accent
#45D6E3
background
#F7FBF6
surface
#EEF6EC
border
#C9D0C7
text
#0A1208
muted
#7C817B

Preview Lab

Preview with #289D31

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

Preview Lab → · Contrast checker → · Palette generator →

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