#288F24#288F24

#288F24 is a mid, vivid green. Relative luminance 0.202; OKLCH L 57.1% C 0.170 H 142.5°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#288F24
RGBrgb(40, 143, 36)
HSLhsl(118, 60%, 35%)
HSVhsv(118, 75%, 56%)
CMYKcmyk(72%, 0%, 74.8%, 43.9%)
CIE-LABlab(52.09, -49.71, 45.81)
CIE-LCHlch(52.09, 67.60, 137.33°)
OKLaboklab(57.06% -0.1351 0.1037)
OKLCHoklch(57.06% 0.17 142.5)
XYZxyz(11.0153, 20.2222, 4.9915)
Luminance0.2022 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#288F24 #8B248F
analogous
#5D8F24 #288F24 #248F55
triadic
#288F24 #24288F #8F2428
tetradic
#288F24 #245D8F #8B248F #8F5524
square
#288F24 #245D8F #8B248F #8F5524
split-complementary
#288F24 #55248F #8F245D
monochromatic
#0D2D0B #1A5E18 #288F24 #36C030 #5DD558

Accessibility & contrast

On white

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

On black

5.04
#288F24 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #288F24
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##288F24#FFFFFF#000000##000000
##288F241.004.165.045.04
#FFFFFF4.161.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#928110
Deuteranopia (green-blind)
#86792F
Tritanopia (blue-blind)
#088B7A
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #288f24;
/* rgb */ color: rgb(40, 143, 36);
/* oklch */ color: oklch(57.1% 0.170 142.5);
Tailwind
colors: {
  custom: {
    50: '#72b166',
    500: '#288f24',
    950: '#000000',
  },
}
SCSS
$custom: #288f24;
$custom-light: #72b166;
$custom-dark: #000000;
JSON
{
  "hex": "#288f24",
  "rgb": {
    "r": 40,
    "g": 143,
    "b": 36
  },
  "hsl": {
    "h": 117.757,
    "s": 59.777,
    "l": 35.098
  },
  "oklch": {
    "l": 0.57062,
    "c": 0.17037,
    "h": 142.5
  },
  "luminance": 0.20223
}

Semantic roles & 50–950 ramp

primary
#288F24
secondary
#B655B9
accent
#45E3DD
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#091106
muted
#7B807A

Preview Lab

Preview with #288F24

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

Preview Lab → · Contrast checker → · Palette generator →

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