#288916#288916

#288916 is a mid, vivid green. Relative luminance 0.184; OKLCH L 55.3% C 0.171 H 141.1°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#288916
RGBrgb(40, 137, 22)
HSLhsl(111, 72%, 31%)
HSVhsv(111, 84%, 54%)
CMYKcmyk(70.8%, 0%, 83.9%, 46.3%)
CIE-LABlab(49.98, -48.62, 48.48)
CIE-LCHlch(49.98, 68.66, 135.08°)
OKLaboklab(55.29% -0.1329 0.1073)
OKLCHoklch(55.29% 0.171 141.1)
XYZxyz(9.9650, 18.3993, 3.7852)
Luminance0.1840 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#288916 #771689
analogous
#618916 #288916 #16893D
triadic
#288916 #162889 #891628
tetradic
#288916 #166189 #771689 #893D16
square
#288916 #166189 #771689 #893D16
split-complementary
#288916 #3D1689 #891661
monochromatic
#092005 #19540E #288916 #37BE1E #54DF3A

Accessibility & contrast

On white

4.49
#288916 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.68
#288916 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #288916
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##288916#FFFFFF#000000##000000
##2889161.004.494.684.68
#FFFFFF4.491.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7C00
Deuteranopia (green-blind)
#817425
Tritanopia (blue-blind)
#128474
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #288916;
/* rgb */ color: rgb(40, 137, 22);
/* oklch */ color: oklch(55.3% 0.171 141.1);
Tailwind
colors: {
  custom: {
    50: '#72ac5f',
    500: '#288916',
    950: '#000000',
  },
}
SCSS
$custom: #288916;
$custom-light: #72ac5f;
$custom-dark: #000000;
JSON
{
  "hex": "#288916",
  "rgb": {
    "r": 40,
    "g": 137,
    "b": 22
  },
  "hsl": {
    "h": 110.609,
    "s": 72.327,
    "l": 31.176
  },
  "oklch": {
    "l": 0.55285,
    "c": 0.1708,
    "h": 141.1
  },
  "luminance": 0.184
}

Semantic roles & 50–950 ramp

primary
#288916
secondary
#A93EBD
accent
#39EFD3
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#091005
muted
#7B7F79

Preview Lab

Preview with #288916

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

Preview Lab → · Contrast checker → · Palette generator →

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