#288B47#288B47

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

Color values

HEX#288B47
RGBrgb(40, 139, 71)
HSLhsl(139, 55%, 35%)
HSVhsv(139, 71%, 55%)
CMYKcmyk(71.2%, 0%, 48.9%, 45.5%)
CIE-LABlab(51.12, -43.85, 28.26)
CIE-LCHlch(51.12, 52.16, 147.20°)
OKLaboklab(56.38% -0.1181 0.069)
OKLCHoklch(56.38% 0.137 149.7)
XYZxyz(11.2441, 19.3700, 9.1062)
Luminance0.1937 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#288B47 #8B286C
analogous
#3A8B28 #288B47 #288B78
triadic
#288B47 #47288B #8B4728
tetradic
#288B47 #283A8B #8B286C #8B7828
square
#288B47 #283A8B #8B286C #8B7828
split-complementary
#288B47 #78288B #8B283A
monochromatic
#0D2C16 #1A5B2F #288B47 #36BB5F #5DD081

Accessibility & contrast

On white

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

On black

4.87
#288B47 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #288B47
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##288B47#FFFFFF#000000##000000
##288B471.004.314.874.87
#FFFFFF4.311.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7F42
Deuteranopia (green-blind)
#80764C
Tritanopia (blue-blind)
#00887B
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #288b47;
/* rgb */ color: rgb(40, 139, 71);
/* oklch */ color: oklch(56.4% 0.137 149.7);
Tailwind
colors: {
  custom: {
    50: '#70ae7b',
    500: '#288b47',
    950: '#000000',
  },
}
SCSS
$custom: #288b47;
$custom-light: #70ae7b;
$custom-dark: #000000;
JSON
{
  "hex": "#288b47",
  "rgb": {
    "r": 40,
    "g": 139,
    "b": 71
  },
  "hsl": {
    "h": 138.788,
    "s": 55.307,
    "l": 35.098
  },
  "oklch": {
    "l": 0.56379,
    "c": 0.13675,
    "h": 149.7
  },
  "luminance": 0.19371
}

Semantic roles & 50–950 ramp

primary
#288B47
secondary
#B65999
accent
#49B0DF
background
#F7FAF7
surface
#EDF4EE
border
#C8CEC9
text
#081009
muted
#7B7F7B

Preview Lab

Preview with #288B47

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

Preview Lab → · Contrast checker → · Palette generator →

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