#288B4C#288B4C

#288B4C is a mid, vivid green. Relative luminance 0.194; OKLCH L 56.5% C 0.132 H 151.4°. Best body text is #000000 at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#288B4C
RGBrgb(40, 139, 76)
HSLhsl(142, 55%, 35%)
HSVhsv(142, 71%, 55%)
CMYKcmyk(71.2%, 0%, 45.3%, 45.5%)
CIE-LABlab(51.19, -42.97, 25.66)
CIE-LCHlch(51.19, 50.05, 149.16°)
OKLaboklab(56.47% -0.1158 0.0632)
OKLCHoklch(56.47% 0.132 151.4)
XYZxyz(11.4112, 19.4369, 9.9864)
Luminance0.1944 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#288B4C #8B2867
analogous
#368B28 #288B4C #288B7D
triadic
#288B4C #4C288B #8B4C28
tetradic
#288B4C #28368B #8B2867 #8B7D28
square
#288B4C #28368B #8B2867 #8B7D28
split-complementary
#288B4C #7D288B #8B2836
monochromatic
#0D2C18 #1A5B32 #288B4C #36BB66 #5DD087

Accessibility & contrast

On white

4.30
#288B4C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##288B4C#FFFFFF#000000##000000
##288B4C1.004.304.894.89
#FFFFFF4.301.0021.0021.00
#0000004.8921.001.001.00
##0000004.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7F47
Deuteranopia (green-blind)
#7F7750
Tritanopia (blue-blind)
#00897C
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #288b4c;
/* rgb */ color: rgb(40, 139, 76);
/* oklch */ color: oklch(56.5% 0.132 151.4);
Tailwind
colors: {
  custom: {
    50: '#70ae7f',
    500: '#288b4c',
    950: '#000000',
  },
}
SCSS
$custom: #288b4c;
$custom-light: #70ae7f;
$custom-dark: #000000;
JSON
{
  "hex": "#288b4c",
  "rgb": {
    "r": 40,
    "g": 139,
    "b": 76
  },
  "hsl": {
    "h": 141.818,
    "s": 55.307,
    "l": 35.098
  },
  "oklch": {
    "l": 0.56468,
    "c": 0.13189,
    "h": 151.4
  },
  "luminance": 0.19438
}

Semantic roles & 50–950 ramp

primary
#288B4C
secondary
#B65994
accent
#49A8DF
background
#F7FAF7
surface
#EDF4EE
border
#C8CEC9
text
#08100A
muted
#7B7F7C

Preview Lab

Preview with #288B4C

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

Preview Lab → · Contrast checker → · Palette generator →

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