#288A40#288A40

#288A40 is a mid, vivid green. Relative luminance 0.190; OKLCH L 56.0% C 0.142 H 147.8°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#288A40
RGBrgb(40, 138, 64)
HSLhsl(135, 55%, 35%)
HSVhsv(135, 71%, 54%)
CMYKcmyk(71%, 0%, 53.6%, 45.9%)
CIE-LABlab(50.68, -44.60, 31.41)
CIE-LCHlch(50.68, 54.55, 144.85°)
OKLaboklab(55.99% -0.1202 0.0757)
OKLCHoklch(55.99% 0.142 147.8)
XYZxyz(10.8882, 18.9971, 7.9425)
Luminance0.1900 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#288A40 #8A2872
analogous
#418A28 #288A40 #288A71
triadic
#288A40 #40288A #8A4028
tetradic
#288A40 #28418A #8A2872 #8A7128
square
#288A40 #28418A #8A2872 #8A7128
split-complementary
#288A40 #71288A #8A2841
monochromatic
#0C2B14 #1A5B2A #288A40 #36B956 #5DD079

Accessibility & contrast

On white

4.38
#288A40 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.80
#288A40 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #288A40
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##288A40#FFFFFF#000000##000000
##288A401.004.384.804.80
#FFFFFF4.381.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7E3A
Deuteranopia (green-blind)
#807545
Tritanopia (blue-blind)
#008779
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #288a40;
/* rgb */ color: rgb(40, 138, 64);
/* oklch */ color: oklch(56.0% 0.142 147.8);
Tailwind
colors: {
  custom: {
    50: '#70ad76',
    500: '#288a40',
    950: '#000000',
  },
}
SCSS
$custom: #288a40;
$custom-light: #70ad76;
$custom-dark: #000000;
JSON
{
  "hex": "#288a40",
  "rgb": {
    "r": 40,
    "g": 138,
    "b": 64
  },
  "hsl": {
    "h": 134.694,
    "s": 55.056,
    "l": 34.902
  },
  "oklch": {
    "l": 0.55989,
    "c": 0.14201,
    "h": 147.8
  },
  "luminance": 0.18998
}

Semantic roles & 50–950 ramp

primary
#288A40
secondary
#B5599F
accent
#49BADE
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#081009
muted
#7B7F7B

Preview Lab

Preview with #288A40

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

Preview Lab → · Contrast checker → · Palette generator →

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