#288517#288517

#288517 is a mid, vivid green. Relative luminance 0.173; OKLCH L 54.2% C 0.166 H 141.1°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#288517
RGBrgb(40, 133, 23)
HSLhsl(111, 71%, 31%)
HSVhsv(111, 83%, 52%)
CMYKcmyk(69.9%, 0%, 82.7%, 47.8%)
CIE-LABlab(48.62, -47.17, 46.92)
CIE-LCHlch(48.62, 66.53, 135.15°)
OKLaboklab(54.16% -0.129 0.1042)
OKLCHoklch(54.16% 0.166 141.1)
XYZxyz(9.4168, 17.2870, 3.6509)
Luminance0.1729 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#288517 #741785
analogous
#5F8517 #288517 #17853D
triadic
#288517 #172885 #851728
tetradic
#288517 #175F85 #741785 #853D17
square
#288517 #175F85 #741785 #853D17
split-complementary
#288517 #3D1785 #85175F
monochromatic
#091D05 #18510E #288517 #38B920 #53DD3A

Accessibility & contrast

On white

4.71
#288517 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#288517 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #288517
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##288517#FFFFFF#000000##FFFFFF
##2885171.004.714.464.71
#FFFFFF4.711.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#897800
Deuteranopia (green-blind)
#7E7125
Tritanopia (blue-blind)
#148171
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #288517;
/* rgb */ color: rgb(40, 133, 23);
/* oklch */ color: oklch(54.2% 0.166 141.1);
Tailwind
colors: {
  custom: {
    50: '#71a95e',
    500: '#288517',
    950: '#000000',
  },
}
SCSS
$custom: #288517;
$custom-light: #71a95e;
$custom-dark: #000000;
JSON
{
  "hex": "#288517",
  "rgb": {
    "r": 40,
    "g": 133,
    "b": 23
  },
  "hsl": {
    "h": 110.727,
    "s": 70.513,
    "l": 30.588
  },
  "oklch": {
    "l": 0.5416,
    "c": 0.16578,
    "h": 141.1
  },
  "luminance": 0.17288
}

Semantic roles & 50–950 ramp

primary
#288517
secondary
#A63FB9
accent
#3BEDD2
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#091005
muted
#7B7F79

Preview Lab

Preview with #288517

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

Preview Lab → · Contrast checker → · Palette generator →

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