#289C2D#289C2D

#289C2D is a mid, vivid green. Relative luminance 0.244; OKLCH L 60.7% C 0.180 H 143.5°. Best body text is #000000 at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#289C2D
RGBrgb(40, 156, 45)
HSLhsl(123, 59%, 38%)
HSVhsv(123, 74%, 61%)
CMYKcmyk(74.4%, 0%, 71.2%, 38.8%)
CIE-LABlab(56.50, -53.34, 46.85)
CIE-LCHlch(56.50, 70.99, 138.71°)
OKLaboklab(60.75% -0.1446 0.1071)
OKLCHoklch(60.75% 0.18 143.5)
XYZxyz(13.2364, 24.4160, 6.4973)
Luminance0.2442 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#289C2D #9C2897
analogous
#5D9C28 #289C2D #289C67
triadic
#289C2D #2D289C #9C2D28
tetradic
#289C2D #285D9C #9C2897 #9C6728
square
#289C2D #285D9C #9C2897 #9C6728
split-complementary
#289C2D #67289C #9C285D
monochromatic
#0F3B11 #1C6B1F #289C2D #36CB3C #67D86B

Accessibility & contrast

On white

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

On black

5.88
#289C2D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #289C2D
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##289C2D#FFFFFF#000000##000000
##289C2D1.003.575.885.88
#FFFFFF3.571.0021.0021.00
#0000005.8821.001.001.00
##0000005.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#9F8D1C
Deuteranopia (green-blind)
#928438
Tritanopia (blue-blind)
#009786
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #289c2d;
/* rgb */ color: rgb(40, 156, 45);
/* oklch */ color: oklch(60.7% 0.180 143.5);
Tailwind
colors: {
  custom: {
    50: '#75ba6c',
    500: '#289c2d',
    950: '#000000',
  },
}
SCSS
$custom: #289c2d;
$custom-light: #75ba6c;
$custom-dark: #000000;
JSON
{
  "hex": "#289c2d",
  "rgb": {
    "r": 40,
    "g": 156,
    "b": 45
  },
  "hsl": {
    "h": 122.586,
    "s": 59.184,
    "l": 38.431
  },
  "oklch": {
    "l": 0.60746,
    "c": 0.17989,
    "h": 143.5
  },
  "luminance": 0.24418
}

Semantic roles & 50–950 ramp

primary
#289C2D
secondary
#BE62BA
accent
#45DCE2
background
#F7FBF6
surface
#EEF6EC
border
#C9D0C7
text
#0A1207
muted
#7C817A

Preview Lab

Preview with #289C2D

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

Preview Lab → · Contrast checker → · Palette generator →

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