#288E2E#288E2E

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

Color values

HEX#288E2E
RGBrgb(40, 142, 46)
HSLhsl(124, 56%, 36%)
HSVhsv(124, 72%, 56%)
CMYKcmyk(71.8%, 0%, 67.6%, 44.3%)
CIE-LABlab(51.83, -48.41, 41.43)
CIE-LCHlch(51.83, 63.72, 139.44°)
OKLaboklab(56.87% -0.1311 0.0958)
OKLCHoklch(56.87% 0.162 143.9)
XYZxyz(11.0405, 19.9932, 5.8615)
Luminance0.1999 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#288E2E #8E2888
analogous
#558E28 #288E2E #288E61
triadic
#288E2E #2E288E #8E2E28
tetradic
#288E2E #28558E #8E2888 #8E6128
square
#288E2E #28558E #8E2888 #8E6128
split-complementary
#288E2E #61288E #8E2855
monochromatic
#0D2F0F #1B5E1F #288E2E #35BE3D #5FD265

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##288E2E#FFFFFF#000000##000000
##288E2E1.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)
#918122
Deuteranopia (green-blind)
#857837
Tritanopia (blue-blind)
#038A7A
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #288e2e;
/* rgb */ color: rgb(40, 142, 46);
/* oklch */ color: oklch(56.9% 0.162 143.9);
Tailwind
colors: {
  custom: {
    50: '#72b06b',
    500: '#288e2e',
    950: '#000000',
  },
}
SCSS
$custom: #288e2e;
$custom-light: #72b06b;
$custom-dark: #000000;
JSON
{
  "hex": "#288e2e",
  "rgb": {
    "r": 40,
    "g": 142,
    "b": 46
  },
  "hsl": {
    "h": 123.529,
    "s": 56.044,
    "l": 35.686
  },
  "oklch": {
    "l": 0.56873,
    "c": 0.16239,
    "h": 143.9
  },
  "luminance": 0.19994
}

Semantic roles & 50–950 ramp

primary
#288E2E
secondary
#B75BB2
accent
#48D6DF
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#091107
muted
#7B807A

Preview Lab

Preview with #288E2E

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

Preview Lab → · Contrast checker → · Palette generator →

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