#289E21#289E21

#289E21 is a mid, vivid green. Relative luminance 0.250; OKLCH L 61.2% C 0.189 H 142.2°. Best body text is #000000 at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#289E21
RGBrgb(40, 158, 33)
HSLhsl(117, 65%, 37%)
HSVhsv(117, 79%, 62%)
CMYKcmyk(74.7%, 0%, 79.1%, 38%)
CIE-LABlab(57.09, -54.96, 51.81)
CIE-LCHlch(57.09, 75.53, 136.69°)
OKLaboklab(61.21% -0.1495 0.1158)
OKLCHoklch(61.21% 0.189 142.2)
XYZxyz(13.3757, 25.0131, 5.5616)
Luminance0.2501 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#289E21 #97219E
analogous
#679E21 #289E21 #219E59
triadic
#289E21 #21289E #9E2128
tetradic
#289E21 #21679E #97219E #9E5921
square
#289E21 #21679E #97219E #9E5921
split-complementary
#289E21 #59219E #9E2167
monochromatic
#0E390C #1B6B16 #289E21 #35D12C #64DD5C

Accessibility & contrast

On white

3.50
#289E21 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.00
#289E21 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #289E21
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##289E21#FFFFFF#000000##000000
##289E211.003.506.006.00
#FFFFFF3.501.0021.0021.00
#0000006.0021.001.001.00
##0000006.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#A28F00
Deuteranopia (green-blind)
#958630
Tritanopia (blue-blind)
#009987
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #289e21;
/* rgb */ color: rgb(40, 158, 33);
/* oklch */ color: oklch(61.2% 0.189 142.2);
Tailwind
colors: {
  custom: {
    50: '#76bc67',
    500: '#289e21',
    950: '#000000',
  },
}
SCSS
$custom: #289e21;
$custom-light: #76bc67;
$custom-dark: #000000;
JSON
{
  "hex": "#289e21",
  "rgb": {
    "r": 40,
    "g": 158,
    "b": 33
  },
  "hsl": {
    "h": 116.64,
    "s": 65.445,
    "l": 37.451
  },
  "oklch": {
    "l": 0.61208,
    "c": 0.18913,
    "h": 142.2
  },
  "luminance": 0.25015
}

Semantic roles & 50–950 ramp

primary
#289E21
secondary
#BC59C1
accent
#3FE8DF
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#0A1206
muted
#7C817A

Preview Lab

Preview with #289E21

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

Preview Lab → · Contrast checker → · Palette generator →

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