#289C2F#289C2F

#289C2F is a mid, vivid green. Relative luminance 0.244; OKLCH L 60.8% C 0.179 H 143.7°. Best body text is #000000 at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#289C2F
RGBrgb(40, 156, 47)
HSLhsl(124, 59%, 38%)
HSVhsv(124, 74%, 61%)
CMYKcmyk(74.4%, 0%, 69.9%, 38.8%)
CIE-LABlab(56.52, -53.15, 46.05)
CIE-LCHlch(56.52, 70.33, 139.09°)
OKLaboklab(60.76% -0.1439 0.1056)
OKLCHoklch(60.76% 0.179 143.7)
XYZxyz(13.2758, 24.4318, 6.7049)
Luminance0.2443 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#289C2F #9C2895
analogous
#5B9C28 #289C2F #289C69
triadic
#289C2F #2F289C #9C2F28
tetradic
#289C2F #285B9C #9C2895 #9C6928
square
#289C2F #285B9C #9C2895 #9C6928
split-complementary
#289C2F #69289C #9C285B
monochromatic
#0F3B12 #1C6B20 #289C2F #36CB3F #67D86D

Accessibility & contrast

On white

3.57
#289C2F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.89
#289C2F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #289C2F
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##289C2F#FFFFFF#000000##000000
##289C2F1.003.575.895.89
#FFFFFF3.571.0021.0021.00
#0000005.8921.001.001.00
##0000005.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#9F8D1F
Deuteranopia (green-blind)
#928439
Tritanopia (blue-blind)
#009886
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #289c2f;
/* rgb */ color: rgb(40, 156, 47);
/* oklch */ color: oklch(60.8% 0.179 143.7);
Tailwind
colors: {
  custom: {
    50: '#75ba6d',
    500: '#289c2f',
    950: '#000000',
  },
}
SCSS
$custom: #289c2f;
$custom-light: #75ba6d;
$custom-dark: #000000;
JSON
{
  "hex": "#289c2f",
  "rgb": {
    "r": 40,
    "g": 156,
    "b": 47
  },
  "hsl": {
    "h": 123.621,
    "s": 59.184,
    "l": 38.431
  },
  "oklch": {
    "l": 0.60764,
    "c": 0.17855,
    "h": 143.7
  },
  "luminance": 0.24433
}

Semantic roles & 50–950 ramp

primary
#289C2F
secondary
#BE62B8
accent
#45D9E2
background
#F7FBF6
surface
#EEF6EC
border
#C9D0C7
text
#0A1207
muted
#7C817A

Preview Lab

Preview with #289C2F

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

Preview Lab → · Contrast checker → · Palette generator →

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