#287A30#287A30

#287A30 is a mid, vivid green. Relative luminance 0.146; OKLCH L 51.3% C 0.135 H 144.8°. Best body text is #FFFFFF at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#287A30
RGBrgb(40, 122, 48)
HSLhsl(126, 51%, 32%)
HSVhsv(126, 67%, 48%)
CMYKcmyk(67.2%, 0%, 60.7%, 52.2%)
CIE-LABlab(45.06, -40.75, 32.85)
CIE-LCHlch(45.06, 52.34, 141.13°)
OKLaboklab(51.28% -0.1103 0.0777)
OKLCHoklch(51.28% 0.135 144.8)
XYZxyz(8.3676, 14.5827, 5.1695)
Luminance0.1458 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#287A30 #7A2872
analogous
#497A28 #287A30 #287A59
triadic
#287A30 #30287A #7A3028
tetradic
#287A30 #28497A #7A2872 #7A5928
square
#287A30 #28497A #7A2872 #7A5928
split-complementary
#287A30 #59287A #7A2849
monochromatic
#0A1E0C #194C1E #287A30 #37A842 #55C760

Accessibility & contrast

On white

5.36
#287A30 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#287A30 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #287A30
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##287A30#FFFFFF#000000##FFFFFF
##287A301.005.363.925.36
#FFFFFF5.361.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6F28
Deuteranopia (green-blind)
#726836
Tritanopia (blue-blind)
#13776A
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #287a30;
/* rgb */ color: rgb(40, 122, 48);
/* oklch */ color: oklch(51.3% 0.135 144.8);
Tailwind
colors: {
  custom: {
    50: '#6da16b',
    500: '#287a30',
    950: '#000000',
  },
}
SCSS
$custom: #287a30;
$custom-light: #6da16b;
$custom-dark: #000000;
JSON
{
  "hex": "#287a30",
  "rgb": {
    "r": 40,
    "g": 122,
    "b": 48
  },
  "hsl": {
    "h": 125.854,
    "s": 50.617,
    "l": 31.765
  },
  "oklch": {
    "l": 0.51275,
    "c": 0.13489,
    "h": 144.8
  },
  "luminance": 0.14584
}

Semantic roles & 50–950 ramp

primary
#287A30
secondary
#AC52A3
accent
#4ECCDA
background
#F6FAF6
surface
#ECF3EB
border
#C7CDC6
text
#080F07
muted
#7A7F7A

Preview Lab

Preview with #287A30

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

Preview Lab → · Contrast checker → · Palette generator →

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