#288A42#288A42

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

Color values

HEX#288A42
RGBrgb(40, 138, 66)
HSLhsl(136, 55%, 35%)
HSVhsv(136, 71%, 54%)
CMYKcmyk(71%, 0%, 52.2%, 45.9%)
CIE-LABlab(50.71, -44.28, 30.40)
CIE-LCHlch(50.71, 53.71, 145.53°)
OKLaboklab(56.02% -0.1193 0.0735)
OKLCHoklch(56.02% 0.14 148.4)
XYZxyz(10.9461, 19.0202, 8.2476)
Luminance0.1902 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#288A42 #8A2870
analogous
#3F8A28 #288A42 #288A73
triadic
#288A42 #42288A #8A4228
tetradic
#288A42 #283F8A #8A2870 #8A7328
square
#288A42 #283F8A #8A2870 #8A7328
split-complementary
#288A42 #73288A #8A283F
monochromatic
#0C2B15 #1A5B2B #288A42 #36B959 #5DD07B

Accessibility & contrast

On white

4.37
#288A42 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##288A42#FFFFFF#000000##000000
##288A421.004.374.804.80
#FFFFFF4.371.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #288a42;
/* rgb */ color: rgb(40, 138, 66);
/* oklch */ color: oklch(56.0% 0.140 148.4);
Tailwind
colors: {
  custom: {
    50: '#70ad78',
    500: '#288a42',
    950: '#000000',
  },
}
SCSS
$custom: #288a42;
$custom-light: #70ad78;
$custom-dark: #000000;
JSON
{
  "hex": "#288a42",
  "rgb": {
    "r": 40,
    "g": 138,
    "b": 66
  },
  "hsl": {
    "h": 135.918,
    "s": 55.056,
    "l": 34.902
  },
  "oklch": {
    "l": 0.5602,
    "c": 0.14013,
    "h": 148.4
  },
  "luminance": 0.19021
}

Semantic roles & 50–950 ramp

primary
#288A42
secondary
#B5599D
accent
#49B7DE
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#081009
muted
#7B7F7B

Preview Lab

Preview with #288A42

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

Preview Lab → · Contrast checker → · Palette generator →

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