#289D21#289D21

#289D21 is a mid, vivid green. Relative luminance 0.247; OKLCH L 60.9% C 0.188 H 142.2°. Best body text is #000000 at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#289D21
RGBrgb(40, 157, 33)
HSLhsl(117, 65%, 37%)
HSVhsv(117, 79%, 62%)
CMYKcmyk(74.5%, 0%, 79%, 38.4%)
CIE-LABlab(56.76, -54.63, 51.49)
CIE-LCHlch(56.76, 75.07, 136.70°)
OKLaboklab(60.93% -0.1486 0.1151)
OKLCHoklch(60.93% 0.188 142.2)
XYZxyz(13.2058, 24.6734, 5.5050)
Luminance0.2467 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#289D21 #96219D
analogous
#669D21 #289D21 #219D58
triadic
#289D21 #21289D #9D2128
tetradic
#289D21 #21669D #96219D #9D5821
square
#289D21 #21669D #96219D #9D5821
split-complementary
#289D21 #58219D #9D2166
monochromatic
#0E380C #1B6A16 #289D21 #35D02C #63DD5C

Accessibility & contrast

On white

3.54
#289D21 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.94
#289D21 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #289D21
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##289D21#FFFFFF#000000##000000
##289D211.003.545.945.94
#FFFFFF3.541.0021.0021.00
#0000005.9421.001.001.00
##0000005.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#A18E00
Deuteranopia (green-blind)
#94852F
Tritanopia (blue-blind)
#009886
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #289d21;
/* rgb */ color: rgb(40, 157, 33);
/* oklch */ color: oklch(60.9% 0.188 142.2);
Tailwind
colors: {
  custom: {
    50: '#76bb66',
    500: '#289d21',
    950: '#000000',
  },
}
SCSS
$custom: #289d21;
$custom-light: #76bb66;
$custom-dark: #000000;
JSON
{
  "hex": "#289d21",
  "rgb": {
    "r": 40,
    "g": 157,
    "b": 33
  },
  "hsl": {
    "h": 116.613,
    "s": 65.263,
    "l": 37.255
  },
  "oklch": {
    "l": 0.60932,
    "c": 0.18802,
    "h": 142.2
  },
  "luminance": 0.24675
}

Semantic roles & 50–950 ramp

primary
#289D21
secondary
#BB59C1
accent
#40E8DF
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#0A1206
muted
#7C817A

Preview Lab

Preview with #289D21

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

Preview Lab → · Contrast checker → · Palette generator →

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