#288C35#288C35

#288C35 is a mid, vivid green. Relative luminance 0.195; OKLCH L 56.4% C 0.154 H 145.1°. Best body text is #000000 at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#288C35
RGBrgb(40, 140, 53)
HSLhsl(128, 56%, 35%)
HSVhsv(128, 71%, 55%)
CMYKcmyk(71.4%, 0%, 62.1%, 45.1%)
CIE-LABlab(51.22, -46.88, 37.54)
CIE-LCHlch(51.22, 60.06, 141.31°)
OKLaboklab(56.39% -0.1267 0.0882)
OKLCHoklch(56.39% 0.154 145.1)
XYZxyz(10.8950, 19.4631, 6.5501)
Luminance0.1946 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#288C35 #8C287F
analogous
#4D8C28 #288C35 #288C67
triadic
#288C35 #35288C #8C3528
tetradic
#288C35 #284D8C #8C287F #8C6728
square
#288C35 #284D8C #8C287F #8C6728
split-complementary
#288C35 #67288C #8C284D
monochromatic
#0D2D11 #1A5C23 #288C35 #36BC47 #5ED16D

Accessibility & contrast

On white

4.29
#288C35 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.89
#288C35 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #288C35
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##288C35#FFFFFF#000000##000000
##288C351.004.294.894.89
#FFFFFF4.291.0021.0021.00
#0000004.8921.001.001.00
##0000004.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7F2C
Deuteranopia (green-blind)
#83773C
Tritanopia (blue-blind)
#008879
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #288c35;
/* rgb */ color: rgb(40, 140, 53);
/* oklch */ color: oklch(56.4% 0.154 145.1);
Tailwind
colors: {
  custom: {
    50: '#71af6f',
    500: '#288c35',
    950: '#000000',
  },
}
SCSS
$custom: #288c35;
$custom-light: #71af6f;
$custom-dark: #000000;
JSON
{
  "hex": "#288c35",
  "rgb": {
    "r": 40,
    "g": 140,
    "b": 53
  },
  "hsl": {
    "h": 127.8,
    "s": 55.556,
    "l": 35.294
  },
  "oklch": {
    "l": 0.56394,
    "c": 0.15436,
    "h": 145.1
  },
  "luminance": 0.19464
}

Semantic roles & 50–950 ramp

primary
#288C35
secondary
#B65AAA
accent
#49CBDF
background
#F7FAF6
surface
#EDF4EC
border
#C8CEC7
text
#091007
muted
#7B7F7A

Preview Lab

Preview with #288C35

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

Preview Lab → · Contrast checker → · Palette generator →

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