#288F3E#288F3E

#288F3E is a mid, vivid green. Relative luminance 0.204; OKLCH L 57.3% C 0.150 H 146.9°. Best body text is #000000 at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#288F3E
RGBrgb(40, 143, 62)
HSLhsl(133, 56%, 36%)
HSVhsv(133, 72%, 56%)
CMYKcmyk(72%, 0%, 56.6%, 43.9%)
CIE-LABlab(52.33, -46.77, 34.43)
CIE-LCHlch(52.33, 58.07, 143.64°)
OKLaboklab(57.35% -0.1261 0.0822)
OKLCHoklch(57.35% 0.151 146.9)
XYZxyz(11.5662, 20.4426, 7.8927)
Luminance0.2044 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#288F3E #8F2879
analogous
#458F28 #288F3E #288F71
triadic
#288F3E #3E288F #8F3E28
tetradic
#288F3E #28458F #8F2879 #8F7128
square
#288F3E #28458F #8F2879 #8F7128
split-complementary
#288F3E #71288F #8F2845
monochromatic
#0D2F15 #1B5F29 #288F3E #35BF53 #5FD278

Accessibility & contrast

On white

4.13
#288F3E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.09
#288F3E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #288F3E
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##288F3E#FFFFFF#000000##000000
##288F3E1.004.135.095.09
#FFFFFF4.131.0021.0021.00
#0000005.0921.001.001.00
##0000005.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#918236
Deuteranopia (green-blind)
#857A44
Tritanopia (blue-blind)
#008C7D
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #288f3e;
/* rgb */ color: rgb(40, 143, 62);
/* oklch */ color: oklch(57.3% 0.150 146.9);
Tailwind
colors: {
  custom: {
    50: '#71b175',
    500: '#288f3e',
    950: '#000000',
  },
}
SCSS
$custom: #288f3e;
$custom-light: #71b175;
$custom-dark: #000000;
JSON
{
  "hex": "#288f3e",
  "rgb": {
    "r": 40,
    "g": 143,
    "b": 62
  },
  "hsl": {
    "h": 132.816,
    "s": 56.284,
    "l": 35.882
  },
  "oklch": {
    "l": 0.57345,
    "c": 0.1505,
    "h": 146.9
  },
  "luminance": 0.20444
}

Semantic roles & 50–950 ramp

primary
#288F3E
secondary
#B85BA4
accent
#48BFE0
background
#F7FBF7
surface
#EDF6ED
border
#C8D0C8
text
#091108
muted
#7B807B

Preview Lab

Preview with #288F3E

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

Preview Lab → · Contrast checker → · Palette generator →

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