#288F27#288F27

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

Color values

HEX#288F27
RGBrgb(40, 143, 39)
HSLhsl(119, 57%, 36%)
HSVhsv(119, 73%, 56%)
CMYKcmyk(72%, 0%, 72.7%, 43.9%)
CIE-LABlab(52.11, -49.45, 44.67)
CIE-LCHlch(52.11, 66.63, 137.91°)
OKLaboklab(57.09% -0.1343 0.1017)
OKLCHoklch(57.09% 0.168 142.9)
XYZxyz(11.0631, 20.2413, 5.2430)
Luminance0.2024 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#288F27 #8E278F
analogous
#5C8F27 #288F27 #278F5A
triadic
#288F27 #27288F #8F2728
tetradic
#288F27 #275C8F #8E278F #8F5A27
square
#288F27 #275C8F #8E278F #8F5A27
split-complementary
#288F27 #5A278F #8F275C
monochromatic
#0D2F0D #1B5F1A #288F27 #35BF34 #5FD35D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##288F27#FFFFFF#000000##000000
##288F271.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)
#928116
Deuteranopia (green-blind)
#867931
Tritanopia (blue-blind)
#068B7A
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #288f27;
/* rgb */ color: rgb(40, 143, 39);
/* oklch */ color: oklch(57.1% 0.168 142.9);
Tailwind
colors: {
  custom: {
    50: '#72b168',
    500: '#288f27',
    950: '#000000',
  },
}
SCSS
$custom: #288f27;
$custom-light: #72b168;
$custom-dark: #000000;
JSON
{
  "hex": "#288f27",
  "rgb": {
    "r": 40,
    "g": 143,
    "b": 39
  },
  "hsl": {
    "h": 119.423,
    "s": 57.143,
    "l": 35.686
  },
  "oklch": {
    "l": 0.57087,
    "c": 0.16847,
    "h": 142.9
  },
  "luminance": 0.20243
}

Semantic roles & 50–950 ramp

primary
#288F27
secondary
#B75AB8
accent
#47E0DF
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#091106
muted
#7B807A

Preview Lab

Preview with #288F27

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

Preview Lab → · Contrast checker → · Palette generator →

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