#287D33#287D33

#287D33 is a mid, vivid green. Relative luminance 0.154; OKLCH L 52.2% C 0.136 H 145.4°. Best body text is #FFFFFF at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#287D33
RGBrgb(40, 125, 51)
HSLhsl(128, 52%, 32%)
HSVhsv(128, 68%, 49%)
CMYKcmyk(68%, 0%, 59.2%, 51%)
CIE-LABlab(46.12, -41.51, 32.59)
CIE-LCHlch(46.12, 52.77, 141.87°)
OKLaboklab(52.16% -0.1122 0.0773)
OKLCHoklch(52.16% 0.136 145.4)
XYZxyz(8.8057, 15.3565, 5.6314)
Luminance0.1536 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#287D33 #7D2872
analogous
#477D28 #287D33 #287D5E
triadic
#287D33 #33287D #7D3328
tetradic
#287D33 #28477D #7D2872 #7D5E28
square
#287D33 #28477D #7D2872 #7D5E28
split-complementary
#287D33 #5E287D #7D2847
monochromatic
#0A200D #194F20 #287D33 #37AB46 #56C965

Accessibility & contrast

On white

5.16
#287D33 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#287D33 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #287D33
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##287D33#FFFFFF#000000##FFFFFF
##287D331.005.164.075.16
#FFFFFF5.161.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F722C
Deuteranopia (green-blind)
#756A39
Tritanopia (blue-blind)
#107A6D
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #287d33;
/* rgb */ color: rgb(40, 125, 51);
/* oklch */ color: oklch(52.2% 0.136 145.4);
Tailwind
colors: {
  custom: {
    50: '#6da36d',
    500: '#287d33',
    950: '#000000',
  },
}
SCSS
$custom: #287d33;
$custom-light: #6da36d;
$custom-dark: #000000;
JSON
{
  "hex": "#287d33",
  "rgb": {
    "r": 40,
    "g": 125,
    "b": 51
  },
  "hsl": {
    "h": 127.765,
    "s": 51.515,
    "l": 32.353
  },
  "oklch": {
    "l": 0.52163,
    "c": 0.13629,
    "h": 145.4
  },
  "luminance": 0.15357
}

Semantic roles & 50–950 ramp

primary
#287D33
secondary
#AE53A2
accent
#4DC9DB
background
#F7FAF6
surface
#EDF4EC
border
#C8CEC7
text
#080F07
muted
#7B7F7A

Preview Lab

Preview with #287D33

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

Preview Lab → · Contrast checker → · Palette generator →

#287D33 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva