#287232#287232

#287232 is a mid, vivid green. Relative luminance 0.127; OKLCH L 49.0% C 0.122 H 145.8°. Best body text is #FFFFFF at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#287232
RGBrgb(40, 114, 50)
HSLhsl(128, 48%, 30%)
HSVhsv(128, 65%, 45%)
CMYKcmyk(64.9%, 0%, 56.1%, 55.3%)
CIE-LABlab(42.33, -37.28, 28.58)
CIE-LCHlch(42.33, 46.97, 142.52°)
OKLaboklab(49.03% -0.1008 0.0685)
OKLCHoklch(49.03% 0.122 145.8)
XYZxyz(7.4676, 12.7153, 5.0778)
Luminance0.1272 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#287232 #722868
analogous
#437228 #287232 #287257
triadic
#287232 #322872 #723228
tetradic
#287232 #284372 #722868 #725728
square
#287232 #284372 #722868 #725728
split-complementary
#287232 #572872 #722843
monochromatic
#08170A #18451E #287232 #389F46 #52C261

Accessibility & contrast

On white

5.93
#287232 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#287232 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #287232
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##287232#FFFFFF#000000##FFFFFF
##2872321.005.933.545.93
#FFFFFF5.931.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#74682C
Deuteranopia (green-blind)
#6A6137
Tritanopia (blue-blind)
#166F64
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #287232;
/* rgb */ color: rgb(40, 114, 50);
/* oklch */ color: oklch(49.0% 0.122 145.8);
Tailwind
colors: {
  custom: {
    50: '#6b9b6b',
    500: '#287232',
    950: '#000000',
  },
}
SCSS
$custom: #287232;
$custom-light: #6b9b6b;
$custom-dark: #000000;
JSON
{
  "hex": "#287232",
  "rgb": {
    "r": 40,
    "g": 114,
    "b": 50
  },
  "hsl": {
    "h": 128.108,
    "s": 48.052,
    "l": 30.196
  },
  "oklch": {
    "l": 0.49032,
    "c": 0.12189,
    "h": 145.8
  },
  "luminance": 0.12716
}

Semantic roles & 50–950 ramp

primary
#287232
secondary
#A45299
accent
#50C5D8
background
#F6F9F6
surface
#ECF2EB
border
#C7CCC6
text
#070E07
muted
#7A7E7A

Preview Lab

Preview with #287232

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

Preview Lab → · Contrast checker → · Palette generator →

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