#289B40#289B40

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

Color values

HEX#289B40
RGBrgb(40, 155, 64)
HSLhsl(133, 59%, 38%)
HSVhsv(133, 74%, 61%)
CMYKcmyk(74.2%, 0%, 58.7%, 39.2%)
CIE-LABlab(56.35, -50.84, 38.20)
CIE-LCHlch(56.35, 63.60, 143.08°)
OKLaboklab(60.68% -0.137 0.0906)
OKLCHoklch(60.68% 0.164 146.5)
XYZxyz(13.5208, 24.2624, 8.8200)
Luminance0.2426 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#289B40 #9B2883
analogous
#499B28 #289B40 #289B79
triadic
#289B40 #40289B #9B4028
tetradic
#289B40 #28499B #9B2883 #9B7928
square
#289B40 #28499B #9B2883 #9B7928
split-complementary
#289B40 #79289B #9B2849
monochromatic
#0F3A18 #1B6A2C #289B40 #35CB54 #66D77E

Accessibility & contrast

On white

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

On black

5.85
#289B40 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #289B40
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##289B40#FFFFFF#000000##000000
##289B401.003.595.855.85
#FFFFFF3.591.0021.0021.00
#0000005.8521.001.001.00
##0000005.8521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #289b40;
/* rgb */ color: rgb(40, 155, 64);
/* oklch */ color: oklch(60.7% 0.164 146.5);
Tailwind
colors: {
  custom: {
    50: '#74ba78',
    500: '#289b40',
    950: '#000000',
  },
}
SCSS
$custom: #289b40;
$custom-light: #74ba78;
$custom-dark: #000000;
JSON
{
  "hex": "#289b40",
  "rgb": {
    "r": 40,
    "g": 155,
    "b": 64
  },
  "hsl": {
    "h": 132.522,
    "s": 58.974,
    "l": 38.235
  },
  "oklch": {
    "l": 0.60678,
    "c": 0.16425,
    "h": 146.5
  },
  "luminance": 0.24264
}

Semantic roles & 50–950 ramp

primary
#289B40
secondary
#BD61AA
accent
#46C1E2
background
#F7FBF7
surface
#EEF6ED
border
#C9D0C8
text
#091209
muted
#7B817B

Preview Lab

Preview with #289B40

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

Preview Lab → · Contrast checker → · Palette generator →

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