#288A39#288A39

#288A39 is a mid, vivid green. Relative luminance 0.189; OKLCH L 55.9% C 0.148 H 146.1°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#288A39
RGBrgb(40, 138, 57)
HSLhsl(130, 55%, 35%)
HSVhsv(130, 71%, 54%)
CMYKcmyk(71%, 0%, 58.7%, 45.9%)
CIE-LABlab(50.60, -45.62, 34.86)
CIE-LCHlch(50.60, 57.41, 142.61°)
OKLaboklab(55.89% -0.1231 0.0828)
OKLCHoklch(55.89% 0.148 146.1)
XYZxyz(10.7013, 18.9223, 6.9585)
Luminance0.1892 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#288A39 #8A2879
analogous
#488A28 #288A39 #288A6A
triadic
#288A39 #39288A #8A3928
tetradic
#288A39 #28488A #8A2879 #8A6A28
square
#288A39 #28488A #8A2879 #8A6A28
split-complementary
#288A39 #6A288A #8A2848
monochromatic
#0C2B12 #1A5B25 #288A39 #36B94D #5DD071

Accessibility & contrast

On white

4.39
#288A39 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.78
#288A39 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #288A39
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##288A39#FFFFFF#000000##000000
##288A391.004.394.784.78
#FFFFFF4.391.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7D31
Deuteranopia (green-blind)
#80753F
Tritanopia (blue-blind)
#008778
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #288a39;
/* rgb */ color: rgb(40, 138, 57);
/* oklch */ color: oklch(55.9% 0.148 146.1);
Tailwind
colors: {
  custom: {
    50: '#70ad72',
    500: '#288a39',
    950: '#000000',
  },
}
SCSS
$custom: #288a39;
$custom-light: #70ad72;
$custom-dark: #000000;
JSON
{
  "hex": "#288a39",
  "rgb": {
    "r": 40,
    "g": 138,
    "b": 57
  },
  "hsl": {
    "h": 130.408,
    "s": 55.056,
    "l": 34.902
  },
  "oklch": {
    "l": 0.55888,
    "c": 0.14834,
    "h": 146.1
  },
  "luminance": 0.18923
}

Semantic roles & 50–950 ramp

primary
#288A39
secondary
#B559A5
accent
#49C5DE
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#081008
muted
#7B7F7B

Preview Lab

Preview with #288A39

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

Preview Lab → · Contrast checker → · Palette generator →

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