#287A45#287A45

#287A45 is a mid, moderate green. Relative luminance 0.148; OKLCH L 51.6% C 0.115 H 151.7°. Best body text is #FFFFFF at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#287A45
RGBrgb(40, 122, 69)
HSLhsl(141, 51%, 32%)
HSVhsv(141, 67%, 48%)
CMYKcmyk(67.2%, 0%, 43.4%, 52.2%)
CIE-LABlab(45.36, -37.35, 21.97)
CIE-LCHlch(45.36, 43.33, 149.54°)
OKLaboklab(51.62% -0.1009 0.0544)
OKLCHoklch(51.62% 0.115 151.7)
XYZxyz(8.9081, 14.7989, 8.0161)
Luminance0.1480 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#287A45 #7A285D
analogous
#347A28 #287A45 #287A6E
triadic
#287A45 #45287A #7A4528
tetradic
#287A45 #28347A #7A285D #7A6E28
square
#287A45 #28347A #7A285D #7A6E28
split-complementary
#287A45 #6E287A #7A2834
monochromatic
#0A1E11 #194C2B #287A45 #37A85F #55C77D

Accessibility & contrast

On white

5.30
#287A45 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#287A45 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #287A45
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##287A45#FFFFFF#000000##FFFFFF
##287A451.005.303.965.30
#FFFFFF5.301.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A7041
Deuteranopia (green-blind)
#706849
Tritanopia (blue-blind)
#04786D
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #287a45;
/* rgb */ color: rgb(40, 122, 69);
/* oklch */ color: oklch(51.6% 0.115 151.7);
Tailwind
colors: {
  custom: {
    50: '#6ca179',
    500: '#287a45',
    950: '#000000',
  },
}
SCSS
$custom: #287a45;
$custom-light: #6ca179;
$custom-dark: #000000;
JSON
{
  "hex": "#287a45",
  "rgb": {
    "r": 40,
    "g": 122,
    "b": 69
  },
  "hsl": {
    "h": 141.22,
    "s": 50.617,
    "l": 31.765
  },
  "oklch": {
    "l": 0.5162,
    "c": 0.11459,
    "h": 151.7
  },
  "luminance": 0.148
}

Semantic roles & 50–950 ramp

primary
#287A45
secondary
#AC528C
accent
#4EA8DA
background
#F6FAF7
surface
#ECF3ED
border
#C7CDC8
text
#070F09
muted
#7A7F7B

Preview Lab

Preview with #287A45

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

Preview Lab → · Contrast checker → · Palette generator →

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