#289C31#289C31

#289C31 is a mid, vivid green. Relative luminance 0.244; OKLCH L 60.8% C 0.177 H 144.0°. Best body text is #000000 at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#289C31
RGBrgb(40, 156, 49)
HSLhsl(125, 59%, 38%)
HSVhsv(125, 74%, 61%)
CMYKcmyk(74.4%, 0%, 68.6%, 38.8%)
CIE-LABlab(56.53, -52.95, 45.24)
CIE-LCHlch(56.53, 69.64, 139.49°)
OKLaboklab(60.78% -0.1433 0.1042)
OKLCHoklch(60.78% 0.177 144)
XYZxyz(13.3170, 24.4483, 6.9223)
Luminance0.2445 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#289C31 #9C2893
analogous
#599C28 #289C31 #289C6B
triadic
#289C31 #31289C #9C3128
tetradic
#289C31 #28599C #9C2893 #9C6B28
square
#289C31 #28599C #9C2893 #9C6B28
split-complementary
#289C31 #6B289C #9C2859
monochromatic
#0F3B12 #1C6B22 #289C31 #36CB41 #67D86F

Accessibility & contrast

On white

3.57
#289C31 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.89
#289C31 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #289C31
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##289C31#FFFFFF#000000##000000
##289C311.003.575.895.89
#FFFFFF3.571.0021.0021.00
#0000005.8921.001.001.00
##0000005.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#9F8D22
Deuteranopia (green-blind)
#92843B
Tritanopia (blue-blind)
#009886
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #289c31;
/* rgb */ color: rgb(40, 156, 49);
/* oklch */ color: oklch(60.8% 0.177 144.0);
Tailwind
colors: {
  custom: {
    50: '#75ba6e',
    500: '#289c31',
    950: '#000000',
  },
}
SCSS
$custom: #289c31;
$custom-light: #75ba6e;
$custom-dark: #000000;
JSON
{
  "hex": "#289c31",
  "rgb": {
    "r": 40,
    "g": 156,
    "b": 49
  },
  "hsl": {
    "h": 124.655,
    "s": 59.184,
    "l": 38.431
  },
  "oklch": {
    "l": 0.60783,
    "c": 0.17718,
    "h": 144
  },
  "luminance": 0.2445
}

Semantic roles & 50–950 ramp

primary
#289C31
secondary
#BE62B7
accent
#45D6E2
background
#F7FBF6
surface
#EEF6EC
border
#C9D0C7
text
#0A1207
muted
#7C817A

Preview Lab

Preview with #289C31

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

Preview Lab → · Contrast checker → · Palette generator →

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