#288727#288727

#288727 is a mid, vivid green. Relative luminance 0.179; OKLCH L 54.8% C 0.159 H 142.9°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#288727
RGBrgb(40, 135, 39)
HSLhsl(119, 55%, 34%)
HSVhsv(119, 71%, 53%)
CMYKcmyk(70.4%, 0%, 71.1%, 47.1%)
CIE-LABlab(49.40, -46.63, 41.84)
CIE-LCHlch(49.40, 62.64, 138.10°)
OKLaboklab(54.84% -0.1267 0.0958)
OKLCHoklch(54.84% 0.159 142.9)
XYZxyz(9.9047, 17.9245, 4.8569)
Luminance0.1793 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#288727 #862787
analogous
#588727 #288727 #278756
triadic
#288727 #272887 #872728
tetradic
#288727 #275887 #862787 #875627
square
#288727 #275887 #862787 #875627
split-complementary
#288727 #562787 #872758
monochromatic
#0C280C #1A5819 #288727 #36B635 #5BCF59

Accessibility & contrast

On white

4.58
#288727 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.59
#288727 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #288727
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##288727#FFFFFF#000000##000000
##2887271.004.584.594.59
#FFFFFF4.581.0021.0021.00
#0000004.5921.001.001.00
##0000004.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7A19
Deuteranopia (green-blind)
#7F7230
Tritanopia (blue-blind)
#0E8374
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #288727;
/* rgb */ color: rgb(40, 135, 39);
/* oklch */ color: oklch(54.8% 0.159 142.9);
Tailwind
colors: {
  custom: {
    50: '#70ab67',
    500: '#288727',
    950: '#000000',
  },
}
SCSS
$custom: #288727;
$custom-light: #70ab67;
$custom-dark: #000000;
JSON
{
  "hex": "#288727",
  "rgb": {
    "r": 40,
    "g": 135,
    "b": 39
  },
  "hsl": {
    "h": 119.375,
    "s": 55.172,
    "l": 34.118
  },
  "oklch": {
    "l": 0.54844,
    "c": 0.1588,
    "h": 142.9
  },
  "luminance": 0.17926
}

Semantic roles & 50–950 ramp

primary
#288727
secondary
#B356B4
accent
#49DFDD
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #288727

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

Preview Lab → · Contrast checker → · Palette generator →

#288727 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva