#289A31#289A31

#289A31 is a mid, vivid green. Relative luminance 0.238; OKLCH L 60.2% C 0.175 H 144.0°. Best body text is #000000 at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#289A31
RGBrgb(40, 154, 49)
HSLhsl(125, 59%, 38%)
HSVhsv(125, 74%, 60%)
CMYKcmyk(74%, 0%, 68.2%, 39.6%)
CIE-LABlab(55.87, -52.27, 44.52)
CIE-LCHlch(55.87, 68.66, 139.58°)
OKLaboklab(60.23% -0.1415 0.1027)
OKLCHoklch(60.23% 0.175 144)
XYZxyz(12.9842, 23.7826, 6.8113)
Luminance0.2378 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#289A31 #9A2891
analogous
#589A28 #289A31 #289A6A
triadic
#289A31 #31289A #9A3128
tetradic
#289A31 #28589A #9A2891 #9A6A28
square
#289A31 #28589A #9A2891 #9A6A28
split-complementary
#289A31 #6A289A #9A2858
monochromatic
#0F3912 #1B6922 #289A31 #35CA41 #65D76E

Accessibility & contrast

On white

3.65
#289A31 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.76
#289A31 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #289A31
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##289A31#FFFFFF#000000##000000
##289A311.003.655.765.76
#FFFFFF3.651.0021.0021.00
#0000005.7621.001.001.00
##0000005.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#9D8B23
Deuteranopia (green-blind)
#90823B
Tritanopia (blue-blind)
#009685
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #289a31;
/* rgb */ color: rgb(40, 154, 49);
/* oklch */ color: oklch(60.2% 0.175 144.0);
Tailwind
colors: {
  custom: {
    50: '#74b96e',
    500: '#289a31',
    950: '#000000',
  },
}
SCSS
$custom: #289a31;
$custom-light: #74b96e;
$custom-dark: #000000;
JSON
{
  "hex": "#289a31",
  "rgb": {
    "r": 40,
    "g": 154,
    "b": 49
  },
  "hsl": {
    "h": 124.737,
    "s": 58.763,
    "l": 38.039
  },
  "oklch": {
    "l": 0.60232,
    "c": 0.17479,
    "h": 144
  },
  "luminance": 0.23784
}

Semantic roles & 50–950 ramp

primary
#289A31
secondary
#BD61B6
accent
#46D6E2
background
#F7FBF6
surface
#EEF6EC
border
#C9D0C7
text
#091207
muted
#7B817A

Preview Lab

Preview with #289A31

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

Preview Lab → · Contrast checker → · Palette generator →

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