#288A1B#288A1B

#288A1B is a mid, vivid green. Relative luminance 0.187; OKLCH L 55.6% C 0.170 H 141.5°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#288A1B
RGBrgb(40, 138, 27)
HSLhsl(113, 67%, 32%)
HSVhsv(113, 80%, 54%)
CMYKcmyk(71%, 0%, 80.4%, 45.9%)
CIE-LABlab(50.34, -48.65, 47.28)
CIE-LCHlch(50.34, 67.84, 135.82°)
OKLaboklab(55.6% -0.1328 0.1055)
OKLCHoklch(55.6% 0.17 141.5)
XYZxyz(10.1608, 18.7061, 4.1119)
Luminance0.1871 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#288A1B #7D1B8A
analogous
#608A1B #288A1B #1B8A46
triadic
#288A1B #1B288A #8A1B28
tetradic
#288A1B #1B608A #7D1B8A #8A461B
square
#288A1B #1B608A #7D1B8A #8A461B
split-complementary
#288A1B #461B8A #8A1B60
monochromatic
#0A2407 #195711 #288A1B #37BD25 #56DB45

Accessibility & contrast

On white

4.43
#288A1B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#288A1B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #288A1B
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##288A1B#FFFFFF#000000##000000
##288A1B1.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7D00
Deuteranopia (green-blind)
#827528
Tritanopia (blue-blind)
#108675
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #288a1b;
/* rgb */ color: rgb(40, 138, 27);
/* oklch */ color: oklch(55.6% 0.170 141.5);
Tailwind
colors: {
  custom: {
    50: '#72ad61',
    500: '#288a1b',
    950: '#000000',
  },
}
SCSS
$custom: #288a1b;
$custom-light: #72ad61;
$custom-dark: #000000;
JSON
{
  "hex": "#288a1b",
  "rgb": {
    "r": 40,
    "g": 138,
    "b": 27
  },
  "hsl": {
    "h": 112.973,
    "s": 67.273,
    "l": 32.353
  },
  "oklch": {
    "l": 0.55596,
    "c": 0.16959,
    "h": 141.5
  },
  "luminance": 0.18707
}

Semantic roles & 50–950 ramp

primary
#288A1B
secondary
#AE45BC
accent
#3EEAD6
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091005
muted
#7B7F7A

Preview Lab

Preview with #288A1B

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

Preview Lab → · Contrast checker → · Palette generator →

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