#289A21#289A21

#289A21 is a mid, vivid green. Relative luminance 0.237; OKLCH L 60.1% C 0.185 H 142.2°. Best body text is #000000 at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#289A21
RGBrgb(40, 154, 33)
HSLhsl(117, 65%, 37%)
HSVhsv(117, 79%, 60%)
CMYKcmyk(74%, 0%, 78.6%, 39.6%)
CIE-LABlab(55.76, -53.65, 50.52)
CIE-LCHlch(55.76, 73.69, 136.72°)
OKLaboklab(60.1% -0.146 0.1131)
OKLCHoklch(60.1% 0.185 142.2)
XYZxyz(12.7044, 23.6707, 5.3379)
Luminance0.2367 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#289A21 #93219A
analogous
#659A21 #289A21 #219A57
triadic
#289A21 #21289A #9A2128
tetradic
#289A21 #21659A #93219A #9A5721
square
#289A21 #21659A #93219A #9A5721
split-complementary
#289A21 #57219A #9A2165
monochromatic
#0E350B #1B6816 #289A21 #35CC2C #61DC5A

Accessibility & contrast

On white

3.66
#289A21 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.73
#289A21 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #289A21
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##289A21#FFFFFF#000000##000000
##289A211.003.665.735.73
#FFFFFF3.661.0021.0021.00
#0000005.7321.001.001.00
##0000005.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#9E8B01
Deuteranopia (green-blind)
#91822F
Tritanopia (blue-blind)
#009583
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #289a21;
/* rgb */ color: rgb(40, 154, 33);
/* oklch */ color: oklch(60.1% 0.185 142.2);
Tailwind
colors: {
  custom: {
    50: '#75b966',
    500: '#289a21',
    950: '#000000',
  },
}
SCSS
$custom: #289a21;
$custom-light: #75b966;
$custom-dark: #000000;
JSON
{
  "hex": "#289a21",
  "rgb": {
    "r": 40,
    "g": 154,
    "b": 33
  },
  "hsl": {
    "h": 116.529,
    "s": 64.706,
    "l": 36.667
  },
  "oklch": {
    "l": 0.60102,
    "c": 0.18468,
    "h": 142.2
  },
  "luminance": 0.23672
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #289A21

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

Preview Lab → · Contrast checker → · Palette generator →

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