#288F1C#288F1C

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

Color values

HEX#288F1C
RGBrgb(40, 143, 28)
HSLhsl(114, 67%, 34%)
HSVhsv(114, 80%, 56%)
CMYKcmyk(72%, 0%, 80.4%, 43.9%)
CIE-LABlab(52.04, -50.30, 48.58)
CIE-LCHlch(52.04, 69.93, 136.00°)
OKLaboklab(57.01% -0.1372 0.1084)
OKLCHoklch(57.01% 0.175 141.7)
XYZxyz(10.9065, 20.1787, 4.4185)
Luminance0.2018 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#288F1C #831C8F
analogous
#618F1C #288F1C #1C8F49
triadic
#288F1C #1C288F #8F1C28
tetradic
#288F1C #1C618F #831C8F #8F491C
square
#288F1C #1C618F #831C8F #8F491C
split-complementary
#288F1C #491C8F #8F1C61
monochromatic
#0B2908 #1A5C12 #288F1C #36C226 #59DC4A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##288F1C#FFFFFF#000000##000000
##288F1C1.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)
#87792A
Tritanopia (blue-blind)
#0B8A7A
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #288f1c;
/* rgb */ color: rgb(40, 143, 28);
/* oklch */ color: oklch(57.0% 0.175 141.7);
Tailwind
colors: {
  custom: {
    50: '#73b162',
    500: '#288f1c',
    950: '#000000',
  },
}
SCSS
$custom: #288f1c;
$custom-light: #73b162;
$custom-dark: #000000;
JSON
{
  "hex": "#288f1c",
  "rgb": {
    "r": 40,
    "g": 143,
    "b": 28
  },
  "hsl": {
    "h": 113.739,
    "s": 67.251,
    "l": 33.529
  },
  "oklch": {
    "l": 0.57006,
    "c": 0.17481,
    "h": 141.7
  },
  "luminance": 0.2018
}

Semantic roles & 50–950 ramp

primary
#288F1C
secondary
#B149BE
accent
#3EEAD8
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#091106
muted
#7B807A

Preview Lab

Preview with #288F1C

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

Preview Lab → · Contrast checker → · Palette generator →

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