#288A41#288A41

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

Color values

HEX#288A41
RGBrgb(40, 138, 65)
HSLhsl(135, 55%, 35%)
HSVhsv(135, 71%, 54%)
CMYKcmyk(71%, 0%, 52.9%, 45.9%)
CIE-LABlab(50.70, -44.44, 30.90)
CIE-LCHlch(50.70, 54.13, 145.19°)
OKLaboklab(56.01% -0.1197 0.0746)
OKLCHoklch(56.01% 0.141 148.1)
XYZxyz(10.9169, 19.0085, 8.0937)
Luminance0.1901 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#288A41 #8A2871
analogous
#408A28 #288A41 #288A72
triadic
#288A41 #41288A #8A4128
tetradic
#288A41 #28408A #8A2871 #8A7228
square
#288A41 #28408A #8A2871 #8A7228
split-complementary
#288A41 #72288A #8A2840
monochromatic
#0C2B14 #1A5B2B #288A41 #36B957 #5DD07A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##288A41#FFFFFF#000000##000000
##288A411.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)
#8B7E3B
Deuteranopia (green-blind)
#807546
Tritanopia (blue-blind)
#008779
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #288a41;
/* rgb */ color: rgb(40, 138, 65);
/* oklch */ color: oklch(56.0% 0.141 148.1);
Tailwind
colors: {
  custom: {
    50: '#70ad77',
    500: '#288a41',
    950: '#000000',
  },
}
SCSS
$custom: #288a41;
$custom-light: #70ad77;
$custom-dark: #000000;
JSON
{
  "hex": "#288a41",
  "rgb": {
    "r": 40,
    "g": 138,
    "b": 65
  },
  "hsl": {
    "h": 135.306,
    "s": 55.056,
    "l": 34.902
  },
  "oklch": {
    "l": 0.56005,
    "c": 0.14107,
    "h": 148.1
  },
  "luminance": 0.1901
}

Semantic roles & 50–950 ramp

primary
#288A41
secondary
#B5599E
accent
#49B8DE
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#081009
muted
#7B7F7B

Preview Lab

Preview with #288A41

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

Preview Lab → · Contrast checker → · Palette generator →

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