#288C40#288C40

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

Color values

HEX#288C40
RGBrgb(40, 140, 64)
HSLhsl(134, 56%, 35%)
HSVhsv(134, 71%, 55%)
CMYKcmyk(71.4%, 0%, 54.3%, 45.1%)
CIE-LABlab(51.35, -45.35, 32.23)
CIE-LCHlch(51.35, 55.64, 144.60°)
OKLaboklab(56.54% -0.1222 0.0775)
OKLCHoklch(56.54% 0.145 147.6)
XYZxyz(11.1777, 19.5762, 8.0390)
Luminance0.1958 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#288C40 #8C2874
analogous
#428C28 #288C40 #288C72
triadic
#288C40 #40288C #8C4028
tetradic
#288C40 #28428C #8C2874 #8C7228
square
#288C40 #28428C #8C2874 #8C7228
split-complementary
#288C40 #72288C #8C2842
monochromatic
#0D2D14 #1A5C2A #288C40 #36BC56 #5ED179

Accessibility & contrast

On white

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

On black

4.92
#288C40 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #288C40
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##288C40#FFFFFF#000000##000000
##288C401.004.274.924.92
#FFFFFF4.271.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #288c40;
/* rgb */ color: rgb(40, 140, 64);
/* oklch */ color: oklch(56.5% 0.145 147.6);
Tailwind
colors: {
  custom: {
    50: '#70af77',
    500: '#288c40',
    950: '#000000',
  },
}
SCSS
$custom: #288c40;
$custom-light: #70af77;
$custom-dark: #000000;
JSON
{
  "hex": "#288c40",
  "rgb": {
    "r": 40,
    "g": 140,
    "b": 64
  },
  "hsl": {
    "h": 134.4,
    "s": 55.556,
    "l": 35.294
  },
  "oklch": {
    "l": 0.56544,
    "c": 0.14471,
    "h": 147.6
  },
  "luminance": 0.19577
}

Semantic roles & 50–950 ramp

primary
#288C40
secondary
#B65AA0
accent
#49BBDF
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#081009
muted
#7B7F7B

Preview Lab

Preview with #288C40

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

Preview Lab → · Contrast checker → · Palette generator →

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