#287948#287948

#287948 is a mid, moderate green. Relative luminance 0.146; OKLCH L 51.4% C 0.110 H 153.2°. Best body text is #FFFFFF at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#287948
RGBrgb(40, 121, 72)
HSLhsl(144, 50%, 32%)
HSVhsv(144, 67%, 47%)
CMYKcmyk(66.9%, 0%, 40.5%, 52.5%)
CIE-LABlab(45.07, -36.35, 19.89)
CIE-LCHlch(45.07, 41.43, 151.31°)
OKLaboklab(51.4% -0.0983 0.0496)
OKLCHoklch(51.4% 0.11 153.2)
XYZxyz(8.8814, 14.5928, 8.4783)
Luminance0.1459 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#287948 #792859
analogous
#307928 #287948 #287971
triadic
#287948 #482879 #794828
tetradic
#287948 #283079 #792859 #797128
square
#287948 #283079 #792859 #797128
split-complementary
#287948 #712879 #792830
monochromatic
#0A1D11 #194B2D #287948 #37A763 #55C782

Accessibility & contrast

On white

5.36
#287948 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#287948 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #287948
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##287948#FFFFFF#000000##FFFFFF
##2879481.005.363.925.36
#FFFFFF5.361.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796F45
Deuteranopia (green-blind)
#6F684B
Tritanopia (blue-blind)
#01776D
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #287948;
/* rgb */ color: rgb(40, 121, 72);
/* oklch */ color: oklch(51.4% 0.110 153.2);
Tailwind
colors: {
  custom: {
    50: '#6ca07b',
    500: '#287948',
    950: '#000000',
  },
}
SCSS
$custom: #287948;
$custom-light: #6ca07b;
$custom-dark: #000000;
JSON
{
  "hex": "#287948",
  "rgb": {
    "r": 40,
    "g": 121,
    "b": 72
  },
  "hsl": {
    "h": 143.704,
    "s": 50.311,
    "l": 31.569
  },
  "oklch": {
    "l": 0.51402,
    "c": 0.11008,
    "h": 153.2
  },
  "luminance": 0.14594
}

Semantic roles & 50–950 ramp

primary
#287948
secondary
#AB5288
accent
#4EA3DA
background
#F6F9F7
surface
#ECF2EE
border
#C7CCC9
text
#070F09
muted
#7A7E7B

Preview Lab

Preview with #287948

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

Preview Lab → · Contrast checker → · Palette generator →

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