#288F1E#288F1E

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

Color values

HEX#288F1E
RGBrgb(40, 143, 30)
HSLhsl(115, 65%, 34%)
HSVhsv(115, 79%, 56%)
CMYKcmyk(72%, 0%, 79%, 43.9%)
CIE-LABlab(52.05, -50.16, 47.93)
CIE-LCHlch(52.05, 69.38, 136.30°)
OKLaboklab(57.02% -0.1367 0.1073)
OKLCHoklch(57.02% 0.174 141.9)
XYZxyz(10.9313, 20.1886, 4.5487)
Luminance0.2019 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#288F1E #851E8F
analogous
#618F1E #288F1E #1E8F4D
triadic
#288F1E #1E288F #8F1E28
tetradic
#288F1E #1E618F #851E8F #8F4D1E
square
#288F1E #1E618F #851E8F #8F4D1E
split-complementary
#288F1E #4D1E8F #8F1E61
monochromatic
#0C2A09 #1A5C13 #288F1E #36C229 #5ADA4E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##288F1E#FFFFFF#000000##000000
##288F1E1.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)
#938101
Deuteranopia (green-blind)
#87792B
Tritanopia (blue-blind)
#0B8A7A
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #288f1e;
/* rgb */ color: rgb(40, 143, 30);
/* oklch */ color: oklch(57.0% 0.174 141.9);
Tailwind
colors: {
  custom: {
    50: '#73b163',
    500: '#288f1e',
    950: '#000000',
  },
}
SCSS
$custom: #288f1e;
$custom-light: #73b163;
$custom-dark: #000000;
JSON
{
  "hex": "#288f1e",
  "rgb": {
    "r": 40,
    "g": 143,
    "b": 30
  },
  "hsl": {
    "h": 114.69,
    "s": 65.318,
    "l": 33.922
  },
  "oklch": {
    "l": 0.57019,
    "c": 0.17378,
    "h": 141.9
  },
  "luminance": 0.2019
}

Semantic roles & 50–950 ramp

primary
#288F1E
secondary
#B34CBC
accent
#40E8D9
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#091106
muted
#7B807A

Preview Lab

Preview with #288F1E

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

Preview Lab → · Contrast checker → · Palette generator →

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