#287341#287341

#287341 is a mid, moderate green. Relative luminance 0.131; OKLCH L 49.6% C 0.108 H 151.3°. Best body text is #FFFFFF at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#287341
RGBrgb(40, 115, 65)
HSLhsl(140, 48%, 30%)
HSVhsv(140, 65%, 45%)
CMYKcmyk(65.2%, 0%, 43.5%, 54.9%)
CIE-LABlab(42.90, -35.14, 21.03)
CIE-LCHlch(42.90, 40.96, 149.11°)
OKLaboklab(49.58% -0.095 0.0521)
OKLCHoklch(49.58% 0.108 151.3)
XYZxyz(7.9593, 13.0934, 7.1078)
Luminance0.1309 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#287341 #73285A
analogous
#347328 #287341 #287366
triadic
#287341 #412873 #734128
tetradic
#287341 #283473 #73285A #736628
square
#287341 #283473 #73285A #736628
split-complementary
#287341 #662873 #732834
monochromatic
#08180E #184627 #287341 #38A05B #52C378

Accessibility & contrast

On white

5.80
#287341 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#287341 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #287341
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##287341#FFFFFF#000000##FFFFFF
##2873411.005.803.625.80
#FFFFFF5.801.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#73693D
Deuteranopia (green-blind)
#6A6344
Tritanopia (blue-blind)
#0D7167
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #287341;
/* rgb */ color: rgb(40, 115, 65);
/* oklch */ color: oklch(49.6% 0.108 151.3);
Tailwind
colors: {
  custom: {
    50: '#6b9c76',
    500: '#287341',
    950: '#000000',
  },
}
SCSS
$custom: #287341;
$custom-light: #6b9c76;
$custom-dark: #000000;
JSON
{
  "hex": "#287341",
  "rgb": {
    "r": 40,
    "g": 115,
    "b": 65
  },
  "hsl": {
    "h": 140,
    "s": 48.387,
    "l": 30.392
  },
  "oklch": {
    "l": 0.49579,
    "c": 0.1083,
    "h": 151.3
  },
  "luminance": 0.13094
}

Semantic roles & 50–950 ramp

primary
#287341
secondary
#A55289
accent
#50ABD8
background
#F6F9F7
surface
#ECF2ED
border
#C7CCC8
text
#070E08
muted
#7A7E7B

Preview Lab

Preview with #287341

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

Preview Lab → · Contrast checker → · Palette generator →

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