#288142#288142

#288142 is a mid, vivid green. Relative luminance 0.165; OKLCH L 53.5% C 0.128 H 149.4°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#288142
RGBrgb(40, 129, 66)
HSLhsl(138, 53%, 33%)
HSVhsv(138, 69%, 51%)
CMYKcmyk(69%, 0%, 48.8%, 49.4%)
CIE-LABlab(47.68, -40.76, 26.61)
CIE-LCHlch(47.68, 48.68, 146.87°)
OKLaboklab(53.52% -0.1099 0.065)
OKLCHoklch(53.52% 0.128 149.4)
XYZxyz(9.7080, 16.5439, 7.8349)
Luminance0.1655 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#288142 #812867
analogous
#3A8128 #288142 #28816E
triadic
#288142 #422881 #814228
tetradic
#288142 #283A81 #812867 #816E28
square
#288142 #283A81 #812867 #816E28
split-complementary
#288142 #6E2881 #81283A
monochromatic
#0B2412 #1A522A #288142 #36B05A #58CB7A

Accessibility & contrast

On white

4.87
#288142 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#288142 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #288142
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##288142#FFFFFF#000000##FFFFFF
##2881421.004.874.314.87
#FFFFFF4.871.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#82763D
Deuteranopia (green-blind)
#776E46
Tritanopia (blue-blind)
#007F72
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #288142;
/* rgb */ color: rgb(40, 129, 66);
/* oklch */ color: oklch(53.5% 0.128 149.4);
Tailwind
colors: {
  custom: {
    50: '#6ea677',
    500: '#288142',
    950: '#000000',
  },
}
SCSS
$custom: #288142;
$custom-light: #6ea677;
$custom-dark: #000000;
JSON
{
  "hex": "#288142",
  "rgb": {
    "r": 40,
    "g": 129,
    "b": 66
  },
  "hsl": {
    "h": 137.528,
    "s": 52.663,
    "l": 33.137
  },
  "oklch": {
    "l": 0.53518,
    "c": 0.12765,
    "h": 149.4
  },
  "luminance": 0.16545
}

Semantic roles & 50–950 ramp

primary
#288142
secondary
#B05495
accent
#4CB2DC
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#080F09
muted
#7B7F7B

Preview Lab

Preview with #288142

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

Preview Lab → · Contrast checker → · Palette generator →

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