#289C42#289C42

#289C42 is a mid, vivid green. Relative luminance 0.246; OKLCH L 61.0% C 0.164 H 146.9°. Best body text is #000000 at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#289C42
RGBrgb(40, 156, 66)
HSLhsl(133, 59%, 38%)
HSVhsv(133, 74%, 61%)
CMYKcmyk(74.4%, 0%, 57.7%, 38.8%)
CIE-LABlab(56.70, -50.92, 37.65)
CIE-LCHlch(56.70, 63.33, 143.52°)
OKLaboklab(60.98% -0.1372 0.0896)
OKLCHoklch(60.98% 0.164 146.9)
XYZxyz(13.7459, 24.6198, 9.1809)
Luminance0.2462 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#289C42 #9C2882
analogous
#489C28 #289C42 #289C7C
triadic
#289C42 #42289C #9C4228
tetradic
#289C42 #28489C #9C2882 #9C7C28
square
#289C42 #28489C #9C2882 #9C7C28
split-complementary
#289C42 #7C289C #9C2848
monochromatic
#0F3B19 #1C6B2D #289C42 #36CB57 #67D880

Accessibility & contrast

On white

3.54
#289C42 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.92
#289C42 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #289C42
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##289C42#FFFFFF#000000##000000
##289C421.003.545.925.92
#FFFFFF3.541.0021.0021.00
#0000005.9221.001.001.00
##0000005.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#9E8E39
Deuteranopia (green-blind)
#918449
Tritanopia (blue-blind)
#009888
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #289c42;
/* rgb */ color: rgb(40, 156, 66);
/* oklch */ color: oklch(61.0% 0.164 146.9);
Tailwind
colors: {
  custom: {
    50: '#74ba79',
    500: '#289c42',
    950: '#000000',
  },
}
SCSS
$custom: #289c42;
$custom-light: #74ba79;
$custom-dark: #000000;
JSON
{
  "hex": "#289c42",
  "rgb": {
    "r": 40,
    "g": 156,
    "b": 66
  },
  "hsl": {
    "h": 133.448,
    "s": 59.184,
    "l": 38.431
  },
  "oklch": {
    "l": 0.60978,
    "c": 0.16381,
    "h": 146.9
  },
  "luminance": 0.24621
}

Semantic roles & 50–950 ramp

primary
#289C42
secondary
#BE62A9
accent
#45BFE2
background
#F7FBF7
surface
#EEF6ED
border
#C9D0C8
text
#091209
muted
#7B817B

Preview Lab

Preview with #289C42

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

Preview Lab → · Contrast checker → · Palette generator →

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