#288F36#288F36

#288F36 is a mid, vivid green. Relative luminance 0.204; OKLCH L 57.2% C 0.157 H 145.2°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#288F36
RGBrgb(40, 143, 54)
HSLhsl(128, 56%, 36%)
HSVhsv(128, 72%, 56%)
CMYKcmyk(72%, 0%, 62.2%, 43.9%)
CIE-LABlab(52.24, -47.84, 38.23)
CIE-LCHlch(52.24, 61.24, 141.37°)
OKLaboklab(57.24% -0.1292 0.0898)
OKLCHoklch(57.24% 0.157 145.2)
XYZxyz(11.3626, 20.3611, 6.8206)
Luminance0.2036 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#288F36 #8F2881
analogous
#4D8F28 #288F36 #288F69
triadic
#288F36 #36288F #8F3628
tetradic
#288F36 #284D8F #8F2881 #8F6928
square
#288F36 #284D8F #8F2881 #8F6928
split-complementary
#288F36 #69288F #8F284D
monochromatic
#0D2F12 #1B5F24 #288F36 #35BF48 #5FD26F

Accessibility & contrast

On white

4.14
#288F36 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.07
#288F36 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #288F36
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##288F36#FFFFFF#000000##000000
##288F361.004.145.075.07
#FFFFFF4.141.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#91822C
Deuteranopia (green-blind)
#85793D
Tritanopia (blue-blind)
#008B7C
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #288f36;
/* rgb */ color: rgb(40, 143, 54);
/* oklch */ color: oklch(57.2% 0.157 145.2);
Tailwind
colors: {
  custom: {
    50: '#71b170',
    500: '#288f36',
    950: '#000000',
  },
}
SCSS
$custom: #288f36;
$custom-light: #71b170;
$custom-dark: #000000;
JSON
{
  "hex": "#288f36",
  "rgb": {
    "r": 40,
    "g": 143,
    "b": 54
  },
  "hsl": {
    "h": 128.155,
    "s": 56.284,
    "l": 35.882
  },
  "oklch": {
    "l": 0.57241,
    "c": 0.15737,
    "h": 145.2
  },
  "luminance": 0.20362
}

Semantic roles & 50–950 ramp

primary
#288F36
secondary
#B85BAB
accent
#48CBE0
background
#F7FBF6
surface
#EDF6EC
border
#C8D0C7
text
#091108
muted
#7B807B

Preview Lab

Preview with #288F36

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

Preview Lab → · Contrast checker → · Palette generator →

#288F36 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva