#288B36#288B36

#288B36 is a mid, vivid green. Relative luminance 0.192; OKLCH L 56.1% C 0.152 H 145.4°. Best body text is #000000 at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#288B36
RGBrgb(40, 139, 54)
HSLhsl(128, 55%, 35%)
HSVhsv(128, 71%, 55%)
CMYKcmyk(71.2%, 0%, 61.2%, 45.5%)
CIE-LABlab(50.90, -46.38, 36.68)
CIE-LCHlch(50.90, 59.14, 141.66°)
OKLaboklab(56.13% -0.1253 0.0865)
OKLCHoklch(56.13% 0.152 145.4)
XYZxyz(10.7728, 19.1815, 6.6240)
Luminance0.1918 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#288B36 #8B287D
analogous
#4B8B28 #288B36 #288B68
triadic
#288B36 #36288B #8B3628
tetradic
#288B36 #284B8B #8B287D #8B6828
square
#288B36 #284B8B #8B287D #8B6828
split-complementary
#288B36 #68288B #8B284B
monochromatic
#0D2C11 #1A5B24 #288B36 #36BB48 #5DD06D

Accessibility & contrast

On white

4.34
#288B36 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.84
#288B36 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #288B36
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##288B36#FFFFFF#000000##000000
##288B361.004.344.844.84
#FFFFFF4.341.0021.0021.00
#0000004.8421.001.001.00
##0000004.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7E2D
Deuteranopia (green-blind)
#82763D
Tritanopia (blue-blind)
#018779
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #288b36;
/* rgb */ color: rgb(40, 139, 54);
/* oklch */ color: oklch(56.1% 0.152 145.4);
Tailwind
colors: {
  custom: {
    50: '#71ae70',
    500: '#288b36',
    950: '#000000',
  },
}
SCSS
$custom: #288b36;
$custom-light: #71ae70;
$custom-dark: #000000;
JSON
{
  "hex": "#288b36",
  "rgb": {
    "r": 40,
    "g": 139,
    "b": 54
  },
  "hsl": {
    "h": 128.485,
    "s": 55.307,
    "l": 35.098
  },
  "oklch": {
    "l": 0.56128,
    "c": 0.15224,
    "h": 145.4
  },
  "luminance": 0.19183
}

Semantic roles & 50–950 ramp

primary
#288B36
secondary
#B659A9
accent
#49C9DF
background
#F7FAF6
surface
#EDF4EC
border
#C8CEC7
text
#091008
muted
#7B7F7B

Preview Lab

Preview with #288B36

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

Preview Lab → · Contrast checker → · Palette generator →

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