#287337#287337

#287337 is a mid, moderate green. Relative luminance 0.130; OKLCH L 49.4% C 0.118 H 147.3°. Best body text is #FFFFFF at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#287337
RGBrgb(40, 115, 55)
HSLhsl(132, 48%, 30%)
HSVhsv(132, 65%, 45%)
CMYKcmyk(65.2%, 0%, 52.2%, 54.9%)
CIE-LABlab(42.74, -36.91, 26.40)
CIE-LCHlch(42.74, 45.38, 144.42°)
OKLaboklab(49.4% -0.0997 0.064)
OKLCHoklch(49.4% 0.118 147.3)
XYZxyz(7.6949, 12.9877, 5.7150)
Luminance0.1299 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#287337 #732864
analogous
#3E7328 #287337 #28735C
triadic
#287337 #372873 #733728
tetradic
#287337 #283E73 #732864 #735C28
square
#287337 #283E73 #732864 #735C28
split-complementary
#287337 #5C2873 #73283E
monochromatic
#08180C #184621 #287337 #38A04D #52C369

Accessibility & contrast

On white

5.84
#287337 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#287337 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #287337
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##287337#FFFFFF#000000##FFFFFF
##2873371.005.843.605.84
#FFFFFF5.841.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#746932
Deuteranopia (green-blind)
#6B623B
Tritanopia (blue-blind)
#137065
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #287337;
/* rgb */ color: rgb(40, 115, 55);
/* oklch */ color: oklch(49.4% 0.118 147.3);
Tailwind
colors: {
  custom: {
    50: '#6b9c6f',
    500: '#287337',
    950: '#000000',
  },
}
SCSS
$custom: #287337;
$custom-light: #6b9c6f;
$custom-dark: #000000;
JSON
{
  "hex": "#287337",
  "rgb": {
    "r": 40,
    "g": 115,
    "b": 55
  },
  "hsl": {
    "h": 132,
    "s": 48.387,
    "l": 30.392
  },
  "oklch": {
    "l": 0.49396,
    "c": 0.11846,
    "h": 147.3
  },
  "luminance": 0.12988
}

Semantic roles & 50–950 ramp

primary
#287337
secondary
#A55294
accent
#50BDD8
background
#F6F9F6
surface
#ECF2EC
border
#C7CCC7
text
#070E07
muted
#7A7E7A

Preview Lab

Preview with #287337

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

Preview Lab → · Contrast checker → · Palette generator →

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