#288B45#288B45

#288B45 is a mid, vivid green. Relative luminance 0.193; OKLCH L 56.3% C 0.139 H 149.1°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#288B45
RGBrgb(40, 139, 69)
HSLhsl(138, 55%, 35%)
HSVhsv(138, 71%, 55%)
CMYKcmyk(71.2%, 0%, 50.4%, 45.5%)
CIE-LABlab(51.09, -44.18, 29.28)
CIE-LCHlch(51.09, 53.01, 146.46°)
OKLaboklab(56.35% -0.119 0.0712)
OKLCHoklch(56.35% 0.139 149.1)
XYZxyz(11.1810, 19.3448, 8.7737)
Luminance0.1935 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#288B45 #8B286E
analogous
#3C8B28 #288B45 #288B77
triadic
#288B45 #45288B #8B4528
tetradic
#288B45 #283C8B #8B286E #8B7728
square
#288B45 #283C8B #8B286E #8B7728
split-complementary
#288B45 #77288B #8B283C
monochromatic
#0D2C16 #1A5B2D #288B45 #36BB5D #5DD07F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##288B45#FFFFFF#000000##000000
##288B451.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)
#8C7F3F
Deuteranopia (green-blind)
#80764A
Tritanopia (blue-blind)
#00887B
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #288b45;
/* rgb */ color: rgb(40, 139, 69);
/* oklch */ color: oklch(56.3% 0.139 149.1);
Tailwind
colors: {
  custom: {
    50: '#70ae7a',
    500: '#288b45',
    950: '#000000',
  },
}
SCSS
$custom: #288b45;
$custom-light: #70ae7a;
$custom-dark: #000000;
JSON
{
  "hex": "#288b45",
  "rgb": {
    "r": 40,
    "g": 139,
    "b": 69
  },
  "hsl": {
    "h": 137.576,
    "s": 55.307,
    "l": 35.098
  },
  "oklch": {
    "l": 0.56346,
    "c": 0.13866,
    "h": 149.1
  },
  "luminance": 0.19346
}

Semantic roles & 50–950 ramp

primary
#288B45
secondary
#B6599B
accent
#49B3DF
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#081009
muted
#7B7F7B

Preview Lab

Preview with #288B45

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

Preview Lab → · Contrast checker → · Palette generator →

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