#287145#287145

#287145 is a mid, moderate green. Relative luminance 0.127; OKLCH L 49.1% C 0.101 H 153.7°. Best body text is #FFFFFF at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#287145
RGBrgb(40, 113, 69)
HSLhsl(144, 48%, 30%)
HSVhsv(144, 65%, 44%)
CMYKcmyk(64.6%, 0%, 38.9%, 55.7%)
CIE-LABlab(42.29, -33.48, 17.93)
CIE-LCHlch(42.29, 37.98, 151.84°)
OKLaboklab(49.1% -0.0907 0.0448)
OKLCHoklch(49.1% 0.101 153.7)
XYZxyz(7.8537, 12.6903, 7.6646)
Luminance0.1269 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#287145 #712854
analogous
#2F7128 #287145 #28716A
triadic
#287145 #452871 #714528
tetradic
#287145 #282F71 #712854 #716A28
square
#287145 #282F71 #712854 #716A28
split-complementary
#287145 #6A2871 #71282F
monochromatic
#08170E #184429 #287145 #389E61 #52C27E

Accessibility & contrast

On white

5.94
#287145 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#287145 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #287145
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##287145#FFFFFF#000000##FFFFFF
##2871451.005.943.545.94
#FFFFFF5.941.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#716842
Deuteranopia (green-blind)
#676148
Tritanopia (blue-blind)
#0B7066
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #287145;
/* rgb */ color: rgb(40, 113, 69);
/* oklch */ color: oklch(49.1% 0.101 153.7);
Tailwind
colors: {
  custom: {
    50: '#6a9a79',
    500: '#287145',
    950: '#000000',
  },
}
SCSS
$custom: #287145;
$custom-light: #6a9a79;
$custom-dark: #000000;
JSON
{
  "hex": "#287145",
  "rgb": {
    "r": 40,
    "g": 113,
    "b": 69
  },
  "hsl": {
    "h": 143.836,
    "s": 47.712,
    "l": 30
  },
  "oklch": {
    "l": 0.491,
    "c": 0.10117,
    "h": 153.7
  },
  "luminance": 0.12691
}

Semantic roles & 50–950 ramp

primary
#287145
secondary
#A35283
accent
#50A2D7
background
#F6F9F7
surface
#ECF2ED
border
#C7CCC8
text
#070E09
muted
#7A7E7B

Preview Lab

Preview with #287145

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

Preview Lab → · Contrast checker → · Palette generator →

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