#288C4C#288C4C

#288C4C is a mid, vivid green. Relative luminance 0.197; OKLCH L 56.7% C 0.133 H 151.2°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#288C4C
RGBrgb(40, 140, 76)
HSLhsl(142, 56%, 35%)
HSVhsv(142, 71%, 55%)
CMYKcmyk(71.4%, 0%, 45.7%, 45.1%)
CIE-LABlab(51.53, -43.36, 26.09)
CIE-LCHlch(51.53, 50.61, 148.97°)
OKLaboklab(56.74% -0.1168 0.0642)
OKLCHoklch(56.74% 0.133 151.2)
XYZxyz(11.5567, 19.7278, 10.0349)
Luminance0.1973 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#288C4C #8C2868
analogous
#368C28 #288C4C #288C7E
triadic
#288C4C #4C288C #8C4C28
tetradic
#288C4C #28368C #8C2868 #8C7E28
square
#288C4C #28368C #8C2868 #8C7E28
split-complementary
#288C4C #7E288C #8C2836
monochromatic
#0D2D18 #1A5C32 #288C4C #36BC66 #5ED187

Accessibility & contrast

On white

4.25
#288C4C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.95
#288C4C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #288C4C
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##288C4C#FFFFFF#000000##000000
##288C4C1.004.254.954.95
#FFFFFF4.251.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D8047
Deuteranopia (green-blind)
#807750
Tritanopia (blue-blind)
#008A7D
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #288c4c;
/* rgb */ color: rgb(40, 140, 76);
/* oklch */ color: oklch(56.7% 0.133 151.2);
Tailwind
colors: {
  custom: {
    50: '#70ae7f',
    500: '#288c4c',
    950: '#000000',
  },
}
SCSS
$custom: #288c4c;
$custom-light: #70ae7f;
$custom-dark: #000000;
JSON
{
  "hex": "#288c4c",
  "rgb": {
    "r": 40,
    "g": 140,
    "b": 76
  },
  "hsl": {
    "h": 141.6,
    "s": 55.556,
    "l": 35.294
  },
  "oklch": {
    "l": 0.56743,
    "c": 0.13329,
    "h": 151.2
  },
  "luminance": 0.19729
}

Semantic roles & 50–950 ramp

primary
#288C4C
secondary
#B65A95
accent
#49A9DF
background
#F7FAF7
surface
#EDF4EE
border
#C8CEC9
text
#08100A
muted
#7B7F7C

Preview Lab

Preview with #288C4C

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

Preview Lab → · Contrast checker → · Palette generator →

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