#288415#288415

#288415 is a mid, vivid green. Relative luminance 0.170; OKLCH L 53.9% C 0.166 H 140.9°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#288415
RGBrgb(40, 132, 21)
HSLhsl(110, 73%, 30%)
HSVhsv(110, 84%, 52%)
CMYKcmyk(69.7%, 0%, 84.1%, 48.2%)
CIE-LABlab(48.27, -46.94, 47.19)
CIE-LCHlch(48.27, 66.56, 134.85°)
OKLaboklab(53.87% -0.1284 0.1045)
OKLCHoklch(53.87% 0.166 140.9)
XYZxyz(9.2612, 17.0068, 3.5039)
Luminance0.1701 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#288415 #711584
analogous
#5F8415 #288415 #15843A
triadic
#288415 #152884 #841528
tetradic
#288415 #155F84 #711584 #843A15
square
#288415 #155F84 #711584 #843A15
split-complementary
#288415 #3A1584 #84155F
monochromatic
#081A04 #184F0D #288415 #38B91D #52DF35

Accessibility & contrast

On white

4.77
#288415 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#288415 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #288415
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##288415#FFFFFF#000000##FFFFFF
##2884151.004.774.404.77
#FFFFFF4.771.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#887700
Deuteranopia (green-blind)
#7D7023
Tritanopia (blue-blind)
#158070
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #288415;
/* rgb */ color: rgb(40, 132, 21);
/* oklch */ color: oklch(53.9% 0.166 140.9);
Tailwind
colors: {
  custom: {
    50: '#71a95d',
    500: '#288415',
    950: '#000000',
  },
}
SCSS
$custom: #288415;
$custom-light: #71a95d;
$custom-dark: #000000;
JSON
{
  "hex": "#288415",
  "rgb": {
    "r": 40,
    "g": 132,
    "b": 21
  },
  "hsl": {
    "h": 109.73,
    "s": 72.549,
    "l": 30
  },
  "oklch": {
    "l": 0.53866,
    "c": 0.16555,
    "h": 140.9
  },
  "luminance": 0.17008
}

Semantic roles & 50–950 ramp

primary
#288415
secondary
#A33CB9
accent
#39EFD0
background
#F7FAF5
surface
#EDF4E9
border
#C8CEC5
text
#091005
muted
#7B7F79

Preview Lab

Preview with #288415

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

Preview Lab → · Contrast checker → · Palette generator →

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