#288A4C#288A4C

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

Color values

HEX#288A4C
RGBrgb(40, 138, 76)
HSLhsl(142, 55%, 35%)
HSVhsv(142, 71%, 54%)
CMYKcmyk(71%, 0%, 44.9%, 45.9%)
CIE-LABlab(50.86, -42.57, 25.23)
CIE-LCHlch(50.86, 49.49, 149.35°)
OKLaboklab(56.19% -0.1147 0.0622)
OKLCHoklch(56.19% 0.131 151.5)
XYZxyz(11.2671, 19.1486, 9.9383)
Luminance0.1915 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#288A4C #8A2866
analogous
#358A28 #288A4C #288A7D
triadic
#288A4C #4C288A #8A4C28
tetradic
#288A4C #28358A #8A2866 #8A7D28
square
#288A4C #28358A #8A2866 #8A7D28
split-complementary
#288A4C #7D288A #8A2835
monochromatic
#0C2B18 #1A5B32 #288A4C #36B966 #5DD087

Accessibility & contrast

On white

4.35
#288A4C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.83
#288A4C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #288A4C
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##288A4C#FFFFFF#000000##000000
##288A4C1.004.354.834.83
#FFFFFF4.351.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7E47
Deuteranopia (green-blind)
#7E7650
Tritanopia (blue-blind)
#00887B
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #288a4c;
/* rgb */ color: rgb(40, 138, 76);
/* oklch */ color: oklch(56.2% 0.131 151.5);
Tailwind
colors: {
  custom: {
    50: '#70ad7f',
    500: '#288a4c',
    950: '#000000',
  },
}
SCSS
$custom: #288a4c;
$custom-light: #70ad7f;
$custom-dark: #000000;
JSON
{
  "hex": "#288a4c",
  "rgb": {
    "r": 40,
    "g": 138,
    "b": 76
  },
  "hsl": {
    "h": 142.041,
    "s": 55.056,
    "l": 34.902
  },
  "oklch": {
    "l": 0.56193,
    "c": 0.1305,
    "h": 151.5
  },
  "luminance": 0.1915
}

Semantic roles & 50–950 ramp

primary
#288A4C
secondary
#B55993
accent
#49A8DE
background
#F7FAF7
surface
#EDF4EE
border
#C8CEC9
text
#08100A
muted
#7B7F7C

Preview Lab

Preview with #288A4C

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

Preview Lab → · Contrast checker → · Palette generator →

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