#289B2B#289B2B

#289B2B is a mid, vivid green. Relative luminance 0.241; OKLCH L 60.5% C 0.180 H 143.2°. Best body text is #000000 at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#289B2B
RGBrgb(40, 155, 43)
HSLhsl(122, 59%, 38%)
HSVhsv(122, 74%, 61%)
CMYKcmyk(74.2%, 0%, 72.3%, 39.2%)
CIE-LABlab(56.15, -53.19, 47.28)
CIE-LCHlch(56.15, 71.16, 138.36°)
OKLaboklab(60.45% -0.1442 0.1077)
OKLCHoklch(60.45% 0.18 143.2)
XYZxyz(13.0316, 24.0668, 6.2436)
Luminance0.2407 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#289B2B #9B2898
analogous
#5E9B28 #289B2B #289B64
triadic
#289B2B #2B289B #9B2B28
tetradic
#289B2B #285E9B #9B2898 #9B6428
square
#289B2B #285E9B #9B2898 #9B6428
split-complementary
#289B2B #64289B #9B285E
monochromatic
#0F3A10 #1B6A1E #289B2B #35CB39 #66D769

Accessibility & contrast

On white

3.61
#289B2B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.81
#289B2B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #289B2B
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##289B2B#FFFFFF#000000##000000
##289B2B1.003.615.815.81
#FFFFFF3.611.0021.0021.00
#0000005.8121.001.001.00
##0000005.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#9E8C19
Deuteranopia (green-blind)
#918336
Tritanopia (blue-blind)
#009685
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #289b2b;
/* rgb */ color: rgb(40, 155, 43);
/* oklch */ color: oklch(60.5% 0.180 143.2);
Tailwind
colors: {
  custom: {
    50: '#75ba6b',
    500: '#289b2b',
    950: '#000000',
  },
}
SCSS
$custom: #289b2b;
$custom-light: #75ba6b;
$custom-dark: #000000;
JSON
{
  "hex": "#289b2b",
  "rgb": {
    "r": 40,
    "g": 155,
    "b": 43
  },
  "hsl": {
    "h": 121.565,
    "s": 58.974,
    "l": 38.235
  },
  "oklch": {
    "l": 0.60453,
    "c": 0.18002,
    "h": 143.2
  },
  "luminance": 0.24068
}

Semantic roles & 50–950 ramp

primary
#289B2B
secondary
#BD61BB
accent
#46DEE2
background
#F7FBF6
surface
#EEF6EC
border
#C9D0C7
text
#0A1207
muted
#7C817A

Preview Lab

Preview with #289B2B

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

Preview Lab → · Contrast checker → · Palette generator →

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