#287048#287048

#287048 is a mid, moderate green. Relative luminance 0.125; OKLCH L 48.9% C 0.097 H 155.7°. Best body text is #FFFFFF at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#287048
RGBrgb(40, 112, 72)
HSLhsl(147, 47%, 30%)
HSVhsv(147, 64%, 44%)
CMYKcmyk(64.3%, 0%, 35.7%, 56.1%)
CIE-LABlab(42.01, -32.41, 15.80)
CIE-LCHlch(42.01, 36.05, 154.01°)
OKLaboklab(48.89% -0.088 0.0398)
OKLCHoklch(48.89% 0.097 155.7)
XYZxyz(7.8383, 12.5066, 8.1306)
Luminance0.1251 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#287048 #702850
analogous
#2C7028 #287048 #28706C
triadic
#287048 #482870 #704828
tetradic
#287048 #282C70 #702850 #706C28
square
#287048 #282C70 #702850 #706C28
split-complementary
#287048 #6C2870 #70282C
monochromatic
#08170E #18432B #287048 #389D65 #51C183

Accessibility & contrast

On white

6.00
#287048 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#287048 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #287048
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##287048#FFFFFF#000000##FFFFFF
##2870481.006.003.506.00
#FFFFFF6.001.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#706745
Deuteranopia (green-blind)
#66604B
Tritanopia (blue-blind)
#096F66
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #287048;
/* rgb */ color: rgb(40, 112, 72);
/* oklch */ color: oklch(48.9% 0.097 155.7);
Tailwind
colors: {
  custom: {
    50: '#6a9a7b',
    500: '#287048',
    950: '#000000',
  },
}
SCSS
$custom: #287048;
$custom-light: #6a9a7b;
$custom-dark: #000000;
JSON
{
  "hex": "#287048",
  "rgb": {
    "r": 40,
    "g": 112,
    "b": 72
  },
  "hsl": {
    "h": 146.667,
    "s": 47.368,
    "l": 29.804
  },
  "oklch": {
    "l": 0.48888,
    "c": 0.09658,
    "h": 155.7
  },
  "luminance": 0.12507
}

Semantic roles & 50–950 ramp

primary
#287048
secondary
#A2517E
accent
#519BD7
background
#F6F9F7
surface
#EBF2ED
border
#C6CCC8
text
#070E09
muted
#7A7E7B

Preview Lab

Preview with #287048

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

Preview Lab → · Contrast checker → · Palette generator →

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