#288E2D#288E2D

#288E2D is a mid, vivid green. Relative luminance 0.200; OKLCH L 56.9% C 0.163 H 143.7°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#288E2D
RGBrgb(40, 142, 45)
HSLhsl(123, 56%, 36%)
HSVhsv(123, 72%, 56%)
CMYKcmyk(71.8%, 0%, 68.3%, 44.3%)
CIE-LABlab(51.82, -48.51, 41.86)
CIE-LCHlch(51.82, 64.08, 139.21°)
OKLaboklab(56.86% -0.1315 0.0966)
OKLCHoklch(56.86% 0.163 143.7)
XYZxyz(11.0210, 19.9854, 5.7589)
Luminance0.1999 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#288E2D #8E2889
analogous
#568E28 #288E2D #288E60
triadic
#288E2D #2D288E #8E2D28
tetradic
#288E2D #28568E #8E2889 #8E6028
square
#288E2D #28568E #8E2889 #8E6028
split-complementary
#288E2D #60288E #8E2856
monochromatic
#0D2F0F #1B5E1E #288E2D #35BE3C #5FD264

Accessibility & contrast

On white

4.20
#288E2D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#288E2D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #288E2D
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##288E2D#FFFFFF#000000##000000
##288E2D1.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#918120
Deuteranopia (green-blind)
#857836
Tritanopia (blue-blind)
#048A7A
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #288e2d;
/* rgb */ color: rgb(40, 142, 45);
/* oklch */ color: oklch(56.9% 0.163 143.7);
Tailwind
colors: {
  custom: {
    50: '#72b06b',
    500: '#288e2d',
    950: '#000000',
  },
}
SCSS
$custom: #288e2d;
$custom-light: #72b06b;
$custom-dark: #000000;
JSON
{
  "hex": "#288e2d",
  "rgb": {
    "r": 40,
    "g": 142,
    "b": 45
  },
  "hsl": {
    "h": 122.941,
    "s": 56.044,
    "l": 35.686
  },
  "oklch": {
    "l": 0.56863,
    "c": 0.16312,
    "h": 143.7
  },
  "luminance": 0.19987
}

Semantic roles & 50–950 ramp

primary
#288E2D
secondary
#B75BB3
accent
#48D8DF
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#091107
muted
#7B807A

Preview Lab

Preview with #288E2D

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

Preview Lab → · Contrast checker → · Palette generator →

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