#289B42#289B42

#289B42 is a mid, vivid green. Relative luminance 0.243; OKLCH L 60.7% C 0.163 H 146.9°. Best body text is #000000 at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#289B42
RGBrgb(40, 155, 66)
HSLhsl(134, 59%, 38%)
HSVhsv(134, 74%, 61%)
CMYKcmyk(74.2%, 0%, 57.4%, 39.2%)
CIE-LABlab(56.37, -50.57, 37.26)
CIE-LCHlch(56.37, 62.81, 143.62°)
OKLaboklab(60.7% -0.1362 0.0887)
OKLCHoklch(60.7% 0.163 146.9)
XYZxyz(13.5788, 24.2856, 9.1252)
Luminance0.2429 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#289B42 #9B2881
analogous
#489B28 #289B42 #289B7B
triadic
#289B42 #42289B #9B4228
tetradic
#289B42 #28489B #9B2881 #9B7B28
square
#289B42 #28489B #9B2881 #9B7B28
split-complementary
#289B42 #7B289B #9B2848
monochromatic
#0F3A19 #1B6A2D #289B42 #35CB57 #66D780

Accessibility & contrast

On white

3.59
#289B42 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.86
#289B42 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #289B42
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##289B42#FFFFFF#000000##000000
##289B421.003.595.865.86
#FFFFFF3.591.0021.0021.00
#0000005.8621.001.001.00
##0000005.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#9D8D39
Deuteranopia (green-blind)
#908449
Tritanopia (blue-blind)
#009787
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #289b42;
/* rgb */ color: rgb(40, 155, 66);
/* oklch */ color: oklch(60.7% 0.163 146.9);
Tailwind
colors: {
  custom: {
    50: '#74ba79',
    500: '#289b42',
    950: '#000000',
  },
}
SCSS
$custom: #289b42;
$custom-light: #74ba79;
$custom-dark: #000000;
JSON
{
  "hex": "#289b42",
  "rgb": {
    "r": 40,
    "g": 155,
    "b": 66
  },
  "hsl": {
    "h": 133.565,
    "s": 58.974,
    "l": 38.235
  },
  "oklch": {
    "l": 0.60704,
    "c": 0.16254,
    "h": 146.9
  },
  "luminance": 0.24287
}

Semantic roles & 50–950 ramp

primary
#289B42
secondary
#BD61A9
accent
#46BFE2
background
#F7FBF7
surface
#EEF6ED
border
#C9D0C8
text
#091209
muted
#7B817B

Preview Lab

Preview with #289B42

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

Preview Lab → · Contrast checker → · Palette generator →

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