#289E42#289E42

#289E42 is a mid, vivid green. Relative luminance 0.253; OKLCH L 61.5% C 0.166 H 146.7°. Best body text is #000000 at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#289E42
RGBrgb(40, 158, 66)
HSLhsl(133, 60%, 39%)
HSVhsv(133, 75%, 62%)
CMYKcmyk(74.7%, 0%, 58.2%, 38%)
CIE-LABlab(57.36, -51.63, 38.43)
CIE-LCHlch(57.36, 64.37, 143.34°)
OKLaboklab(61.53% -0.1391 0.0913)
OKLCHoklch(61.53% 0.166 146.7)
XYZxyz(14.0843, 25.2966, 9.2937)
Luminance0.2530 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#289E42 #9E2884
analogous
#499E28 #289E42 #289E7D
triadic
#289E42 #42289E #9E4228
tetradic
#289E42 #28499E #9E2884 #9E7D28
square
#289E42 #28499E #9E2884 #9E7D28
split-complementary
#289E42 #7D289E #9E2849
monochromatic
#0F3C19 #1C6D2E #289E42 #37CC58 #68D981

Accessibility & contrast

On white

3.47
#289E42 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.06
#289E42 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #289E42
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##289E42#FFFFFF#000000##000000
##289E421.003.476.066.06
#FFFFFF3.471.0021.0021.00
#0000006.0621.001.001.00
##0000006.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#A08F39
Deuteranopia (green-blind)
#938649
Tritanopia (blue-blind)
#009A8A
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #289e42;
/* rgb */ color: rgb(40, 158, 66);
/* oklch */ color: oklch(61.5% 0.166 146.7);
Tailwind
colors: {
  custom: {
    50: '#74bc79',
    500: '#289e42',
    950: '#000000',
  },
}
SCSS
$custom: #289e42;
$custom-light: #74bc79;
$custom-dark: #000000;
JSON
{
  "hex": "#289e42",
  "rgb": {
    "r": 40,
    "g": 158,
    "b": 66
  },
  "hsl": {
    "h": 133.22,
    "s": 59.596,
    "l": 38.824
  },
  "oklch": {
    "l": 0.61525,
    "c": 0.16635,
    "h": 146.7
  },
  "luminance": 0.25298
}

Semantic roles & 50–950 ramp

primary
#289E42
secondary
#BF63AB
accent
#45C0E3
background
#F7FBF7
surface
#EEF6ED
border
#C9D0C8
text
#0A1209
muted
#7C817B

Preview Lab

Preview with #289E42

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

Preview Lab → · Contrast checker → · Palette generator →

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