#288C36#288C36

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

Color values

HEX#288C36
RGBrgb(40, 140, 54)
HSLhsl(128, 56%, 35%)
HSVhsv(128, 71%, 55%)
CMYKcmyk(71.4%, 0%, 61.4%, 45.1%)
CIE-LABlab(51.24, -46.75, 37.07)
CIE-LCHlch(51.24, 59.67, 141.59°)
OKLaboklab(56.41% -0.1263 0.0873)
OKLCHoklch(56.41% 0.154 145.3)
XYZxyz(10.9183, 19.4724, 6.6725)
Luminance0.1947 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#288C36 #8C287E
analogous
#4C8C28 #288C36 #288C68
triadic
#288C36 #36288C #8C3628
tetradic
#288C36 #284C8C #8C287E #8C6828
square
#288C36 #284C8C #8C287E #8C6828
split-complementary
#288C36 #68288C #8C284C
monochromatic
#0D2D11 #1A5C24 #288C36 #36BC48 #5ED16E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##288C36#FFFFFF#000000##000000
##288C361.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)
#8E7F2D
Deuteranopia (green-blind)
#82773D
Tritanopia (blue-blind)
#008879
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #288c36;
/* rgb */ color: rgb(40, 140, 54);
/* oklch */ color: oklch(56.4% 0.154 145.3);
Tailwind
colors: {
  custom: {
    50: '#71af70',
    500: '#288c36',
    950: '#000000',
  },
}
SCSS
$custom: #288c36;
$custom-light: #71af70;
$custom-dark: #000000;
JSON
{
  "hex": "#288c36",
  "rgb": {
    "r": 40,
    "g": 140,
    "b": 54
  },
  "hsl": {
    "h": 128.4,
    "s": 55.556,
    "l": 35.294
  },
  "oklch": {
    "l": 0.56406,
    "c": 0.15353,
    "h": 145.3
  },
  "luminance": 0.19474
}

Semantic roles & 50–950 ramp

primary
#288C36
secondary
#B65AA9
accent
#49CADF
background
#F7FAF6
surface
#EDF4EC
border
#C8CEC7
text
#091008
muted
#7B7F7B

Preview Lab

Preview with #288C36

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

Preview Lab → · Contrast checker → · Palette generator →

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