#288F2D#288F2D

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

Color values

HEX#288F2D
RGBrgb(40, 143, 45)
HSLhsl(123, 56%, 36%)
HSVhsv(123, 72%, 56%)
CMYKcmyk(72%, 0%, 68.5%, 43.9%)
CIE-LABlab(52.16, -48.87, 42.22)
CIE-LCHlch(52.16, 64.58, 139.17°)
OKLaboklab(57.14% -0.1324 0.0974)
OKLCHoklch(57.14% 0.164 143.7)
XYZxyz(11.1705, 20.2843, 5.8087)
Luminance0.2029 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#288F2D #8F288A
analogous
#568F28 #288F2D #288F60
triadic
#288F2D #2D288F #8F2D28
tetradic
#288F2D #28568F #8F288A #8F6028
square
#288F2D #28568F #8F288A #8F6028
split-complementary
#288F2D #60288F #8F2856
monochromatic
#0D2F0F #1B5F1E #288F2D #35BF3C #5FD265

Accessibility & contrast

On white

4.15
#288F2D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#288F2D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #288F2D
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##288F2D#FFFFFF#000000##000000
##288F2D1.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#928120
Deuteranopia (green-blind)
#867936
Tritanopia (blue-blind)
#038B7B
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #288f2d;
/* rgb */ color: rgb(40, 143, 45);
/* oklch */ color: oklch(57.1% 0.164 143.7);
Tailwind
colors: {
  custom: {
    50: '#72b16b',
    500: '#288f2d',
    950: '#000000',
  },
}
SCSS
$custom: #288f2d;
$custom-light: #72b16b;
$custom-dark: #000000;
JSON
{
  "hex": "#288f2d",
  "rgb": {
    "r": 40,
    "g": 143,
    "b": 45
  },
  "hsl": {
    "h": 122.913,
    "s": 56.284,
    "l": 35.882
  },
  "oklch": {
    "l": 0.57142,
    "c": 0.16435,
    "h": 143.7
  },
  "luminance": 0.20285
}

Semantic roles & 50–950 ramp

primary
#288F2D
secondary
#B85BB3
accent
#48D8E0
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#091107
muted
#7B807A

Preview Lab

Preview with #288F2D

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

Preview Lab → · Contrast checker → · Palette generator →

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