#289D27#289D27

#289D27 is a mid, vivid green. Relative luminance 0.247; OKLCH L 61.0% C 0.185 H 142.8°. Best body text is #000000 at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#289D27
RGBrgb(40, 157, 39)
HSLhsl(119, 60%, 38%)
HSVhsv(119, 75%, 62%)
CMYKcmyk(74.5%, 0%, 75.2%, 38.4%)
CIE-LABlab(56.79, -54.19, 49.45)
CIE-LCHlch(56.79, 73.36, 137.62°)
OKLaboklab(60.97% -0.1472 0.1117)
OKLCHoklch(60.97% 0.185 142.8)
XYZxyz(13.2974, 24.7100, 5.9878)
Luminance0.2471 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#289D27 #9C279D
analogous
#639D27 #289D27 #279D61
triadic
#289D27 #27289D #9D2728
tetradic
#289D27 #27639D #9C279D #9D6127
square
#289D27 #27639D #9C279D #9D6127
split-complementary
#289D27 #61279D #9D2763
monochromatic
#0F3B0F #1C6C1B #289D27 #36CD35 #66D966

Accessibility & contrast

On white

3.53
#289D27 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.94
#289D27 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #289D27
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##289D27#FFFFFF#000000##000000
##289D271.003.535.945.94
#FFFFFF3.531.0021.0021.00
#0000005.9421.001.001.00
##0000005.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#A18E10
Deuteranopia (green-blind)
#938534
Tritanopia (blue-blind)
#009886
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #289d27;
/* rgb */ color: rgb(40, 157, 39);
/* oklch */ color: oklch(61.0% 0.185 142.8);
Tailwind
colors: {
  custom: {
    50: '#76bb69',
    500: '#289d27',
    950: '#000000',
  },
}
SCSS
$custom: #289d27;
$custom-light: #76bb69;
$custom-dark: #000000;
JSON
{
  "hex": "#289d27",
  "rgb": {
    "r": 40,
    "g": 157,
    "b": 39
  },
  "hsl": {
    "h": 119.492,
    "s": 60.204,
    "l": 38.431
  },
  "oklch": {
    "l": 0.60973,
    "c": 0.18476,
    "h": 142.8
  },
  "luminance": 0.24712
}

Semantic roles & 50–950 ramp

primary
#289D27
secondary
#BE61BF
accent
#44E3E2
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#0A1207
muted
#7C817A

Preview Lab

Preview with #289D27

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

Preview Lab → · Contrast checker → · Palette generator →

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