#288417#288417

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

Color values

HEX#288417
RGBrgb(40, 132, 23)
HSLhsl(111, 70%, 30%)
HSVhsv(111, 83%, 52%)
CMYKcmyk(69.7%, 0%, 82.6%, 48.2%)
CIE-LABlab(48.28, -46.82, 46.60)
CIE-LCHlch(48.28, 66.06, 135.14°)
OKLaboklab(53.88% -0.128 0.1035)
OKLCHoklch(53.88% 0.165 141)
XYZxyz(9.2805, 17.0145, 3.6055)
Luminance0.1702 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#288417 #731784
analogous
#5E8417 #288417 #17843C
triadic
#288417 #172884 #841728
tetradic
#288417 #175E84 #731784 #843C17
square
#288417 #175E84 #731784 #843C17
split-complementary
#288417 #3C1784 #84175E
monochromatic
#081C05 #18500E #288417 #38B820 #52DC39

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##288417#FFFFFF#000000##FFFFFF
##2884171.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)
#7D7024
Tritanopia (blue-blind)
#158070
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #288417;
/* rgb */ color: rgb(40, 132, 23);
/* oklch */ color: oklch(53.9% 0.165 141.0);
Tailwind
colors: {
  custom: {
    50: '#71a95e',
    500: '#288417',
    950: '#000000',
  },
}
SCSS
$custom: #288417;
$custom-light: #71a95e;
$custom-dark: #000000;
JSON
{
  "hex": "#288417",
  "rgb": {
    "r": 40,
    "g": 132,
    "b": 23
  },
  "hsl": {
    "h": 110.642,
    "s": 70.323,
    "l": 30.392
  },
  "oklch": {
    "l": 0.53877,
    "c": 0.16463,
    "h": 141
  },
  "luminance": 0.17016
}

Semantic roles & 50–950 ramp

primary
#288417
secondary
#A53FB8
accent
#3BEDD1
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#091005
muted
#7B7F79

Preview Lab

Preview with #288417

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

Preview Lab → · Contrast checker → · Palette generator →

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