#288F31#288F31

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

Color values

HEX#288F31
RGBrgb(40, 143, 49)
HSLhsl(125, 56%, 36%)
HSVhsv(125, 72%, 56%)
CMYKcmyk(72%, 0%, 65.7%, 43.9%)
CIE-LABlab(52.19, -48.43, 40.49)
CIE-LCHlch(52.19, 63.13, 140.10°)
OKLaboklab(57.18% -0.1311 0.0941)
OKLCHoklch(57.18% 0.161 144.3)
XYZxyz(11.2512, 20.3166, 6.2337)
Luminance0.2032 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#288F31 #8F2886
analogous
#528F28 #288F31 #288F64
triadic
#288F31 #31288F #8F3128
tetradic
#288F31 #28528F #8F2886 #8F6428
square
#288F31 #28528F #8F2886 #8F6428
split-complementary
#288F31 #64288F #8F2852
monochromatic
#0D2F10 #1B5F21 #288F31 #35BF41 #5FD269

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##288F31#FFFFFF#000000##000000
##288F311.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)
#928226
Deuteranopia (green-blind)
#867939
Tritanopia (blue-blind)
#008B7B
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #288f31;
/* rgb */ color: rgb(40, 143, 49);
/* oklch */ color: oklch(57.2% 0.161 144.3);
Tailwind
colors: {
  custom: {
    50: '#72b16d',
    500: '#288f31',
    950: '#000000',
  },
}
SCSS
$custom: #288f31;
$custom-light: #72b16d;
$custom-dark: #000000;
JSON
{
  "hex": "#288f31",
  "rgb": {
    "r": 40,
    "g": 143,
    "b": 49
  },
  "hsl": {
    "h": 125.243,
    "s": 56.284,
    "l": 35.882
  },
  "oklch": {
    "l": 0.57184,
    "c": 0.16136,
    "h": 144.3
  },
  "luminance": 0.20318
}

Semantic roles & 50–950 ramp

primary
#288F31
secondary
#B85BB0
accent
#48D2E0
background
#F7FBF6
surface
#EDF6EC
border
#C8D0C7
text
#091107
muted
#7B807A

Preview Lab

Preview with #288F31

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

Preview Lab → · Contrast checker → · Palette generator →

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