#288A2F#288A2F

#288A2F is a mid, vivid green. Relative luminance 0.188; OKLCH L 55.8% C 0.157 H 144.1°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#288A2F
RGBrgb(40, 138, 47)
HSLhsl(124, 55%, 35%)
HSVhsv(124, 71%, 54%)
CMYKcmyk(71%, 0%, 65.9%, 45.9%)
CIE-LABlab(50.49, -46.87, 39.51)
CIE-LCHlch(50.49, 61.30, 139.87°)
OKLaboklab(55.77% -0.1269 0.0918)
OKLCHoklch(55.77% 0.157 144.1)
XYZxyz(10.4760, 18.8322, 5.7717)
Luminance0.1883 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#288A2F #8A2883
analogous
#528A28 #288A2F #288A60
triadic
#288A2F #2F288A #8A2F28
tetradic
#288A2F #28528A #8A2883 #8A6028
square
#288A2F #28528A #8A2883 #8A6028
split-complementary
#288A2F #60288A #8A2852
monochromatic
#0C2B0F #1A5B1F #288A2F #36B93F #5DD065

Accessibility & contrast

On white

4.41
#288A2F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.77
#288A2F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #288A2F
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##288A2F#FFFFFF#000000##000000
##288A2F1.004.414.774.77
#FFFFFF4.411.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7D24
Deuteranopia (green-blind)
#817537
Tritanopia (blue-blind)
#078677
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #288a2f;
/* rgb */ color: rgb(40, 138, 47);
/* oklch */ color: oklch(55.8% 0.157 144.1);
Tailwind
colors: {
  custom: {
    50: '#71ad6c',
    500: '#288a2f',
    950: '#000000',
  },
}
SCSS
$custom: #288a2f;
$custom-light: #71ad6c;
$custom-dark: #000000;
JSON
{
  "hex": "#288a2f",
  "rgb": {
    "r": 40,
    "g": 138,
    "b": 47
  },
  "hsl": {
    "h": 124.286,
    "s": 55.056,
    "l": 34.902
  },
  "oklch": {
    "l": 0.55766,
    "c": 0.15664,
    "h": 144.1
  },
  "luminance": 0.18833
}

Semantic roles & 50–950 ramp

primary
#288A2F
secondary
#B559AF
accent
#49D4DE
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091007
muted
#7B7F7A

Preview Lab

Preview with #288A2F

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

Preview Lab → · Contrast checker → · Palette generator →

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