#288C42#288C42

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

Color values

HEX#288C42
RGBrgb(40, 140, 66)
HSLhsl(136, 56%, 35%)
HSVhsv(136, 71%, 55%)
CMYKcmyk(71.4%, 0%, 52.9%, 45.1%)
CIE-LABlab(51.38, -45.05, 31.22)
CIE-LCHlch(51.38, 54.81, 145.27°)
OKLaboklab(56.57% -0.1213 0.0754)
OKLCHoklch(56.57% 0.143 148.2)
XYZxyz(11.2357, 19.5994, 8.3441)
Luminance0.1960 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#288C42 #8C2872
analogous
#408C28 #288C42 #288C74
triadic
#288C42 #42288C #8C4228
tetradic
#288C42 #28408C #8C2872 #8C7428
square
#288C42 #28408C #8C2872 #8C7428
split-complementary
#288C42 #74288C #8C2840
monochromatic
#0D2D15 #1A5C2C #288C42 #36BC58 #5ED17C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##288C42#FFFFFF#000000##000000
##288C421.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)
#8D7F3C
Deuteranopia (green-blind)
#817747
Tritanopia (blue-blind)
#00897B
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #288c42;
/* rgb */ color: rgb(40, 140, 66);
/* oklch */ color: oklch(56.6% 0.143 148.2);
Tailwind
colors: {
  custom: {
    50: '#70af78',
    500: '#288c42',
    950: '#000000',
  },
}
SCSS
$custom: #288c42;
$custom-light: #70af78;
$custom-dark: #000000;
JSON
{
  "hex": "#288c42",
  "rgb": {
    "r": 40,
    "g": 140,
    "b": 66
  },
  "hsl": {
    "h": 135.6,
    "s": 55.556,
    "l": 35.294
  },
  "oklch": {
    "l": 0.56574,
    "c": 0.14285,
    "h": 148.2
  },
  "luminance": 0.19601
}

Semantic roles & 50–950 ramp

primary
#288C42
secondary
#B65A9E
accent
#49B8DF
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#081009
muted
#7B7F7B

Preview Lab

Preview with #288C42

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

Preview Lab → · Contrast checker → · Palette generator →

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