#288247#288247

#288247 is a mid, vivid green. Relative luminance 0.169; OKLCH L 53.9% C 0.124 H 151.0°. Best body text is #FFFFFF at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#288247
RGBrgb(40, 130, 71)
HSLhsl(141, 53%, 33%)
HSVhsv(141, 69%, 51%)
CMYKcmyk(69.2%, 0%, 45.4%, 49%)
CIE-LABlab(48.10, -40.28, 24.40)
CIE-LCHlch(48.10, 47.09, 148.79°)
OKLaboklab(53.89% -0.1086 0.0601)
OKLCHoklch(53.89% 0.124 151)
XYZxyz(9.9942, 16.8702, 8.6896)
Luminance0.1687 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#288247 #822863
analogous
#368228 #288247 #288274
triadic
#288247 #472882 #824728
tetradic
#288247 #283682 #822863 #827428
square
#288247 #283682 #822863 #827428
split-complementary
#288247 #742882 #822836
monochromatic
#0B2414 #1A532D #288247 #36B161 #59CC80

Accessibility & contrast

On white

4.80
#288247 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.37
#288247 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #288247
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##288247#FFFFFF#000000##FFFFFF
##2882471.004.804.374.80
#FFFFFF4.801.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837743
Deuteranopia (green-blind)
#776F4B
Tritanopia (blue-blind)
#008074
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #288247;
/* rgb */ color: rgb(40, 130, 71);
/* oklch */ color: oklch(53.9% 0.124 151.0);
Tailwind
colors: {
  custom: {
    50: '#6ea77b',
    500: '#288247',
    950: '#000000',
  },
}
SCSS
$custom: #288247;
$custom-light: #6ea77b;
$custom-dark: #000000;
JSON
{
  "hex": "#288247",
  "rgb": {
    "r": 40,
    "g": 130,
    "b": 71
  },
  "hsl": {
    "h": 140.667,
    "s": 52.941,
    "l": 33.333
  },
  "oklch": {
    "l": 0.53887,
    "c": 0.12413,
    "h": 151
  },
  "luminance": 0.16871
}

Semantic roles & 50–950 ramp

primary
#288247
secondary
#B15591
accent
#4BAADC
background
#F7FAF7
surface
#EDF4EE
border
#C8CEC9
text
#080F09
muted
#7B7F7B

Preview Lab

Preview with #288247

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

Preview Lab → · Contrast checker → · Palette generator →

#288247 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva