#288B3E#288B3E

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

Color values

HEX#288B3E
RGBrgb(40, 139, 62)
HSLhsl(133, 55%, 35%)
HSVhsv(133, 71%, 55%)
CMYKcmyk(71.2%, 0%, 55.4%, 45.5%)
CIE-LABlab(50.99, -45.28, 32.81)
CIE-LCHlch(50.99, 55.92, 144.07°)
OKLaboklab(56.24% -0.122 0.0787)
OKLCHoklch(56.24% 0.145 147.2)
XYZxyz(10.9764, 19.2630, 7.6961)
Luminance0.1926 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#288B3E #8B2875
analogous
#448B28 #288B3E #288B6F
triadic
#288B3E #3E288B #8B3E28
tetradic
#288B3E #28448B #8B2875 #8B6F28
square
#288B3E #28448B #8B2875 #8B6F28
split-complementary
#288B3E #6F288B #8B2844
monochromatic
#0D2C14 #1A5B29 #288B3E #36BB53 #5DD077

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##288B3E#FFFFFF#000000##000000
##288B3E1.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)
#8D7E37
Deuteranopia (green-blind)
#817644
Tritanopia (blue-blind)
#00887A
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #288b3e;
/* rgb */ color: rgb(40, 139, 62);
/* oklch */ color: oklch(56.2% 0.145 147.2);
Tailwind
colors: {
  custom: {
    50: '#70ae75',
    500: '#288b3e',
    950: '#000000',
  },
}
SCSS
$custom: #288b3e;
$custom-light: #70ae75;
$custom-dark: #000000;
JSON
{
  "hex": "#288b3e",
  "rgb": {
    "r": 40,
    "g": 139,
    "b": 62
  },
  "hsl": {
    "h": 133.333,
    "s": 55.307,
    "l": 35.098
  },
  "oklch": {
    "l": 0.56237,
    "c": 0.14519,
    "h": 147.2
  },
  "luminance": 0.19264
}

Semantic roles & 50–950 ramp

primary
#288B3E
secondary
#B659A1
accent
#49BDDF
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#081008
muted
#7B7F7B

Preview Lab

Preview with #288B3E

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

Preview Lab → · Contrast checker → · Palette generator →

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