#288F1D#288F1D

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

Color values

HEX#288F1D
RGBrgb(40, 143, 29)
HSLhsl(114, 66%, 34%)
HSVhsv(114, 80%, 56%)
CMYKcmyk(72%, 0%, 79.7%, 43.9%)
CIE-LABlab(52.04, -50.23, 48.26)
CIE-LCHlch(52.04, 69.66, 136.15°)
OKLaboklab(57.01% -0.1369 0.1078)
OKLCHoklch(57.01% 0.174 141.8)
XYZxyz(10.9187, 20.1836, 4.4825)
Luminance0.2019 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#288F1D #841D8F
analogous
#618F1D #288F1D #1D8F4B
triadic
#288F1D #1D288F #8F1D28
tetradic
#288F1D #1D618F #841D8F #8F4B1D
square
#288F1D #1D618F #841D8F #8F4B1D
split-complementary
#288F1D #4B1D8F #8F1D61
monochromatic
#0C2908 #1A5C13 #288F1D #36C227 #5ADB4C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##288F1D#FFFFFF#000000##000000
##288F1D1.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: #288f1d;
/* rgb */ color: rgb(40, 143, 29);
/* oklch */ color: oklch(57.0% 0.174 141.8);
Tailwind
colors: {
  custom: {
    50: '#73b163',
    500: '#288f1d',
    950: '#000000',
  },
}
SCSS
$custom: #288f1d;
$custom-light: #73b163;
$custom-dark: #000000;
JSON
{
  "hex": "#288f1d",
  "rgb": {
    "r": 40,
    "g": 143,
    "b": 29
  },
  "hsl": {
    "h": 114.211,
    "s": 66.279,
    "l": 33.725
  },
  "oklch": {
    "l": 0.57012,
    "c": 0.1743,
    "h": 141.8
  },
  "luminance": 0.20185
}

Semantic roles & 50–950 ramp

primary
#288F1D
secondary
#B24BBD
accent
#3FE9D9
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#091106
muted
#7B807A

Preview Lab

Preview with #288F1D

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

Preview Lab → · Contrast checker → · Palette generator →

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