#289B21#289B21

#289B21 is a mid, vivid green. Relative luminance 0.240; OKLCH L 60.4% C 0.186 H 142.2°. Best body text is #000000 at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#289B21
RGBrgb(40, 155, 33)
HSLhsl(117, 65%, 37%)
HSVhsv(117, 79%, 61%)
CMYKcmyk(74.2%, 0%, 78.7%, 39.2%)
CIE-LABlab(56.09, -53.98, 50.84)
CIE-LCHlch(56.09, 74.15, 136.71°)
OKLaboklab(60.38% -0.1469 0.1138)
OKLCHoklch(60.38% 0.186 142.2)
XYZxyz(12.8702, 24.0022, 5.3931)
Luminance0.2400 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#289B21 #94219B
analogous
#659B21 #289B21 #219B57
triadic
#289B21 #21289B #9B2128
tetradic
#289B21 #21659B #94219B #9B5721
square
#289B21 #21659B #94219B #9B5721
split-complementary
#289B21 #57219B #9B2165
monochromatic
#0E360C #1B6916 #289B21 #35CD2C #62DC5A

Accessibility & contrast

On white

3.62
#289B21 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.80
#289B21 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #289B21
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##289B21#FFFFFF#000000##000000
##289B211.003.625.805.80
#FFFFFF3.621.0021.0021.00
#0000005.8021.001.001.00
##0000005.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#9F8C00
Deuteranopia (green-blind)
#92832F
Tritanopia (blue-blind)
#009684
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #289b21;
/* rgb */ color: rgb(40, 155, 33);
/* oklch */ color: oklch(60.4% 0.186 142.2);
Tailwind
colors: {
  custom: {
    50: '#75ba66',
    500: '#289b21',
    950: '#000000',
  },
}
SCSS
$custom: #289b21;
$custom-light: #75ba66;
$custom-dark: #000000;
JSON
{
  "hex": "#289b21",
  "rgb": {
    "r": 40,
    "g": 155,
    "b": 33
  },
  "hsl": {
    "h": 116.557,
    "s": 64.894,
    "l": 36.863
  },
  "oklch": {
    "l": 0.60379,
    "c": 0.18579,
    "h": 142.2
  },
  "luminance": 0.24004
}

Semantic roles & 50–950 ramp

primary
#289B21
secondary
#BA58C0
accent
#40E8DE
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#0A1206
muted
#7C817A

Preview Lab

Preview with #289B21

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

Preview Lab → · Contrast checker → · Palette generator →

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