#287442#287442

#287442 is a mid, moderate green. Relative luminance 0.133; OKLCH L 49.9% C 0.109 H 151.5°. Best body text is #FFFFFF at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#287442
RGBrgb(40, 116, 66)
HSLhsl(141, 49%, 31%)
HSVhsv(141, 66%, 45%)
CMYKcmyk(65.5%, 0%, 43.1%, 54.5%)
CIE-LABlab(43.26, -35.38, 20.93)
CIE-LCHlch(43.26, 41.11, 149.40°)
OKLaboklab(49.88% -0.0956 0.0519)
OKLCHoklch(49.88% 0.109 151.5)
XYZxyz(8.1032, 13.3344, 7.3000)
Luminance0.1333 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#287442 #74285A
analogous
#347428 #287442 #287468
triadic
#287442 #422874 #744228
tetradic
#287442 #283474 #74285A #746828
square
#287442 #283474 #74285A #746828
split-complementary
#287442 #682874 #742834
monochromatic
#09190E #184628 #287442 #38A25C #53C479

Accessibility & contrast

On white

5.73
#287442 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#287442 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #287442
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##287442#FFFFFF#000000##FFFFFF
##2874421.005.733.675.73
#FFFFFF5.731.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#746A3E
Deuteranopia (green-blind)
#6B6345
Tritanopia (blue-blind)
#0B7268
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #287442;
/* rgb */ color: rgb(40, 116, 66);
/* oklch */ color: oklch(49.9% 0.109 151.5);
Tailwind
colors: {
  custom: {
    50: '#6b9d77',
    500: '#287442',
    950: '#000000',
  },
}
SCSS
$custom: #287442;
$custom-light: #6b9d77;
$custom-dark: #000000;
JSON
{
  "hex": "#287442",
  "rgb": {
    "r": 40,
    "g": 116,
    "b": 66
  },
  "hsl": {
    "h": 140.526,
    "s": 48.718,
    "l": 30.588
  },
  "oklch": {
    "l": 0.4988,
    "c": 0.10877,
    "h": 151.5
  },
  "luminance": 0.13335
}

Semantic roles & 50–950 ramp

primary
#287442
secondary
#A65289
accent
#50A9D8
background
#F6F9F7
surface
#ECF2ED
border
#C7CCC8
text
#070E08
muted
#7A7E7B

Preview Lab

Preview with #287442

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

Preview Lab → · Contrast checker → · Palette generator →

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