#288B48#288B48

#288B48 is a mid, vivid green. Relative luminance 0.194; OKLCH L 56.4% C 0.136 H 150.0°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#288B48
RGBrgb(40, 139, 72)
HSLhsl(139, 55%, 35%)
HSVhsv(139, 71%, 55%)
CMYKcmyk(71.2%, 0%, 48.2%, 45.5%)
CIE-LABlab(51.13, -43.68, 27.74)
CIE-LCHlch(51.13, 51.74, 147.58°)
OKLaboklab(56.4% -0.1176 0.0678)
OKLCHoklch(56.4% 0.136 150)
XYZxyz(11.2765, 19.3830, 9.2766)
Luminance0.1938 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#288B48 #8B286B
analogous
#398B28 #288B48 #288B79
triadic
#288B48 #48288B #8B4828
tetradic
#288B48 #28398B #8B286B #8B7928
square
#288B48 #28398B #8B286B #8B7928
split-complementary
#288B48 #79288B #8B2839
monochromatic
#0D2C17 #1A5B2F #288B48 #36BB61 #5DD082

Accessibility & contrast

On white

4.31
#288B48 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#288B48 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #288B48
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##288B48#FFFFFF#000000##000000
##288B481.004.314.884.88
#FFFFFF4.311.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7F43
Deuteranopia (green-blind)
#80764D
Tritanopia (blue-blind)
#00897B
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #288b48;
/* rgb */ color: rgb(40, 139, 72);
/* oklch */ color: oklch(56.4% 0.136 150.0);
Tailwind
colors: {
  custom: {
    50: '#70ae7c',
    500: '#288b48',
    950: '#000000',
  },
}
SCSS
$custom: #288b48;
$custom-light: #70ae7c;
$custom-dark: #000000;
JSON
{
  "hex": "#288b48",
  "rgb": {
    "r": 40,
    "g": 139,
    "b": 72
  },
  "hsl": {
    "h": 139.394,
    "s": 55.307,
    "l": 35.098
  },
  "oklch": {
    "l": 0.56397,
    "c": 0.13578,
    "h": 150
  },
  "luminance": 0.19384
}

Semantic roles & 50–950 ramp

primary
#288B48
secondary
#B65998
accent
#49AEDF
background
#F7FAF7
surface
#EDF4EE
border
#C8CEC9
text
#081009
muted
#7B7F7B

Preview Lab

Preview with #288B48

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

Preview Lab → · Contrast checker → · Palette generator →

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