#288B3C#288B3C

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

Color values

HEX#288B3C
RGBrgb(40, 139, 60)
HSLhsl(132, 55%, 35%)
HSVhsv(132, 71%, 55%)
CMYKcmyk(71.2%, 0%, 56.8%, 45.5%)
CIE-LABlab(50.97, -45.57, 33.80)
CIE-LCHlch(50.97, 56.73, 143.44°)
OKLaboklab(56.21% -0.1229 0.0807)
OKLCHoklch(56.21% 0.147 146.7)
XYZxyz(10.9225, 19.2414, 7.4124)
Luminance0.1924 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#288B3C #8B2877
analogous
#468B28 #288B3C #288B6D
triadic
#288B3C #3C288B #8B3C28
tetradic
#288B3C #28468B #8B2877 #8B6D28
square
#288B3C #28468B #8B2877 #8B6D28
split-complementary
#288B3C #6D288B #8B2846
monochromatic
#0D2C13 #1A5B27 #288B3C #36BB51 #5DD074

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##288B3C#FFFFFF#000000##000000
##288B3C1.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)
#8D7E35
Deuteranopia (green-blind)
#817642
Tritanopia (blue-blind)
#008879
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #288b3c;
/* rgb */ color: rgb(40, 139, 60);
/* oklch */ color: oklch(56.2% 0.147 146.7);
Tailwind
colors: {
  custom: {
    50: '#70ae74',
    500: '#288b3c',
    950: '#000000',
  },
}
SCSS
$custom: #288b3c;
$custom-light: #70ae74;
$custom-dark: #000000;
JSON
{
  "hex": "#288b3c",
  "rgb": {
    "r": 40,
    "g": 139,
    "b": 60
  },
  "hsl": {
    "h": 132.121,
    "s": 55.307,
    "l": 35.098
  },
  "oklch": {
    "l": 0.56208,
    "c": 0.147,
    "h": 146.7
  },
  "luminance": 0.19243
}

Semantic roles & 50–950 ramp

primary
#288B3C
secondary
#B659A3
accent
#49C0DF
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#081008
muted
#7B7F7B

Preview Lab

Preview with #288B3C

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

Preview Lab → · Contrast checker → · Palette generator →

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