#287C33#287C33

#287C33 is a mid, vivid green. Relative luminance 0.151; OKLCH L 51.9% C 0.135 H 145.5°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#287C33
RGBrgb(40, 124, 51)
HSLhsl(128, 51%, 32%)
HSVhsv(128, 68%, 49%)
CMYKcmyk(67.7%, 0%, 58.9%, 51.4%)
CIE-LABlab(45.78, -41.12, 32.18)
CIE-LCHlch(45.78, 52.22, 141.95°)
OKLaboklab(51.88% -0.1112 0.0765)
OKLCHoklch(51.88% 0.135 145.5)
XYZxyz(8.6797, 15.1045, 5.5894)
Luminance0.1510 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#287C33 #7C2871
analogous
#477C28 #287C33 #287C5D
triadic
#287C33 #33287C #7C3328
tetradic
#287C33 #28477C #7C2871 #7C5D28
square
#287C33 #28477C #7C2871 #7C5D28
split-complementary
#287C33 #5D287C #7C2847
monochromatic
#0A1F0D #194E20 #287C33 #37AA46 #56C865

Accessibility & contrast

On white

5.22
#287C33 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#287C33 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #287C33
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##287C33#FFFFFF#000000##FFFFFF
##287C331.005.224.025.22
#FFFFFF5.221.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E712C
Deuteranopia (green-blind)
#746A39
Tritanopia (blue-blind)
#10796C
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #287c33;
/* rgb */ color: rgb(40, 124, 51);
/* oklch */ color: oklch(51.9% 0.135 145.5);
Tailwind
colors: {
  custom: {
    50: '#6da36d',
    500: '#287c33',
    950: '#000000',
  },
}
SCSS
$custom: #287c33;
$custom-light: #6da36d;
$custom-dark: #000000;
JSON
{
  "hex": "#287c33",
  "rgb": {
    "r": 40,
    "g": 124,
    "b": 51
  },
  "hsl": {
    "h": 127.857,
    "s": 51.22,
    "l": 32.157
  },
  "oklch": {
    "l": 0.51881,
    "c": 0.13493,
    "h": 145.5
  },
  "luminance": 0.15105
}

Semantic roles & 50–950 ramp

primary
#287C33
secondary
#AD52A2
accent
#4DC8DB
background
#F6FAF6
surface
#ECF4EC
border
#C7CEC7
text
#080F07
muted
#7A7F7A

Preview Lab

Preview with #287C33

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

Preview Lab → · Contrast checker → · Palette generator →

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