#288F35#288F35

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

Color values

HEX#288F35
RGBrgb(40, 143, 53)
HSLhsl(128, 56%, 36%)
HSVhsv(128, 72%, 56%)
CMYKcmyk(72%, 0%, 62.9%, 43.9%)
CIE-LABlab(52.23, -47.96, 38.69)
CIE-LCHlch(52.23, 61.62, 141.11°)
OKLaboklab(57.23% -0.1296 0.0907)
OKLCHoklch(57.23% 0.158 145)
XYZxyz(11.3394, 20.3518, 6.6982)
Luminance0.2035 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#288F35 #8F2882
analogous
#4E8F28 #288F35 #288F68
triadic
#288F35 #35288F #8F3528
tetradic
#288F35 #284E8F #8F2882 #8F6828
square
#288F35 #284E8F #8F2882 #8F6828
split-complementary
#288F35 #68288F #8F284E
monochromatic
#0D2F12 #1B5F23 #288F35 #35BF47 #5FD26E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##288F35#FFFFFF#000000##000000
##288F351.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)
#91822B
Deuteranopia (green-blind)
#85793D
Tritanopia (blue-blind)
#008B7C
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #288f35;
/* rgb */ color: rgb(40, 143, 53);
/* oklch */ color: oklch(57.2% 0.158 145.0);
Tailwind
colors: {
  custom: {
    50: '#72b170',
    500: '#288f35',
    950: '#000000',
  },
}
SCSS
$custom: #288f35;
$custom-light: #72b170;
$custom-dark: #000000;
JSON
{
  "hex": "#288f35",
  "rgb": {
    "r": 40,
    "g": 143,
    "b": 53
  },
  "hsl": {
    "h": 127.573,
    "s": 56.284,
    "l": 35.882
  },
  "oklch": {
    "l": 0.57229,
    "c": 0.15819,
    "h": 145
  },
  "luminance": 0.20353
}

Semantic roles & 50–950 ramp

primary
#288F35
secondary
#B85BAC
accent
#48CCE0
background
#F7FBF6
surface
#EDF6EC
border
#C8D0C7
text
#091108
muted
#7B807B

Preview Lab

Preview with #288F35

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

Preview Lab → · Contrast checker → · Palette generator →

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