#287237#287237

#287237 is a mid, moderate green. Relative luminance 0.128; OKLCH L 49.1% C 0.117 H 147.4°. Best body text is #FFFFFF at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#287237
RGBrgb(40, 114, 55)
HSLhsl(132, 48%, 30%)
HSVhsv(132, 65%, 45%)
CMYKcmyk(64.9%, 0%, 51.8%, 55.3%)
CIE-LABlab(42.40, -36.49, 25.97)
CIE-LCHlch(42.40, 44.79, 144.56°)
OKLaboklab(49.11% -0.0986 0.063)
OKLCHoklch(49.11% 0.117 147.4)
XYZxyz(7.5815, 12.7608, 5.6772)
Luminance0.1276 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#287237 #722863
analogous
#3E7228 #287237 #28725C
triadic
#287237 #372872 #723728
tetradic
#287237 #283E72 #722863 #725C28
square
#287237 #283E72 #722863 #725C28
split-complementary
#287237 #5C2872 #72283E
monochromatic
#08170B #184521 #287237 #389F4D #52C269

Accessibility & contrast

On white

5.91
#287237 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#287237 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #287237
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##287237#FFFFFF#000000##FFFFFF
##2872371.005.913.555.91
#FFFFFF5.911.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#736832
Deuteranopia (green-blind)
#6A623B
Tritanopia (blue-blind)
#147064
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #287237;
/* rgb */ color: rgb(40, 114, 55);
/* oklch */ color: oklch(49.1% 0.117 147.4);
Tailwind
colors: {
  custom: {
    50: '#6b9b6f',
    500: '#287237',
    950: '#000000',
  },
}
SCSS
$custom: #287237;
$custom-light: #6b9b6f;
$custom-dark: #000000;
JSON
{
  "hex": "#287237",
  "rgb": {
    "r": 40,
    "g": 114,
    "b": 55
  },
  "hsl": {
    "h": 132.162,
    "s": 48.052,
    "l": 30.196
  },
  "oklch": {
    "l": 0.49112,
    "c": 0.11699,
    "h": 147.4
  },
  "luminance": 0.12762
}

Semantic roles & 50–950 ramp

primary
#287237
secondary
#A45293
accent
#50BCD8
background
#F6F9F6
surface
#ECF2EC
border
#C7CCC7
text
#070E07
muted
#7A7E7A

Preview Lab

Preview with #287237

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

Preview Lab → · Contrast checker → · Palette generator →

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