#289B31#289B31

#289B31 is a mid, vivid green. Relative luminance 0.241; OKLCH L 60.5% C 0.176 H 144.0°. Best body text is #000000 at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#289B31
RGBrgb(40, 155, 49)
HSLhsl(125, 59%, 38%)
HSVhsv(125, 74%, 61%)
CMYKcmyk(74.2%, 0%, 68.4%, 39.2%)
CIE-LABlab(56.20, -52.61, 44.88)
CIE-LCHlch(56.20, 69.15, 139.54°)
OKLaboklab(60.51% -0.1424 0.1034)
OKLCHoklch(60.51% 0.176 144)
XYZxyz(13.1499, 24.1141, 6.8666)
Luminance0.2412 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#289B31 #9B2892
analogous
#589B28 #289B31 #289B6A
triadic
#289B31 #31289B #9B3128
tetradic
#289B31 #28589B #9B2892 #9B6A28
square
#289B31 #28589B #9B2892 #9B6A28
split-complementary
#289B31 #6A289B #9B2858
monochromatic
#0F3A12 #1B6A22 #289B31 #35CB41 #66D76F

Accessibility & contrast

On white

3.61
#289B31 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.82
#289B31 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #289B31
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##289B31#FFFFFF#000000##000000
##289B311.003.615.825.82
#FFFFFF3.611.0021.0021.00
#0000005.8221.001.001.00
##0000005.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#9E8C23
Deuteranopia (green-blind)
#91833B
Tritanopia (blue-blind)
#009785
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #289b31;
/* rgb */ color: rgb(40, 155, 49);
/* oklch */ color: oklch(60.5% 0.176 144.0);
Tailwind
colors: {
  custom: {
    50: '#75ba6e',
    500: '#289b31',
    950: '#000000',
  },
}
SCSS
$custom: #289b31;
$custom-light: #75ba6e;
$custom-dark: #000000;
JSON
{
  "hex": "#289b31",
  "rgb": {
    "r": 40,
    "g": 155,
    "b": 49
  },
  "hsl": {
    "h": 124.696,
    "s": 58.974,
    "l": 38.235
  },
  "oklch": {
    "l": 0.60507,
    "c": 0.17598,
    "h": 144
  },
  "luminance": 0.24116
}

Semantic roles & 50–950 ramp

primary
#289B31
secondary
#BD61B6
accent
#46D6E2
background
#F7FBF6
surface
#EEF6EC
border
#C9D0C7
text
#0A1207
muted
#7C817A

Preview Lab

Preview with #289B31

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

Preview Lab → · Contrast checker → · Palette generator →

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