#289F2D#289F2D

#289F2D is a mid, vivid green. Relative luminance 0.254; OKLCH L 61.6% C 0.183 H 143.4°. Best body text is #000000 at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#289F2D
RGBrgb(40, 159, 45)
HSLhsl(123, 60%, 39%)
HSVhsv(123, 75%, 62%)
CMYKcmyk(74.8%, 0%, 71.7%, 37.6%)
CIE-LABlab(57.50, -54.35, 47.89)
CIE-LCHlch(57.50, 72.44, 138.61°)
OKLaboklab(61.57% -0.1473 0.1093)
OKLCHoklch(61.57% 0.183 143.4)
XYZxyz(13.7460, 25.4353, 6.6672)
Luminance0.2544 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#289F2D #9F289A
analogous
#5F9F28 #289F2D #289F69
triadic
#289F2D #2D289F #9F2D28
tetradic
#289F2D #285F9F #9F289A #9F6928
square
#289F2D #285F9F #9F289A #9F6928
split-complementary
#289F2D #69289F #9F285F
monochromatic
#0F3D11 #1C6E1F #289F2D #37CD3E #68D96D

Accessibility & contrast

On white

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

On black

6.09
#289F2D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #289F2D
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##289F2D#FFFFFF#000000##000000
##289F2D1.003.456.096.09
#FFFFFF3.451.0021.0021.00
#0000006.0921.001.001.00
##0000006.0921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #289f2d;
/* rgb */ color: rgb(40, 159, 45);
/* oklch */ color: oklch(61.6% 0.183 143.4);
Tailwind
colors: {
  custom: {
    50: '#76bc6d',
    500: '#289f2d',
    950: '#000000',
  },
}
SCSS
$custom: #289f2d;
$custom-light: #76bc6d;
$custom-dark: #000000;
JSON
{
  "hex": "#289f2d",
  "rgb": {
    "r": 40,
    "g": 159,
    "b": 45
  },
  "hsl": {
    "h": 122.521,
    "s": 59.799,
    "l": 39.02
  },
  "oklch": {
    "l": 0.61572,
    "c": 0.18338,
    "h": 143.4
  },
  "luminance": 0.25437
}

Semantic roles & 50–950 ramp

primary
#289F2D
secondary
#BF64BB
accent
#45DCE3
background
#F7FBF6
surface
#EEF7EC
border
#C9D0C7
text
#0A1207
muted
#7C817A

Preview Lab

Preview with #289F2D

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

Preview Lab → · Contrast checker → · Palette generator →

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