#288B2E#288B2E

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

Color values

HEX#288B2E
RGBrgb(40, 139, 46)
HSLhsl(124, 55%, 35%)
HSVhsv(124, 71%, 55%)
CMYKcmyk(71.2%, 0%, 66.9%, 45.5%)
CIE-LABlab(50.82, -47.34, 40.32)
CIE-LCHlch(50.82, 62.18, 139.57°)
OKLaboklab(56.04% -0.1282 0.0935)
OKLCHoklch(56.04% 0.159 143.9)
XYZxyz(10.6002, 19.1125, 5.7147)
Luminance0.1911 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#288B2E #8B2885
analogous
#548B28 #288B2E #288B5F
triadic
#288B2E #2E288B #8B2E28
tetradic
#288B2E #28548B #8B2885 #8B5F28
square
#288B2E #28548B #8B2885 #8B5F28
split-complementary
#288B2E #5F288B #8B2854
monochromatic
#0D2C0F #1A5B1E #288B2E #36BB3E #5DD064

Accessibility & contrast

On white

4.35
#288B2E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##288B2E#FFFFFF#000000##000000
##288B2E1.004.354.824.82
#FFFFFF4.351.0021.0021.00
#0000004.8221.001.001.00
##0000004.8221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #288b2e;
/* rgb */ color: rgb(40, 139, 46);
/* oklch */ color: oklch(56.0% 0.159 143.9);
Tailwind
colors: {
  custom: {
    50: '#71ae6b',
    500: '#288b2e',
    950: '#000000',
  },
}
SCSS
$custom: #288b2e;
$custom-light: #71ae6b;
$custom-dark: #000000;
JSON
{
  "hex": "#288b2e",
  "rgb": {
    "r": 40,
    "g": 139,
    "b": 46
  },
  "hsl": {
    "h": 123.636,
    "s": 55.307,
    "l": 35.098
  },
  "oklch": {
    "l": 0.56035,
    "c": 0.15866,
    "h": 143.9
  },
  "luminance": 0.19114
}

Semantic roles & 50–950 ramp

primary
#288B2E
secondary
#B659B0
accent
#49D6DF
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091007
muted
#7B7F7A

Preview Lab

Preview with #288B2E

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

Preview Lab → · Contrast checker → · Palette generator →

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