#287645#287645

#287645 is a mid, moderate green. Relative luminance 0.138; OKLCH L 50.5% C 0.109 H 152.5°. Best body text is #FFFFFF at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#287645
RGBrgb(40, 118, 69)
HSLhsl(142, 49%, 31%)
HSVhsv(142, 66%, 46%)
CMYKcmyk(66.1%, 0%, 41.5%, 53.7%)
CIE-LABlab(44.00, -35.66, 20.18)
CIE-LCHlch(44.00, 40.97, 150.49°)
OKLaboklab(50.5% -0.0964 0.0502)
OKLCHoklch(50.5% 0.109 152.5)
XYZxyz(8.4270, 13.8368, 7.8557)
Luminance0.1384 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#287645 #762859
analogous
#327628 #287645 #28766C
triadic
#287645 #452876 #764528
tetradic
#287645 #283276 #762859 #766C28
square
#287645 #283276 #762859 #766C28
split-complementary
#287645 #6C2876 #762832
monochromatic
#091B10 #19482A #287645 #37A460 #54C57E

Accessibility & contrast

On white

5.57
#287645 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#287645 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #287645
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##287645#FFFFFF#000000##FFFFFF
##2876451.005.573.775.57
#FFFFFF5.571.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#766C42
Deuteranopia (green-blind)
#6C6548
Tritanopia (blue-blind)
#07746A
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #287645;
/* rgb */ color: rgb(40, 118, 69);
/* oklch */ color: oklch(50.5% 0.109 152.5);
Tailwind
colors: {
  custom: {
    50: '#6b9e79',
    500: '#287645',
    950: '#000000',
  },
}
SCSS
$custom: #287645;
$custom-light: #6b9e79;
$custom-dark: #000000;
JSON
{
  "hex": "#287645",
  "rgb": {
    "r": 40,
    "g": 118,
    "b": 69
  },
  "hsl": {
    "h": 142.308,
    "s": 49.367,
    "l": 30.98
  },
  "oklch": {
    "l": 0.50502,
    "c": 0.10868,
    "h": 152.5
  },
  "luminance": 0.13838
}

Semantic roles & 50–950 ramp

primary
#287645
secondary
#A85288
accent
#4FA6D9
background
#F6F9F7
surface
#ECF2ED
border
#C7CCC8
text
#070E09
muted
#7A7E7B

Preview Lab

Preview with #287645

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

Preview Lab → · Contrast checker → · Palette generator →

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