#288F1B#288F1B

#288F1B is a mid, vivid green. Relative luminance 0.202; OKLCH L 57.0% C 0.175 H 141.6°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#288F1B
RGBrgb(40, 143, 27)
HSLhsl(113, 68%, 33%)
HSVhsv(113, 81%, 56%)
CMYKcmyk(72%, 0%, 81.1%, 43.9%)
CIE-LABlab(52.03, -50.36, 48.89)
CIE-LCHlch(52.03, 70.19, 135.85°)
OKLaboklab(57% -0.1374 0.1089)
OKLCHoklch(57% 0.175 141.6)
XYZxyz(10.8948, 20.1740, 4.3565)
Luminance0.2018 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#288F1B #821B8F
analogous
#628F1B #288F1B #1B8F48
triadic
#288F1B #1B288F #8F1B28
tetradic
#288F1B #1B628F #821B8F #8F481B
square
#288F1B #1B628F #821B8F #8F481B
split-complementary
#288F1B #481B8F #8F1B62
monochromatic
#0B2808 #1A5C11 #288F1B #36C225 #59DC48

Accessibility & contrast

On white

4.17
#288F1B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#288F1B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #288F1B
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##288F1B#FFFFFF#000000##000000
##288F1B1.004.175.045.04
#FFFFFF4.171.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#938100
Deuteranopia (green-blind)
#877929
Tritanopia (blue-blind)
#0C8A7A
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #288f1b;
/* rgb */ color: rgb(40, 143, 27);
/* oklch */ color: oklch(57.0% 0.175 141.6);
Tailwind
colors: {
  custom: {
    50: '#73b162',
    500: '#288f1b',
    950: '#000000',
  },
}
SCSS
$custom: #288f1b;
$custom-light: #73b162;
$custom-dark: #000000;
JSON
{
  "hex": "#288f1b",
  "rgb": {
    "r": 40,
    "g": 143,
    "b": 27
  },
  "hsl": {
    "h": 113.276,
    "s": 68.235,
    "l": 33.333
  },
  "oklch": {
    "l": 0.57,
    "c": 0.17529,
    "h": 141.6
  },
  "luminance": 0.20175
}

Semantic roles & 50–950 ramp

primary
#288F1B
secondary
#B148BE
accent
#3DEBD8
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#091105
muted
#7B807A

Preview Lab

Preview with #288F1B

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

Preview Lab → · Contrast checker → · Palette generator →

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