#288B2A#288B2A

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

Color values

HEX#288B2A
RGBrgb(40, 139, 42)
HSLhsl(121, 55%, 35%)
HSVhsv(121, 71%, 55%)
CMYKcmyk(71.2%, 0%, 69.8%, 45.5%)
CIE-LABlab(50.78, -47.76, 42.03)
CIE-LCHlch(50.78, 63.62, 138.65°)
OKLaboklab(56% -0.1296 0.0966)
OKLCHoklch(56% 0.162 143.3)
XYZxyz(10.5250, 19.0824, 5.3186)
Luminance0.1908 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#288B2A #8B2889
analogous
#588B28 #288B2A #288B5B
triadic
#288B2A #2A288B #8B2A28
tetradic
#288B2A #28588B #8B2889 #8B5B28
square
#288B2A #28588B #8B2889 #8B5B28
split-complementary
#288B2A #5B288B #8B2858
monochromatic
#0D2C0D #1A5B1C #288B2A #36BB38 #5DD05F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##288B2A#FFFFFF#000000##000000
##288B2A1.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)
#8E7E1C
Deuteranopia (green-blind)
#827633
Tritanopia (blue-blind)
#098777
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #288b2a;
/* rgb */ color: rgb(40, 139, 42);
/* oklch */ color: oklch(56.0% 0.162 143.3);
Tailwind
colors: {
  custom: {
    50: '#71ae69',
    500: '#288b2a',
    950: '#000000',
  },
}
SCSS
$custom: #288b2a;
$custom-light: #71ae69;
$custom-dark: #000000;
JSON
{
  "hex": "#288b2a",
  "rgb": {
    "r": 40,
    "g": 139,
    "b": 42
  },
  "hsl": {
    "h": 121.212,
    "s": 55.307,
    "l": 35.098
  },
  "oklch": {
    "l": 0.55995,
    "c": 0.1616,
    "h": 143.3
  },
  "luminance": 0.19084
}

Semantic roles & 50–950 ramp

primary
#288B2A
secondary
#B659B4
accent
#49DCDF
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #288B2A

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

Preview Lab → · Contrast checker → · Palette generator →

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