#288B2D#288B2D

#288B2D is a mid, vivid green. Relative luminance 0.191; OKLCH L 56.0% C 0.159 H 143.8°. Best body text is #000000 at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#288B2D
RGBrgb(40, 139, 45)
HSLhsl(123, 55%, 35%)
HSVhsv(123, 71%, 55%)
CMYKcmyk(71.2%, 0%, 67.6%, 45.5%)
CIE-LABlab(50.81, -47.45, 40.76)
CIE-LCHlch(50.81, 62.55, 139.34°)
OKLaboklab(56.03% -0.1286 0.0943)
OKLCHoklch(56.03% 0.159 143.8)
XYZxyz(10.5807, 19.1047, 5.6121)
Luminance0.1911 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#288B2D #8B2886
analogous
#558B28 #288B2D #288B5E
triadic
#288B2D #2D288B #8B2D28
tetradic
#288B2D #28558B #8B2886 #8B5E28
square
#288B2D #28558B #8B2886 #8B5E28
split-complementary
#288B2D #5E288B #8B2855
monochromatic
#0D2C0E #1A5B1E #288B2D #36BB3C #5DD063

Accessibility & contrast

On white

4.36
#288B2D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.82
#288B2D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #288B2D
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##288B2D#FFFFFF#000000##000000
##288B2D1.004.364.824.82
#FFFFFF4.361.0021.0021.00
#0000004.8221.001.001.00
##0000004.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7E21
Deuteranopia (green-blind)
#827636
Tritanopia (blue-blind)
#078778
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #288b2d;
/* rgb */ color: rgb(40, 139, 45);
/* oklch */ color: oklch(56.0% 0.159 143.8);
Tailwind
colors: {
  custom: {
    50: '#71ae6a',
    500: '#288b2d',
    950: '#000000',
  },
}
SCSS
$custom: #288b2d;
$custom-light: #71ae6a;
$custom-dark: #000000;
JSON
{
  "hex": "#288b2d",
  "rgb": {
    "r": 40,
    "g": 139,
    "b": 45
  },
  "hsl": {
    "h": 123.03,
    "s": 55.307,
    "l": 35.098
  },
  "oklch": {
    "l": 0.56025,
    "c": 0.15942,
    "h": 143.8
  },
  "luminance": 0.19106
}

Semantic roles & 50–950 ramp

primary
#288B2D
secondary
#B659B1
accent
#49D7DF
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091007
muted
#7B7F7A

Preview Lab

Preview with #288B2D

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

Preview Lab → · Contrast checker → · Palette generator →

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