#288B3A#288B3A

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

Color values

HEX#288B3A
RGBrgb(40, 139, 58)
HSLhsl(131, 55%, 35%)
HSVhsv(131, 71%, 55%)
CMYKcmyk(71.2%, 0%, 58.3%, 45.5%)
CIE-LABlab(50.94, -45.85, 34.77)
CIE-LCHlch(50.94, 57.55, 142.82°)
OKLaboklab(56.18% -0.1237 0.0827)
OKLCHoklch(56.18% 0.149 146.2)
XYZxyz(10.8706, 19.2207, 7.1392)
Luminance0.1922 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#288B3A #8B2879
analogous
#488B28 #288B3A #288B6B
triadic
#288B3A #3A288B #8B3A28
tetradic
#288B3A #28488B #8B2879 #8B6B28
square
#288B3A #28488B #8B2879 #8B6B28
split-complementary
#288B3A #6B288B #8B2848
monochromatic
#0D2C12 #1A5B26 #288B3A #36BB4E #5DD072

Accessibility & contrast

On white

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

On black

4.84
#288B3A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #288B3A
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##288B3A#FFFFFF#000000##000000
##288B3A1.004.334.844.84
#FFFFFF4.331.0021.0021.00
#0000004.8421.001.001.00
##0000004.8421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #288b3a;
/* rgb */ color: rgb(40, 139, 58);
/* oklch */ color: oklch(56.2% 0.149 146.2);
Tailwind
colors: {
  custom: {
    50: '#70ae73',
    500: '#288b3a',
    950: '#000000',
  },
}
SCSS
$custom: #288b3a;
$custom-light: #70ae73;
$custom-dark: #000000;
JSON
{
  "hex": "#288b3a",
  "rgb": {
    "r": 40,
    "g": 139,
    "b": 58
  },
  "hsl": {
    "h": 130.909,
    "s": 55.307,
    "l": 35.098
  },
  "oklch": {
    "l": 0.5618,
    "c": 0.14878,
    "h": 146.2
  },
  "luminance": 0.19222
}

Semantic roles & 50–950 ramp

primary
#288B3A
secondary
#B659A5
accent
#49C3DF
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#081008
muted
#7B7F7B

Preview Lab

Preview with #288B3A

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

Preview Lab → · Contrast checker → · Palette generator →

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