#288140#288140

#288140 is a mid, vivid green. Relative luminance 0.165; OKLCH L 53.5% C 0.130 H 148.7°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#288140
RGBrgb(40, 129, 64)
HSLhsl(136, 53%, 33%)
HSVhsv(136, 69%, 51%)
CMYKcmyk(69%, 0%, 50.4%, 49.4%)
CIE-LABlab(47.65, -41.10, 27.65)
CIE-LCHlch(47.65, 49.53, 146.07°)
OKLaboklab(53.48% -0.1108 0.0672)
OKLCHoklch(53.48% 0.13 148.7)
XYZxyz(9.6500, 16.5208, 7.5298)
Luminance0.1652 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#288140 #812869
analogous
#3C8128 #288140 #28816C
triadic
#288140 #402881 #814028
tetradic
#288140 #283C81 #812869 #816C28
square
#288140 #283C81 #812869 #816C28
split-complementary
#288140 #6C2881 #81283C
monochromatic
#0B2412 #1A5229 #288140 #36B057 #58CB77

Accessibility & contrast

On white

4.88
#288140 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.30
#288140 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #288140
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##288140#FFFFFF#000000##FFFFFF
##2881401.004.884.304.88
#FFFFFF4.881.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#82763B
Deuteranopia (green-blind)
#776E45
Tritanopia (blue-blind)
#027E72
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #288140;
/* rgb */ color: rgb(40, 129, 64);
/* oklch */ color: oklch(53.5% 0.130 148.7);
Tailwind
colors: {
  custom: {
    50: '#6ea676',
    500: '#288140',
    950: '#000000',
  },
}
SCSS
$custom: #288140;
$custom-light: #6ea676;
$custom-dark: #000000;
JSON
{
  "hex": "#288140",
  "rgb": {
    "r": 40,
    "g": 129,
    "b": 64
  },
  "hsl": {
    "h": 136.18,
    "s": 52.663,
    "l": 33.137
  },
  "oklch": {
    "l": 0.53484,
    "c": 0.12961,
    "h": 148.7
  },
  "luminance": 0.16522
}

Semantic roles & 50–950 ramp

primary
#288140
secondary
#B05498
accent
#4CB5DC
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#080F08
muted
#7B7F7B

Preview Lab

Preview with #288140

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

Preview Lab → · Contrast checker → · Palette generator →

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