#288E2A#288E2A

#288E2A is a mid, vivid green. Relative luminance 0.200; OKLCH L 56.8% C 0.165 H 143.3°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#288E2A
RGBrgb(40, 142, 42)
HSLhsl(121, 56%, 36%)
HSVhsv(121, 72%, 56%)
CMYKcmyk(71.8%, 0%, 70.4%, 44.3%)
CIE-LABlab(51.80, -48.82, 43.11)
CIE-LCHlch(51.80, 65.13, 138.55°)
OKLaboklab(56.83% -0.1324 0.0989)
OKLCHoklch(56.83% 0.165 143.3)
XYZxyz(10.9653, 19.9631, 5.4654)
Luminance0.1996 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#288E2A #8E288C
analogous
#598E28 #288E2A #288E5D
triadic
#288E2A #2A288E #8E2A28
tetradic
#288E2A #28598E #8E288C #8E5D28
square
#288E2A #28598E #8E288C #8E5D28
split-complementary
#288E2A #5D288E #8E2859
monochromatic
#0D2F0E #1B5E1C #288E2A #35BE38 #5FD261

Accessibility & contrast

On white

4.21
#288E2A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#288E2A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #288E2A
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##288E2A#FFFFFF#000000##000000
##288E2A1.004.214.994.99
#FFFFFF4.211.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#91801B
Deuteranopia (green-blind)
#857834
Tritanopia (blue-blind)
#068A7A
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #288e2a;
/* rgb */ color: rgb(40, 142, 42);
/* oklch */ color: oklch(56.8% 0.165 143.3);
Tailwind
colors: {
  custom: {
    50: '#72b069',
    500: '#288e2a',
    950: '#000000',
  },
}
SCSS
$custom: #288e2a;
$custom-light: #72b069;
$custom-dark: #000000;
JSON
{
  "hex": "#288e2a",
  "rgb": {
    "r": 40,
    "g": 142,
    "b": 42
  },
  "hsl": {
    "h": 121.176,
    "s": 56.044,
    "l": 35.686
  },
  "oklch": {
    "l": 0.56834,
    "c": 0.16526,
    "h": 143.3
  },
  "luminance": 0.19964
}

Semantic roles & 50–950 ramp

primary
#288E2A
secondary
#B75BB5
accent
#48DCDF
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#091107
muted
#7B807A

Preview Lab

Preview with #288E2A

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

Preview Lab → · Contrast checker → · Palette generator →

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