#288C2A#288C2A

#288C2A is a mid, vivid green. Relative luminance 0.194; OKLCH L 56.3% C 0.163 H 143.3°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#288C2A
RGBrgb(40, 140, 42)
HSLhsl(121, 56%, 35%)
HSVhsv(121, 71%, 55%)
CMYKcmyk(71.4%, 0%, 70%, 45.1%)
CIE-LABlab(51.12, -48.11, 42.39)
CIE-LCHlch(51.12, 64.13, 138.61°)
OKLaboklab(56.28% -0.1305 0.0974)
OKLCHoklch(56.28% 0.163 143.3)
XYZxyz(10.6704, 19.3733, 5.3671)
Luminance0.1937 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#288C2A #8C288A
analogous
#588C28 #288C2A #288C5C
triadic
#288C2A #2A288C #8C2A28
tetradic
#288C2A #28588C #8C288A #8C5C28
square
#288C2A #28588C #8C288A #8C5C28
split-complementary
#288C2A #5C288C #8C2858
monochromatic
#0D2D0D #1A5C1C #288C2A #36BC38 #5ED160

Accessibility & contrast

On white

4.31
#288C2A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.87
#288C2A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #288C2A
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##288C2A#FFFFFF#000000##000000
##288C2A1.004.314.874.87
#FFFFFF4.311.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7F1C
Deuteranopia (green-blind)
#837733
Tritanopia (blue-blind)
#088878
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #288c2a;
/* rgb */ color: rgb(40, 140, 42);
/* oklch */ color: oklch(56.3% 0.163 143.3);
Tailwind
colors: {
  custom: {
    50: '#71af69',
    500: '#288c2a',
    950: '#000000',
  },
}
SCSS
$custom: #288c2a;
$custom-light: #71af69;
$custom-dark: #000000;
JSON
{
  "hex": "#288c2a",
  "rgb": {
    "r": 40,
    "g": 140,
    "b": 42
  },
  "hsl": {
    "h": 121.2,
    "s": 55.556,
    "l": 35.294
  },
  "oklch": {
    "l": 0.56275,
    "c": 0.16283,
    "h": 143.3
  },
  "luminance": 0.19374
}

Semantic roles & 50–950 ramp

primary
#288C2A
secondary
#B65AB4
accent
#49DCDF
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #288C2A

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

Preview Lab → · Contrast checker → · Palette generator →

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