#288F2A#288F2A

#288F2A is a mid, vivid green. Relative luminance 0.203; OKLCH L 57.1% C 0.166 H 143.2°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#288F2A
RGBrgb(40, 143, 42)
HSLhsl(121, 56%, 36%)
HSVhsv(121, 72%, 56%)
CMYKcmyk(72%, 0%, 70.6%, 43.9%)
CIE-LABlab(52.13, -49.17, 43.47)
CIE-LCHlch(52.13, 65.63, 138.52°)
OKLaboklab(57.11% -0.1334 0.0996)
OKLCHoklch(57.11% 0.166 143.2)
XYZxyz(11.1148, 20.2620, 5.5152)
Luminance0.2026 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#288F2A #8F288D
analogous
#598F28 #288F2A #288F5D
triadic
#288F2A #2A288F #8F2A28
tetradic
#288F2A #28598F #8F288D #8F5D28
square
#288F2A #28598F #8F288D #8F5D28
split-complementary
#288F2A #5D288F #8F2859
monochromatic
#0D2F0E #1B5F1C #288F2A #35BF38 #5FD261

Accessibility & contrast

On white

4.16
#288F2A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.05
#288F2A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #288F2A
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##288F2A#FFFFFF#000000##000000
##288F2A1.004.165.055.05
#FFFFFF4.161.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#92811B
Deuteranopia (green-blind)
#867934
Tritanopia (blue-blind)
#058B7B
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #288f2a;
/* rgb */ color: rgb(40, 143, 42);
/* oklch */ color: oklch(57.1% 0.166 143.2);
Tailwind
colors: {
  custom: {
    50: '#72b169',
    500: '#288f2a',
    950: '#000000',
  },
}
SCSS
$custom: #288f2a;
$custom-light: #72b169;
$custom-dark: #000000;
JSON
{
  "hex": "#288f2a",
  "rgb": {
    "r": 40,
    "g": 143,
    "b": 42
  },
  "hsl": {
    "h": 121.165,
    "s": 56.284,
    "l": 35.882
  },
  "oklch": {
    "l": 0.57113,
    "c": 0.16647,
    "h": 143.2
  },
  "luminance": 0.20263
}

Semantic roles & 50–950 ramp

primary
#288F2A
secondary
#B85BB6
accent
#48DDE0
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#091107
muted
#7B807A

Preview Lab

Preview with #288F2A

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

Preview Lab → · Contrast checker → · Palette generator →

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