#287943#287943

#287943 is a mid, moderate green. Relative luminance 0.145; OKLCH L 51.3% C 0.115 H 151.0°. Best body text is #FFFFFF at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#287943
RGBrgb(40, 121, 67)
HSLhsl(140, 50%, 32%)
HSVhsv(140, 67%, 47%)
CMYKcmyk(66.9%, 0%, 44.6%, 52.5%)
CIE-LABlab(44.98, -37.31, 22.60)
CIE-LCHlch(44.98, 43.62, 148.79°)
OKLaboklab(51.3% -0.1007 0.0558)
OKLCHoklch(51.3% 0.115 151)
XYZxyz(8.7249, 14.5302, 7.6539)
Luminance0.1453 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#287943 #79285E
analogous
#367928 #287943 #28796C
triadic
#287943 #432879 #794328
tetradic
#287943 #283679 #79285E #796C28
square
#287943 #283679 #79285E #796C28
split-complementary
#287943 #6C2879 #792836
monochromatic
#0A1D10 #194B2A #287943 #37A75C #55C77B

Accessibility & contrast

On white

5.38
#287943 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#287943 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #287943
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##287943#FFFFFF#000000##FFFFFF
##2879431.005.383.915.38
#FFFFFF5.381.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6F3F
Deuteranopia (green-blind)
#6F6847
Tritanopia (blue-blind)
#06776C
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #287943;
/* rgb */ color: rgb(40, 121, 67);
/* oklch */ color: oklch(51.3% 0.115 151.0);
Tailwind
colors: {
  custom: {
    50: '#6ca078',
    500: '#287943',
    950: '#000000',
  },
}
SCSS
$custom: #287943;
$custom-light: #6ca078;
$custom-dark: #000000;
JSON
{
  "hex": "#287943",
  "rgb": {
    "r": 40,
    "g": 121,
    "b": 67
  },
  "hsl": {
    "h": 140,
    "s": 50.311,
    "l": 31.569
  },
  "oklch": {
    "l": 0.51301,
    "c": 0.11514,
    "h": 151
  },
  "luminance": 0.14531
}

Semantic roles & 50–950 ramp

primary
#287943
secondary
#AB528D
accent
#4EABDA
background
#F6F9F7
surface
#ECF2ED
border
#C7CCC8
text
#070F09
muted
#7A7E7B

Preview Lab

Preview with #287943

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

Preview Lab → · Contrast checker → · Palette generator →

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