#289D42#289D42

#289D42 is a mid, vivid green. Relative luminance 0.250; OKLCH L 61.3% C 0.165 H 146.8°. Best body text is #000000 at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#289D42
RGBrgb(40, 157, 66)
HSLhsl(133, 59%, 39%)
HSVhsv(133, 75%, 62%)
CMYKcmyk(74.5%, 0%, 58%, 38.4%)
CIE-LABlab(57.03, -51.28, 38.04)
CIE-LCHlch(57.03, 63.85, 143.43°)
OKLaboklab(61.25% -0.1381 0.0904)
OKLCHoklch(61.25% 0.165 146.8)
XYZxyz(13.9144, 24.9568, 9.2370)
Luminance0.2496 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#289D42 #9D2883
analogous
#489D28 #289D42 #289D7C
triadic
#289D42 #42289D #9D4228
tetradic
#289D42 #28489D #9D2883 #9D7C28
square
#289D42 #28489D #9D2883 #9D7C28
split-complementary
#289D42 #7C289D #9D2848
monochromatic
#0F3B19 #1C6C2D #289D42 #36CC58 #67D880

Accessibility & contrast

On white

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

On black

5.99
#289D42 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #289D42
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##289D42#FFFFFF#000000##000000
##289D421.003.505.995.99
#FFFFFF3.501.0021.0021.00
#0000005.9921.001.001.00
##0000005.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#9F8F39
Deuteranopia (green-blind)
#928549
Tritanopia (blue-blind)
#009989
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #289d42;
/* rgb */ color: rgb(40, 157, 66);
/* oklch */ color: oklch(61.3% 0.165 146.8);
Tailwind
colors: {
  custom: {
    50: '#74bb79',
    500: '#289d42',
    950: '#000000',
  },
}
SCSS
$custom: #289d42;
$custom-light: #74bb79;
$custom-dark: #000000;
JSON
{
  "hex": "#289d42",
  "rgb": {
    "r": 40,
    "g": 157,
    "b": 66
  },
  "hsl": {
    "h": 133.333,
    "s": 59.391,
    "l": 38.627
  },
  "oklch": {
    "l": 0.61251,
    "c": 0.16508,
    "h": 146.8
  },
  "luminance": 0.24958
}

Semantic roles & 50–950 ramp

primary
#289D42
secondary
#BE62AA
accent
#45C0E3
background
#F7FBF7
surface
#EEF6ED
border
#C9D0C8
text
#091209
muted
#7B817B

Preview Lab

Preview with #289D42

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

Preview Lab → · Contrast checker → · Palette generator →

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