#288C3E#288C3E

#288C3E is a mid, vivid green. Relative luminance 0.196; OKLCH L 56.5% C 0.147 H 147.1°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#288C3E
RGBrgb(40, 140, 62)
HSLhsl(133, 56%, 35%)
HSVhsv(133, 71%, 55%)
CMYKcmyk(71.4%, 0%, 55.7%, 45.1%)
CIE-LABlab(51.33, -45.65, 33.22)
CIE-LCHlch(51.33, 56.46, 143.96°)
OKLaboklab(56.51% -0.123 0.0796)
OKLCHoklch(56.51% 0.147 147.1)
XYZxyz(11.1218, 19.5539, 7.7446)
Luminance0.1956 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#288C3E #8C2876
analogous
#448C28 #288C3E #288C70
triadic
#288C3E #3E288C #8C3E28
tetradic
#288C3E #28448C #8C2876 #8C7028
square
#288C3E #28448C #8C2876 #8C7028
split-complementary
#288C3E #70288C #8C2844
monochromatic
#0D2D14 #1A5C29 #288C3E #36BC53 #5ED177

Accessibility & contrast

On white

4.28
#288C3E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.91
#288C3E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #288C3E
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##288C3E#FFFFFF#000000##000000
##288C3E1.004.284.914.91
#FFFFFF4.281.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7F37
Deuteranopia (green-blind)
#827744
Tritanopia (blue-blind)
#00897A
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #288c3e;
/* rgb */ color: rgb(40, 140, 62);
/* oklch */ color: oklch(56.5% 0.147 147.1);
Tailwind
colors: {
  custom: {
    50: '#70af75',
    500: '#288c3e',
    950: '#000000',
  },
}
SCSS
$custom: #288c3e;
$custom-light: #70af75;
$custom-dark: #000000;
JSON
{
  "hex": "#288c3e",
  "rgb": {
    "r": 40,
    "g": 140,
    "b": 62
  },
  "hsl": {
    "h": 133.2,
    "s": 55.556,
    "l": 35.294
  },
  "oklch": {
    "l": 0.56514,
    "c": 0.14652,
    "h": 147.1
  },
  "luminance": 0.19555
}

Semantic roles & 50–950 ramp

primary
#288C3E
secondary
#B65AA2
accent
#49BEDF
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#091008
muted
#7B7F7B

Preview Lab

Preview with #288C3E

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

Preview Lab → · Contrast checker → · Palette generator →

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