#288B28#288B28

#288B28 is a mid, vivid green. Relative luminance 0.191; OKLCH L 56.0% C 0.163 H 143.0°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#288B28
RGBrgb(40, 139, 40)
HSLhsl(120, 55%, 35%)
HSVhsv(120, 71%, 55%)
CMYKcmyk(71.2%, 0%, 71.2%, 45.5%)
CIE-LABlab(50.77, -47.95, 42.86)
CIE-LCHlch(50.77, 64.31, 138.21°)
OKLaboklab(55.98% -0.1302 0.0981)
OKLCHoklch(55.98% 0.163 143)
XYZxyz(10.4901, 19.0684, 5.1348)
Luminance0.1907 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#288B28 #8B288B
analogous
#598B28 #288B28 #288B59
triadic
#288B28 #28288B #8B2828
tetradic
#288B28 #28598B #8B288B #8B5928
square
#288B28 #28598B #8B288B #8B5928
split-complementary
#288B28 #59288B #8B2859
monochromatic
#0D2C0D #1A5B1A #288B28 #36BB36 #5DD05D

Accessibility & contrast

On white

4.36
#288B28 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.81
#288B28 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #288B28
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##288B28#FFFFFF#000000##000000
##288B281.004.364.814.81
#FFFFFF4.361.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7E19
Deuteranopia (green-blind)
#837632
Tritanopia (blue-blind)
#0A8777
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #288b28;
/* rgb */ color: rgb(40, 139, 40);
/* oklch */ color: oklch(56.0% 0.163 143.0);
Tailwind
colors: {
  custom: {
    50: '#71ae68',
    500: '#288b28',
    950: '#000000',
  },
}
SCSS
$custom: #288b28;
$custom-light: #71ae68;
$custom-dark: #000000;
JSON
{
  "hex": "#288b28",
  "rgb": {
    "r": 40,
    "g": 139,
    "b": 40
  },
  "hsl": {
    "h": 120,
    "s": 55.307,
    "l": 35.098
  },
  "oklch": {
    "l": 0.55976,
    "c": 0.16299,
    "h": 143
  },
  "luminance": 0.1907
}

Semantic roles & 50–950 ramp

primary
#288B28
secondary
#B659B6
accent
#49DFDF
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #288B28

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

Preview Lab → · Contrast checker → · Palette generator →

#288B28 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva