#288B4F#288B4F

#288B4F is a mid, vivid green. Relative luminance 0.195; OKLCH L 56.5% C 0.129 H 152.5°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#288B4F
RGBrgb(40, 139, 79)
HSLhsl(144, 55%, 35%)
HSVhsv(144, 71%, 55%)
CMYKcmyk(71.2%, 0%, 43.2%, 45.5%)
CIE-LABlab(51.24, -42.41, 24.08)
CIE-LCHlch(51.24, 48.77, 150.41°)
OKLaboklab(56.53% -0.1144 0.0596)
OKLCHoklch(56.53% 0.129 152.5)
XYZxyz(11.5180, 19.4796, 10.5485)
Luminance0.1948 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#288B4F #8B2864
analogous
#338B28 #288B4F #288B80
triadic
#288B4F #4F288B #8B4F28
tetradic
#288B4F #28338B #8B2864 #8B8028
square
#288B4F #28338B #8B2864 #8B8028
split-complementary
#288B4F #80288B #8B2833
monochromatic
#0D2C19 #1A5B34 #288B4F #36BB6A #5DD08A

Accessibility & contrast

On white

4.29
#288B4F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.90
#288B4F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #288B4F
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##288B4F#FFFFFF#000000##000000
##288B4F1.004.294.904.90
#FFFFFF4.291.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7F4B
Deuteranopia (green-blind)
#7F7753
Tritanopia (blue-blind)
#00897C
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #288b4f;
/* rgb */ color: rgb(40, 139, 79);
/* oklch */ color: oklch(56.5% 0.129 152.5);
Tailwind
colors: {
  custom: {
    50: '#70ae81',
    500: '#288b4f',
    950: '#000000',
  },
}
SCSS
$custom: #288b4f;
$custom-light: #70ae81;
$custom-dark: #000000;
JSON
{
  "hex": "#288b4f",
  "rgb": {
    "r": 40,
    "g": 139,
    "b": 79
  },
  "hsl": {
    "h": 143.636,
    "s": 55.307,
    "l": 35.098
  },
  "oklch": {
    "l": 0.56525,
    "c": 0.12897,
    "h": 152.5
  },
  "luminance": 0.19481
}

Semantic roles & 50–950 ramp

primary
#288B4F
secondary
#B65991
accent
#49A4DF
background
#F7FAF7
surface
#EDF4EE
border
#C8CEC9
text
#08100A
muted
#7B7F7C

Preview Lab

Preview with #288B4F

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

Preview Lab → · Contrast checker → · Palette generator →

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