#288E1B#288E1B

#288E1B is a mid, vivid green. Relative luminance 0.199; OKLCH L 56.7% C 0.174 H 141.6°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#288E1B
RGBrgb(40, 142, 27)
HSLhsl(113, 68%, 33%)
HSVhsv(113, 81%, 56%)
CMYKcmyk(71.8%, 0%, 81%, 44.3%)
CIE-LABlab(51.70, -50.02, 48.57)
CIE-LCHlch(51.70, 69.73, 135.84°)
OKLaboklab(56.72% -0.1365 0.1082)
OKLCHoklch(56.72% 0.174 141.6)
XYZxyz(10.7453, 19.8751, 4.3067)
Luminance0.1988 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#288E1B #811B8E
analogous
#618E1B #288E1B #1B8E47
triadic
#288E1B #1B288E #8E1B28
tetradic
#288E1B #1B618E #811B8E #8E471B
square
#288E1B #1B618E #811B8E #8E471B
split-complementary
#288E1B #471B8E #8E1B61
monochromatic
#0B2707 #1A5B11 #288E1B #36C125 #58DC47

Accessibility & contrast

On white

4.22
#288E1B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#288E1B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #288E1B
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##288E1B#FFFFFF#000000##000000
##288E1B1.004.224.984.98
#FFFFFF4.221.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#928000
Deuteranopia (green-blind)
#867829
Tritanopia (blue-blind)
#0D8979
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #288e1b;
/* rgb */ color: rgb(40, 142, 27);
/* oklch */ color: oklch(56.7% 0.174 141.6);
Tailwind
colors: {
  custom: {
    50: '#73b062',
    500: '#288e1b',
    950: '#000000',
  },
}
SCSS
$custom: #288e1b;
$custom-light: #73b062;
$custom-dark: #000000;
JSON
{
  "hex": "#288e1b",
  "rgb": {
    "r": 40,
    "g": 142,
    "b": 27
  },
  "hsl": {
    "h": 113.217,
    "s": 68.047,
    "l": 33.137
  },
  "oklch": {
    "l": 0.56719,
    "c": 0.17416,
    "h": 141.6
  },
  "luminance": 0.19876
}

Semantic roles & 50–950 ramp

primary
#288E1B
secondary
#B047BE
accent
#3DEBD7
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#091105
muted
#7B807A

Preview Lab

Preview with #288E1B

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

Preview Lab → · Contrast checker → · Palette generator →

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