#288015#288015

#288015 is a mid, vivid green. Relative luminance 0.159; OKLCH L 52.7% C 0.161 H 140.8°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#288015
RGBrgb(40, 128, 21)
HSLhsl(109, 72%, 29%)
HSVhsv(109, 84%, 50%)
CMYKcmyk(68.8%, 0%, 83.6%, 49.8%)
CIE-LABlab(46.90, -45.53, 45.92)
CIE-LCHlch(46.90, 64.67, 134.75°)
OKLaboklab(52.73% -0.1246 0.1018)
OKLCHoklch(52.73% 0.161 140.8)
XYZxyz(8.7292, 15.9427, 3.3265)
Luminance0.1594 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#288015 #6D1580
analogous
#5E8015 #288015 #158038
triadic
#288015 #152880 #801528
tetradic
#288015 #155E80 #6D1580 #803815
square
#288015 #155E80 #6D1580 #803815
split-complementary
#288015 #381580 #80155E
monochromatic
#081A04 #184B0C #288015 #38B51E #50DD32

Accessibility & contrast

On white

5.01
#288015 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#288015 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #288015
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##288015#FFFFFF#000000##FFFFFF
##2880151.005.014.195.01
#FFFFFF5.011.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#847300
Deuteranopia (green-blind)
#796D22
Tritanopia (blue-blind)
#177C6D
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #288015;
/* rgb */ color: rgb(40, 128, 21);
/* oklch */ color: oklch(52.7% 0.161 140.8);
Tailwind
colors: {
  custom: {
    50: '#70a65d',
    500: '#288015',
    950: '#000000',
  },
}
SCSS
$custom: #288015;
$custom-light: #70a65d;
$custom-dark: #000000;
JSON
{
  "hex": "#288015",
  "rgb": {
    "r": 40,
    "g": 128,
    "b": 21
  },
  "hsl": {
    "h": 109.346,
    "s": 71.812,
    "l": 29.216
  },
  "oklch": {
    "l": 0.5273,
    "c": 0.16092,
    "h": 140.8
  },
  "luminance": 0.15944
}

Semantic roles & 50–950 ramp

primary
#288015
secondary
#9F3CB5
accent
#39EFCE
background
#F7FAF5
surface
#EDF4E9
border
#C8CEC5
text
#080F05
muted
#7B7F79

Preview Lab

Preview with #288015

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

Preview Lab → · Contrast checker → · Palette generator →

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