#287246#287246

#287246 is a mid, moderate green. Relative luminance 0.129; OKLCH L 49.4% C 0.102 H 154.0°. Best body text is #FFFFFF at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#287246
RGBrgb(40, 114, 70)
HSLhsl(144, 48%, 30%)
HSVhsv(144, 65%, 45%)
CMYKcmyk(64.9%, 0%, 38.6%, 55.3%)
CIE-LABlab(42.65, -33.72, 17.83)
CIE-LCHlch(42.65, 38.14, 152.14°)
OKLaboklab(49.4% -0.0913 0.0446)
OKLCHoklch(49.4% 0.102 154)
XYZxyz(7.9972, 12.9271, 7.8669)
Luminance0.1293 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#287246 #722854
analogous
#2F7228 #287246 #28726B
triadic
#287246 #462872 #724628
tetradic
#287246 #282F72 #722854 #726B28
square
#287246 #282F72 #722854 #726B28
split-complementary
#287246 #6B2872 #72282F
monochromatic
#08170E #18452A #287246 #389F62 #52C280

Accessibility & contrast

On white

5.86
#287246 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#287246 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #287246
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##287246#FFFFFF#000000##FFFFFF
##2872461.005.863.595.86
#FFFFFF5.861.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#726943
Deuteranopia (green-blind)
#686249
Tritanopia (blue-blind)
#097167
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #287246;
/* rgb */ color: rgb(40, 114, 70);
/* oklch */ color: oklch(49.4% 0.102 154.0);
Tailwind
colors: {
  custom: {
    50: '#6b9b7a',
    500: '#287246',
    950: '#000000',
  },
}
SCSS
$custom: #287246;
$custom-light: #6b9b7a;
$custom-dark: #000000;
JSON
{
  "hex": "#287246",
  "rgb": {
    "r": 40,
    "g": 114,
    "b": 70
  },
  "hsl": {
    "h": 144.324,
    "s": 48.052,
    "l": 30.196
  },
  "oklch": {
    "l": 0.49403,
    "c": 0.10166,
    "h": 154
  },
  "luminance": 0.12928
}

Semantic roles & 50–950 ramp

primary
#287246
secondary
#A45283
accent
#50A1D8
background
#F6F9F7
surface
#ECF2ED
border
#C7CCC8
text
#070E09
muted
#7A7E7B

Preview Lab

Preview with #287246

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

Preview Lab → · Contrast checker → · Palette generator →

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