#288F28#288F28

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

Color values

HEX#288F28
RGBrgb(40, 143, 40)
HSLhsl(120, 56%, 36%)
HSVhsv(120, 72%, 56%)
CMYKcmyk(72%, 0%, 72%, 43.9%)
CIE-LABlab(52.12, -49.35, 44.27)
CIE-LCHlch(52.12, 66.30, 138.11°)
OKLaboklab(57.1% -0.134 0.101)
OKLCHoklch(57.1% 0.168 143)
XYZxyz(11.0799, 20.2480, 5.3314)
Luminance0.2025 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#288F28 #8F288F
analogous
#5B8F28 #288F28 #288F5B
triadic
#288F28 #28288F #8F2828
tetradic
#288F28 #285B8F #8F288F #8F5B28
square
#288F28 #285B8F #8F288F #8F5B28
split-complementary
#288F28 #5B288F #8F285B
monochromatic
#0D2F0D #1B5F1B #288F28 #35BF35 #5FD25F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##288F28#FFFFFF#000000##000000
##288F281.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)
#928118
Deuteranopia (green-blind)
#867932
Tritanopia (blue-blind)
#068B7B
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #288f28;
/* rgb */ color: rgb(40, 143, 40);
/* oklch */ color: oklch(57.1% 0.168 143.0);
Tailwind
colors: {
  custom: {
    50: '#72b168',
    500: '#288f28',
    950: '#000000',
  },
}
SCSS
$custom: #288f28;
$custom-light: #72b168;
$custom-dark: #000000;
JSON
{
  "hex": "#288f28",
  "rgb": {
    "r": 40,
    "g": 143,
    "b": 40
  },
  "hsl": {
    "h": 120,
    "s": 56.284,
    "l": 35.882
  },
  "oklch": {
    "l": 0.57095,
    "c": 0.16782,
    "h": 143
  },
  "luminance": 0.20249
}

Semantic roles & 50–950 ramp

primary
#288F28
secondary
#B85BB8
accent
#48E0E0
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#091106
muted
#7B807A

Preview Lab

Preview with #288F28

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

Preview Lab → · Contrast checker → · Palette generator →

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