#289F28#289F28

#289F28 is a mid, vivid green. Relative luminance 0.254; OKLCH L 61.5% C 0.186 H 142.9°. Best body text is #000000 at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#289F28
RGBrgb(40, 159, 40)
HSLhsl(120, 60%, 39%)
HSVhsv(120, 75%, 62%)
CMYKcmyk(74.8%, 0%, 74.8%, 37.6%)
CIE-LABlab(57.46, -54.77, 49.76)
CIE-LCHlch(57.46, 74.00, 137.75°)
OKLaboklab(61.53% -0.1487 0.1125)
OKLCHoklch(61.53% 0.186 142.9)
XYZxyz(13.6554, 25.3990, 6.1899)
Luminance0.2540 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#289F28 #9F289F
analogous
#649F28 #289F28 #289F64
triadic
#289F28 #28289F #9F2828
tetradic
#289F28 #28649F #9F289F #9F6428
square
#289F28 #28649F #9F289F #9F6428
split-complementary
#289F28 #64289F #9F2864
monochromatic
#0F3D0F #1C6E1C #289F28 #37CD37 #68D968

Accessibility & contrast

On white

3.45
#289F28 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.08
#289F28 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #289F28
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##289F28#FFFFFF#000000##000000
##289F281.003.456.086.08
#FFFFFF3.451.0021.0021.00
#0000006.0821.001.001.00
##0000006.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A39011
Deuteranopia (green-blind)
#958635
Tritanopia (blue-blind)
#009A88
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #289f28;
/* rgb */ color: rgb(40, 159, 40);
/* oklch */ color: oklch(61.5% 0.186 142.9);
Tailwind
colors: {
  custom: {
    50: '#76bc6a',
    500: '#289f28',
    950: '#000000',
  },
}
SCSS
$custom: #289f28;
$custom-light: #76bc6a;
$custom-dark: #000000;
JSON
{
  "hex": "#289f28",
  "rgb": {
    "r": 40,
    "g": 159,
    "b": 40
  },
  "hsl": {
    "h": 120,
    "s": 59.799,
    "l": 39.02
  },
  "oklch": {
    "l": 0.61532,
    "c": 0.18645,
    "h": 142.9
  },
  "luminance": 0.25401
}

Semantic roles & 50–950 ramp

primary
#289F28
secondary
#BF64BF
accent
#45E3E3
background
#F7FBF6
surface
#EEF7EB
border
#C9D0C6
text
#0A1207
muted
#7C817A

Preview Lab

Preview with #289F28

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

Preview Lab → · Contrast checker → · Palette generator →

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