#288A3F#288A3F

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

Color values

HEX#288A3F
RGBrgb(40, 138, 63)
HSLhsl(134, 55%, 35%)
HSVhsv(134, 71%, 54%)
CMYKcmyk(71%, 0%, 54.3%, 45.9%)
CIE-LABlab(50.67, -44.75, 31.91)
CIE-LCHlch(50.67, 54.96, 144.51°)
OKLaboklab(55.97% -0.1206 0.0767)
OKLCHoklch(55.97% 0.143 147.5)
XYZxyz(10.8600, 18.9858, 7.7939)
Luminance0.1899 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#288A3F #8A2873
analogous
#428A28 #288A3F #288A70
triadic
#288A3F #3F288A #8A3F28
tetradic
#288A3F #28428A #8A2873 #8A7028
square
#288A3F #28428A #8A2873 #8A7028
split-complementary
#288A3F #70288A #8A2842
monochromatic
#0C2B14 #1A5B29 #288A3F #36B955 #5DD078

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##288A3F#FFFFFF#000000##000000
##288A3F1.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)
#8C7E38
Deuteranopia (green-blind)
#807545
Tritanopia (blue-blind)
#008779
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #288a3f;
/* rgb */ color: rgb(40, 138, 63);
/* oklch */ color: oklch(56.0% 0.143 147.5);
Tailwind
colors: {
  custom: {
    50: '#70ad76',
    500: '#288a3f',
    950: '#000000',
  },
}
SCSS
$custom: #288a3f;
$custom-light: #70ad76;
$custom-dark: #000000;
JSON
{
  "hex": "#288a3f",
  "rgb": {
    "r": 40,
    "g": 138,
    "b": 63
  },
  "hsl": {
    "h": 134.082,
    "s": 55.056,
    "l": 34.902
  },
  "oklch": {
    "l": 0.55974,
    "c": 0.14293,
    "h": 147.5
  },
  "luminance": 0.18987
}

Semantic roles & 50–950 ramp

primary
#288A3F
secondary
#B5599F
accent
#49BBDE
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#081008
muted
#7B7F7B

Preview Lab

Preview with #288A3F

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

Preview Lab → · Contrast checker → · Palette generator →

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