#288C3F#288C3F

#288C3F is a mid, vivid green. Relative luminance 0.196; OKLCH L 56.5% C 0.146 H 147.4°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#288C3F
RGBrgb(40, 140, 63)
HSLhsl(134, 56%, 35%)
HSVhsv(134, 71%, 55%)
CMYKcmyk(71.4%, 0%, 55%, 45.1%)
CIE-LABlab(51.34, -45.50, 32.72)
CIE-LCHlch(51.34, 56.05, 144.28°)
OKLaboklab(56.53% -0.1226 0.0785)
OKLCHoklch(56.53% 0.146 147.4)
XYZxyz(11.1495, 19.5649, 7.8905)
Luminance0.1957 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#288C3F #8C2875
analogous
#438C28 #288C3F #288C71
triadic
#288C3F #3F288C #8C3F28
tetradic
#288C3F #28438C #8C2875 #8C7128
square
#288C3F #28438C #8C2875 #8C7128
split-complementary
#288C3F #71288C #8C2843
monochromatic
#0D2D14 #1A5C2A #288C3F #36BC54 #5ED178

Accessibility & contrast

On white

4.27
#288C3F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.91
#288C3F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #288C3F
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##288C3F#FFFFFF#000000##000000
##288C3F1.004.274.914.91
#FFFFFF4.271.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7F38
Deuteranopia (green-blind)
#827745
Tritanopia (blue-blind)
#00897B
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #288c3f;
/* rgb */ color: rgb(40, 140, 63);
/* oklch */ color: oklch(56.5% 0.146 147.4);
Tailwind
colors: {
  custom: {
    50: '#70af76',
    500: '#288c3f',
    950: '#000000',
  },
}
SCSS
$custom: #288c3f;
$custom-light: #70af76;
$custom-dark: #000000;
JSON
{
  "hex": "#288c3f",
  "rgb": {
    "r": 40,
    "g": 140,
    "b": 63
  },
  "hsl": {
    "h": 133.8,
    "s": 55.556,
    "l": 35.294
  },
  "oklch": {
    "l": 0.56529,
    "c": 0.14562,
    "h": 147.4
  },
  "luminance": 0.19566
}

Semantic roles & 50–950 ramp

primary
#288C3F
secondary
#B65AA1
accent
#49BCDF
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#081008
muted
#7B7F7B

Preview Lab

Preview with #288C3F

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

Preview Lab → · Contrast checker → · Palette generator →

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