#288E2F#288E2F

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

Color values

HEX#288E2F
RGBrgb(40, 142, 47)
HSLhsl(124, 56%, 36%)
HSVhsv(124, 72%, 56%)
CMYKcmyk(71.8%, 0%, 66.9%, 44.3%)
CIE-LABlab(51.84, -48.30, 41.00)
CIE-LCHlch(51.84, 63.35, 139.67°)
OKLaboklab(56.88% -0.1308 0.095)
OKLCHoklch(56.88% 0.162 144)
XYZxyz(11.0605, 20.0011, 5.9665)
Luminance0.2000 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#288E2F #8E2887
analogous
#548E28 #288E2F #288E62
triadic
#288E2F #2F288E #8E2F28
tetradic
#288E2F #28548E #8E2887 #8E6228
square
#288E2F #28548E #8E2887 #8E6228
split-complementary
#288E2F #62288E #8E2854
monochromatic
#0D2F0F #1B5E1F #288E2F #35BE3F #5FD266

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##288E2F#FFFFFF#000000##000000
##288E2F1.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)
#918123
Deuteranopia (green-blind)
#857838
Tritanopia (blue-blind)
#038A7A
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #288e2f;
/* rgb */ color: rgb(40, 142, 47);
/* oklch */ color: oklch(56.9% 0.162 144.0);
Tailwind
colors: {
  custom: {
    50: '#72b06c',
    500: '#288e2f',
    950: '#000000',
  },
}
SCSS
$custom: #288e2f;
$custom-light: #72b06c;
$custom-dark: #000000;
JSON
{
  "hex": "#288e2f",
  "rgb": {
    "r": 40,
    "g": 142,
    "b": 47
  },
  "hsl": {
    "h": 124.118,
    "s": 56.044,
    "l": 35.686
  },
  "oklch": {
    "l": 0.56884,
    "c": 0.16165,
    "h": 144
  },
  "luminance": 0.20002
}

Semantic roles & 50–950 ramp

primary
#288E2F
secondary
#B75BB1
accent
#48D5DF
background
#F7FAF6
surface
#EDF5EC
border
#C8CFC7
text
#091107
muted
#7B807A

Preview Lab

Preview with #288E2F

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

Preview Lab → · Contrast checker → · Palette generator →

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