#288F2B#288F2B

#288F2B is a mid, vivid green. Relative luminance 0.203; OKLCH L 57.1% C 0.166 H 143.4°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#288F2B
RGBrgb(40, 143, 43)
HSLhsl(122, 56%, 36%)
HSVhsv(122, 72%, 56%)
CMYKcmyk(72%, 0%, 69.9%, 43.9%)
CIE-LABlab(52.14, -49.07, 43.06)
CIE-LCHlch(52.14, 65.28, 138.73°)
OKLaboklab(57.12% -0.1331 0.0989)
OKLCHoklch(57.12% 0.166 143.4)
XYZxyz(11.1329, 20.2692, 5.6107)
Luminance0.2027 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#288F2B #8F288C
analogous
#588F28 #288F2B #288F5E
triadic
#288F2B #2B288F #8F2B28
tetradic
#288F2B #28588F #8F288C #8F5E28
square
#288F2B #28588F #8F288C #8F5E28
split-complementary
#288F2B #5E288F #8F2858
monochromatic
#0D2F0E #1B5F1D #288F2B #35BF39 #5FD262

Accessibility & contrast

On white

4.16
#288F2B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.05
#288F2B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #288F2B
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##288F2B#FFFFFF#000000##000000
##288F2B1.004.165.055.05
#FFFFFF4.161.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#92811D
Deuteranopia (green-blind)
#867934
Tritanopia (blue-blind)
#048B7B
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #288f2b;
/* rgb */ color: rgb(40, 143, 43);
/* oklch */ color: oklch(57.1% 0.166 143.4);
Tailwind
colors: {
  custom: {
    50: '#72b16a',
    500: '#288f2b',
    950: '#000000',
  },
}
SCSS
$custom: #288f2b;
$custom-light: #72b16a;
$custom-dark: #000000;
JSON
{
  "hex": "#288f2b",
  "rgb": {
    "r": 40,
    "g": 143,
    "b": 43
  },
  "hsl": {
    "h": 121.748,
    "s": 56.284,
    "l": 35.882
  },
  "oklch": {
    "l": 0.57123,
    "c": 0.16578,
    "h": 143.4
  },
  "luminance": 0.2027
}

Semantic roles & 50–950 ramp

primary
#288F2B
secondary
#B85BB5
accent
#48DBE0
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#091107
muted
#7B807A

Preview Lab

Preview with #288F2B

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

Preview Lab → · Contrast checker → · Palette generator →

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