#288E2B#288E2B

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

Color values

HEX#288E2B
RGBrgb(40, 142, 43)
HSLhsl(122, 56%, 36%)
HSVhsv(122, 72%, 56%)
CMYKcmyk(71.8%, 0%, 69.7%, 44.3%)
CIE-LABlab(51.80, -48.72, 42.70)
CIE-LCHlch(51.80, 64.78, 138.77°)
OKLaboklab(56.84% -0.1321 0.0981)
OKLCHoklch(56.84% 0.165 143.4)
XYZxyz(10.9834, 19.9703, 5.5609)
Luminance0.1997 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#288E2B #8E288B
analogous
#588E28 #288E2B #288E5E
triadic
#288E2B #2B288E #8E2B28
tetradic
#288E2B #28588E #8E288B #8E5E28
square
#288E2B #28588E #8E288B #8E5E28
split-complementary
#288E2B #5E288E #8E2858
monochromatic
#0D2F0E #1B5E1D #288E2B #35BE39 #5FD262

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##288E2B#FFFFFF#000000##000000
##288E2B1.004.204.994.99
#FFFFFF4.201.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #288e2b;
/* rgb */ color: rgb(40, 142, 43);
/* oklch */ color: oklch(56.8% 0.165 143.4);
Tailwind
colors: {
  custom: {
    50: '#72b06a',
    500: '#288e2b',
    950: '#000000',
  },
}
SCSS
$custom: #288e2b;
$custom-light: #72b06a;
$custom-dark: #000000;
JSON
{
  "hex": "#288e2b",
  "rgb": {
    "r": 40,
    "g": 142,
    "b": 43
  },
  "hsl": {
    "h": 121.765,
    "s": 56.044,
    "l": 35.686
  },
  "oklch": {
    "l": 0.56843,
    "c": 0.16456,
    "h": 143.4
  },
  "luminance": 0.19972
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #288E2B

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

Preview Lab → · Contrast checker → · Palette generator →

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