#287941#287941

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

Color values

HEX#287941
RGBrgb(40, 121, 65)
HSLhsl(139, 50%, 32%)
HSVhsv(139, 67%, 47%)
CMYKcmyk(66.9%, 0%, 46.3%, 52.5%)
CIE-LABlab(44.95, -37.68, 23.68)
CIE-LCHlch(44.95, 44.50, 147.85°)
OKLaboklab(51.26% -0.1017 0.0582)
OKLCHoklch(51.26% 0.117 150.2)
XYZxyz(8.6659, 14.5066, 7.3434)
Luminance0.1451 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#287941 #792860
analogous
#377928 #287941 #28796A
triadic
#287941 #412879 #794128
tetradic
#287941 #283779 #792860 #796A28
square
#287941 #283779 #792860 #796A28
split-complementary
#287941 #6A2879 #792837
monochromatic
#0A1D10 #194B28 #287941 #37A75A #55C778

Accessibility & contrast

On white

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

On black

3.90
#287941 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##287941#FFFFFF#000000##FFFFFF
##2879411.005.383.905.38
#FFFFFF5.381.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6F3D
Deuteranopia (green-blind)
#6F6845
Tritanopia (blue-blind)
#08776B
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #287941;
/* rgb */ color: rgb(40, 121, 65);
/* oklch */ color: oklch(51.3% 0.117 150.2);
Tailwind
colors: {
  custom: {
    50: '#6ca076',
    500: '#287941',
    950: '#000000',
  },
}
SCSS
$custom: #287941;
$custom-light: #6ca076;
$custom-dark: #000000;
JSON
{
  "hex": "#287941",
  "rgb": {
    "r": 40,
    "g": 121,
    "b": 65
  },
  "hsl": {
    "h": 138.519,
    "s": 50.311,
    "l": 31.569
  },
  "oklch": {
    "l": 0.51263,
    "c": 0.11717,
    "h": 150.2
  },
  "luminance": 0.14508
}

Semantic roles & 50–950 ramp

primary
#287941
secondary
#AB528F
accent
#4EAFDA
background
#F6F9F7
surface
#ECF2ED
border
#C7CCC8
text
#070F08
muted
#7A7E7B

Preview Lab

Preview with #287941

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

Preview Lab → · Contrast checker → · Palette generator →

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