#288241#288241

#288241 is a mid, vivid green. Relative luminance 0.168; OKLCH L 53.8% C 0.130 H 148.9°. Best body text is #FFFFFF at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#288241
RGBrgb(40, 130, 65)
HSLhsl(137, 53%, 33%)
HSVhsv(137, 69%, 51%)
CMYKcmyk(69.2%, 0%, 50%, 49%)
CIE-LABlab(48.00, -41.33, 27.55)
CIE-LCHlch(48.00, 49.67, 146.31°)
OKLaboklab(53.78% -0.1114 0.0671)
OKLCHoklch(53.78% 0.13 148.9)
XYZxyz(9.8111, 16.7970, 7.7251)
Luminance0.1680 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#288241 #822869
analogous
#3C8228 #288241 #28826E
triadic
#288241 #412882 #824128
tetradic
#288241 #283C82 #822869 #826E28
square
#288241 #283C82 #822869 #826E28
split-complementary
#288241 #6E2882 #82283C
monochromatic
#0B2412 #1A532A #288241 #36B158 #59CC79

Accessibility & contrast

On white

4.82
#288241 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.36
#288241 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #288241
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##288241#FFFFFF#000000##FFFFFF
##2882411.004.824.364.82
#FFFFFF4.821.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#83773C
Deuteranopia (green-blind)
#786F46
Tritanopia (blue-blind)
#007F73
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #288241;
/* rgb */ color: rgb(40, 130, 65);
/* oklch */ color: oklch(53.8% 0.130 148.9);
Tailwind
colors: {
  custom: {
    50: '#6ea777',
    500: '#288241',
    950: '#000000',
  },
}
SCSS
$custom: #288241;
$custom-light: #6ea777;
$custom-dark: #000000;
JSON
{
  "hex": "#288241",
  "rgb": {
    "r": 40,
    "g": 130,
    "b": 65
  },
  "hsl": {
    "h": 136.667,
    "s": 52.941,
    "l": 33.333
  },
  "oklch": {
    "l": 0.5378,
    "c": 0.13004,
    "h": 148.9
  },
  "luminance": 0.16798
}

Semantic roles & 50–950 ramp

primary
#288241
secondary
#B15597
accent
#4BB4DC
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#080F08
muted
#7B7F7B

Preview Lab

Preview with #288241

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

Preview Lab → · Contrast checker → · Palette generator →

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