#287C47#287C47

#287C47 is a mid, moderate green. Relative luminance 0.153; OKLCH L 52.2% C 0.115 H 152.1°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#287C47
RGBrgb(40, 124, 71)
HSLhsl(142, 51%, 32%)
HSVhsv(142, 68%, 49%)
CMYKcmyk(67.7%, 0%, 42.7%, 51.4%)
CIE-LABlab(46.07, -37.81, 21.77)
CIE-LCHlch(46.07, 43.63, 150.07°)
OKLaboklab(52.22% -0.1021 0.054)
OKLCHoklch(52.22% 0.115 152.1)
XYZxyz(9.2193, 15.3204, 8.4313)
Luminance0.1532 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#287C47 #7C285D
analogous
#337C28 #287C47 #287C71
triadic
#287C47 #47287C #7C4728
tetradic
#287C47 #28337C #7C285D #7C7128
square
#287C47 #28337C #7C285D #7C7128
split-complementary
#287C47 #71287C #7C2833
monochromatic
#0A1F12 #194E2D #287C47 #37AA61 #56C880

Accessibility & contrast

On white

5.17
#287C47 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#287C47 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #287C47
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##287C47#FFFFFF#000000##FFFFFF
##287C471.005.174.065.17
#FFFFFF5.171.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C7243
Deuteranopia (green-blind)
#726A4B
Tritanopia (blue-blind)
#007A6F
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #287c47;
/* rgb */ color: rgb(40, 124, 71);
/* oklch */ color: oklch(52.2% 0.115 152.1);
Tailwind
colors: {
  custom: {
    50: '#6da37b',
    500: '#287c47',
    950: '#000000',
  },
}
SCSS
$custom: #287c47;
$custom-light: #6da37b;
$custom-dark: #000000;
JSON
{
  "hex": "#287c47",
  "rgb": {
    "r": 40,
    "g": 124,
    "b": 71
  },
  "hsl": {
    "h": 142.143,
    "s": 51.22,
    "l": 32.157
  },
  "oklch": {
    "l": 0.52218,
    "c": 0.11548,
    "h": 152.1
  },
  "luminance": 0.15321
}

Semantic roles & 50–950 ramp

primary
#287C47
secondary
#AD528C
accent
#4DA6DB
background
#F6FAF7
surface
#ECF4ED
border
#C7CEC8
text
#080F09
muted
#7B7F7B

Preview Lab

Preview with #287C47

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

Preview Lab → · Contrast checker → · Palette generator →

#287C47 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva