#288B3D#288B3D

#288B3D is a mid, vivid green. Relative luminance 0.193; OKLCH L 56.2% C 0.146 H 146.9°. Best body text is #000000 at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#288B3D
RGBrgb(40, 139, 61)
HSLhsl(133, 55%, 35%)
HSVhsv(133, 71%, 55%)
CMYKcmyk(71.2%, 0%, 56.1%, 45.5%)
CIE-LABlab(50.98, -45.42, 33.31)
CIE-LCHlch(50.98, 56.33, 143.75°)
OKLaboklab(56.22% -0.1225 0.0797)
OKLCHoklch(56.22% 0.146 146.9)
XYZxyz(10.9492, 19.2521, 7.5530)
Luminance0.1925 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#288B3D #8B2876
analogous
#458B28 #288B3D #288B6E
triadic
#288B3D #3D288B #8B3D28
tetradic
#288B3D #28458B #8B2876 #8B6E28
square
#288B3D #28458B #8B2876 #8B6E28
split-complementary
#288B3D #6E288B #8B2845
monochromatic
#0D2C13 #1A5B28 #288B3D #36BB52 #5DD075

Accessibility & contrast

On white

4.33
#288B3D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.85
#288B3D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #288B3D
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##288B3D#FFFFFF#000000##000000
##288B3D1.004.334.854.85
#FFFFFF4.331.0021.0021.00
#0000004.8521.001.001.00
##0000004.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7E36
Deuteranopia (green-blind)
#817643
Tritanopia (blue-blind)
#008879
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #288b3d;
/* rgb */ color: rgb(40, 139, 61);
/* oklch */ color: oklch(56.2% 0.146 146.9);
Tailwind
colors: {
  custom: {
    50: '#70ae74',
    500: '#288b3d',
    950: '#000000',
  },
}
SCSS
$custom: #288b3d;
$custom-light: #70ae74;
$custom-dark: #000000;
JSON
{
  "hex": "#288b3d",
  "rgb": {
    "r": 40,
    "g": 139,
    "b": 61
  },
  "hsl": {
    "h": 132.727,
    "s": 55.307,
    "l": 35.098
  },
  "oklch": {
    "l": 0.56222,
    "c": 0.1461,
    "h": 146.9
  },
  "luminance": 0.19253
}

Semantic roles & 50–950 ramp

primary
#288B3D
secondary
#B659A2
accent
#49BFDF
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#081008
muted
#7B7F7B

Preview Lab

Preview with #288B3D

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

Preview Lab → · Contrast checker → · Palette generator →

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