#288B1E#288B1E

#288B1E is a mid, vivid green. Relative luminance 0.190; OKLCH L 55.9% C 0.169 H 141.8°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#288B1E
RGBrgb(40, 139, 30)
HSLhsl(114, 64%, 33%)
HSVhsv(114, 78%, 55%)
CMYKcmyk(71.2%, 0%, 78.4%, 45.5%)
CIE-LABlab(50.70, -48.79, 46.61)
CIE-LCHlch(50.70, 67.48, 136.31°)
OKLaboklab(55.9% -0.133 0.1046)
OKLCHoklch(55.9% 0.169 141.8)
XYZxyz(10.3415, 19.0090, 4.3521)
Luminance0.1901 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#288B1E #811E8B
analogous
#5F8B1E #288B1E #1E8B4A
triadic
#288B1E #1E288B #8B1E28
tetradic
#288B1E #1E5F8B #811E8B #8B4A1E
square
#288B1E #1E5F8B #811E8B #8B4A1E
split-complementary
#288B1E #4A1E8B #8B1E5F
monochromatic
#0B2608 #1A5913 #288B1E #36BD29 #58D84B

Accessibility & contrast

On white

4.37
#288B1E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.80
#288B1E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #288B1E
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##288B1E#FFFFFF#000000##000000
##288B1E1.004.374.804.80
#FFFFFF4.371.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7D04
Deuteranopia (green-blind)
#83762A
Tritanopia (blue-blind)
#0E8776
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #288b1e;
/* rgb */ color: rgb(40, 139, 30);
/* oklch */ color: oklch(55.9% 0.169 141.8);
Tailwind
colors: {
  custom: {
    50: '#72ae62',
    500: '#288b1e',
    950: '#000000',
  },
}
SCSS
$custom: #288b1e;
$custom-light: #72ae62;
$custom-dark: #000000;
JSON
{
  "hex": "#288b1e",
  "rgb": {
    "r": 40,
    "g": 139,
    "b": 30
  },
  "hsl": {
    "h": 114.495,
    "s": 64.497,
    "l": 33.137
  },
  "oklch": {
    "l": 0.55897,
    "c": 0.16916,
    "h": 141.8
  },
  "luminance": 0.1901
}

Semantic roles & 50–950 ramp

primary
#288B1E
secondary
#B04ABB
accent
#40E7D8
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #288B1E

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

Preview Lab → · Contrast checker → · Palette generator →

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