#287C34#287C34

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

Color values

HEX#287C34
RGBrgb(40, 124, 52)
HSLhsl(129, 51%, 32%)
HSVhsv(129, 68%, 49%)
CMYKcmyk(67.7%, 0%, 58.1%, 51.4%)
CIE-LABlab(45.79, -40.98, 31.69)
CIE-LCHlch(45.79, 51.80, 142.29°)
OKLaboklab(51.9% -0.1107 0.0755)
OKLCHoklch(51.9% 0.134 145.7)
XYZxyz(8.7020, 15.1135, 5.7067)
Luminance0.1511 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#287C34 #7C2870
analogous
#467C28 #287C34 #287C5E
triadic
#287C34 #34287C #7C3428
tetradic
#287C34 #28467C #7C2870 #7C5E28
square
#287C34 #28467C #7C2870 #7C5E28
split-complementary
#287C34 #5E287C #7C2846
monochromatic
#0A1F0D #194E21 #287C34 #37AA47 #56C866

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##287C34#FFFFFF#000000##FFFFFF
##287C341.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)
#7E712D
Deuteranopia (green-blind)
#746A3A
Tritanopia (blue-blind)
#10796C
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #287c34;
/* rgb */ color: rgb(40, 124, 52);
/* oklch */ color: oklch(51.9% 0.134 145.7);
Tailwind
colors: {
  custom: {
    50: '#6da36e',
    500: '#287c34',
    950: '#000000',
  },
}
SCSS
$custom: #287c34;
$custom-light: #6da36e;
$custom-dark: #000000;
JSON
{
  "hex": "#287c34",
  "rgb": {
    "r": 40,
    "g": 124,
    "b": 52
  },
  "hsl": {
    "h": 128.571,
    "s": 51.22,
    "l": 32.157
  },
  "oklch": {
    "l": 0.51895,
    "c": 0.13401,
    "h": 145.7
  },
  "luminance": 0.15114
}

Semantic roles & 50–950 ramp

primary
#287C34
secondary
#AD52A0
accent
#4DC6DB
background
#F6FAF6
surface
#ECF4EC
border
#C7CEC7
text
#080F07
muted
#7A7F7A

Preview Lab

Preview with #287C34

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

Preview Lab → · Contrast checker → · Palette generator →

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