#288716#288716

#288716 is a mid, vivid green. Relative luminance 0.178; OKLCH L 54.7% C 0.169 H 141.0°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#288716
RGBrgb(40, 135, 22)
HSLhsl(110, 72%, 31%)
HSVhsv(110, 84%, 53%)
CMYKcmyk(70.4%, 0%, 83.7%, 47.1%)
CIE-LABlab(49.30, -47.93, 47.85)
CIE-LCHlch(49.30, 67.72, 135.04°)
OKLaboklab(54.72% -0.131 0.106)
OKLCHoklch(54.72% 0.169 141)
XYZxyz(9.6834, 17.8360, 3.6913)
Luminance0.1784 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#288716 #751687
analogous
#618716 #288716 #16873C
triadic
#288716 #162887 #871628
tetradic
#288716 #166187 #751687 #873C16
square
#288716 #166187 #751687 #873C16
split-complementary
#288716 #3C1687 #871661
monochromatic
#091E05 #18520D #288716 #38BC1F #53DF39

Accessibility & contrast

On white

4.60
#288716 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.57
#288716 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #288716
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##288716#FFFFFF#000000##FFFFFF
##2887161.004.604.574.60
#FFFFFF4.601.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#8B7A00
Deuteranopia (green-blind)
#807224
Tritanopia (blue-blind)
#138273
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #288716;
/* rgb */ color: rgb(40, 135, 22);
/* oklch */ color: oklch(54.7% 0.169 141.0);
Tailwind
colors: {
  custom: {
    50: '#71ab5e',
    500: '#288716',
    950: '#000000',
  },
}
SCSS
$custom: #288716;
$custom-light: #71ab5e;
$custom-dark: #000000;
JSON
{
  "hex": "#288716",
  "rgb": {
    "r": 40,
    "g": 135,
    "b": 22
  },
  "hsl": {
    "h": 110.442,
    "s": 71.975,
    "l": 30.784
  },
  "oklch": {
    "l": 0.5472,
    "c": 0.16853,
    "h": 141
  },
  "luminance": 0.17837
}

Semantic roles & 50–950 ramp

primary
#288716
secondary
#A73EBB
accent
#39EFD2
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#091005
muted
#7B7F79

Preview Lab

Preview with #288716

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

Preview Lab → · Contrast checker → · Palette generator →

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