#288F38#288F38

#288F38 is a mid, vivid green. Relative luminance 0.204; OKLCH L 57.3% C 0.156 H 145.6°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#288F38
RGBrgb(40, 143, 56)
HSLhsl(129, 56%, 36%)
HSVhsv(129, 72%, 56%)
CMYKcmyk(72%, 0%, 60.8%, 43.9%)
CIE-LABlab(52.26, -47.59, 37.30)
CIE-LCHlch(52.26, 60.46, 141.91°)
OKLaboklab(57.27% -0.1285 0.088)
OKLCHoklch(57.27% 0.156 145.6)
XYZxyz(11.4106, 20.3803, 7.0731)
Luminance0.2038 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#288F38 #8F287F
analogous
#4B8F28 #288F38 #288F6B
triadic
#288F38 #38288F #8F3828
tetradic
#288F38 #284B8F #8F287F #8F6B28
square
#288F38 #284B8F #8F287F #8F6B28
split-complementary
#288F38 #6B288F #8F284B
monochromatic
#0D2F13 #1B5F25 #288F38 #35BF4B #5FD271

Accessibility & contrast

On white

4.14
#288F38 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.08
#288F38 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #288F38
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##288F38#FFFFFF#000000##000000
##288F381.004.145.085.08
#FFFFFF4.141.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#91822F
Deuteranopia (green-blind)
#85793F
Tritanopia (blue-blind)
#008B7C
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #288f38;
/* rgb */ color: rgb(40, 143, 56);
/* oklch */ color: oklch(57.3% 0.156 145.6);
Tailwind
colors: {
  custom: {
    50: '#71b172',
    500: '#288f38',
    950: '#000000',
  },
}
SCSS
$custom: #288f38;
$custom-light: #71b172;
$custom-dark: #000000;
JSON
{
  "hex": "#288f38",
  "rgb": {
    "r": 40,
    "g": 143,
    "b": 56
  },
  "hsl": {
    "h": 129.32,
    "s": 56.284,
    "l": 35.882
  },
  "oklch": {
    "l": 0.57266,
    "c": 0.15571,
    "h": 145.6
  },
  "luminance": 0.20382
}

Semantic roles & 50–950 ramp

primary
#288F38
secondary
#B85BA9
accent
#48C8E0
background
#F7FBF7
surface
#EDF6ED
border
#C8D0C8
text
#091108
muted
#7B807B

Preview Lab

Preview with #288F38

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

Preview Lab → · Contrast checker → · Palette generator →

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