#287E30#287E30

#287E30 is a mid, vivid green. Relative luminance 0.156; OKLCH L 52.4% C 0.140 H 144.7°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#287E30
RGBrgb(40, 126, 48)
HSLhsl(126, 52%, 33%)
HSVhsv(126, 68%, 49%)
CMYKcmyk(68.3%, 0%, 61.9%, 50.6%)
CIE-LABlab(46.43, -42.29, 34.44)
CIE-LCHlch(46.43, 54.54, 140.84°)
OKLaboklab(52.41% -0.1145 0.0811)
OKLCHoklch(52.41% 0.14 144.7)
XYZxyz(8.8689, 15.5853, 5.3366)
Luminance0.1559 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#287E30 #7E2876
analogous
#4B7E28 #287E30 #287E5B
triadic
#287E30 #30287E #7E3028
tetradic
#287E30 #284B7E #7E2876 #7E5B28
square
#287E30 #284B7E #7E2876 #7E5B28
split-complementary
#287E30 #5B287E #7E284B
monochromatic
#0B210D #19501E #287E30 #37AC42 #57CA61

Accessibility & contrast

On white

5.10
#287E30 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#287E30 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #287E30
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##287E30#FFFFFF#000000##FFFFFF
##287E301.005.104.125.10
#FFFFFF5.101.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807228
Deuteranopia (green-blind)
#766B36
Tritanopia (blue-blind)
#107B6D
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #287e30;
/* rgb */ color: rgb(40, 126, 48);
/* oklch */ color: oklch(52.4% 0.140 144.7);
Tailwind
colors: {
  custom: {
    50: '#6ea46b',
    500: '#287e30',
    950: '#000000',
  },
}
SCSS
$custom: #287e30;
$custom-light: #6ea46b;
$custom-dark: #000000;
JSON
{
  "hex": "#287e30",
  "rgb": {
    "r": 40,
    "g": 126,
    "b": 48
  },
  "hsl": {
    "h": 125.581,
    "s": 51.807,
    "l": 32.549
  },
  "oklch": {
    "l": 0.52406,
    "c": 0.14027,
    "h": 144.7
  },
  "luminance": 0.15586
}

Semantic roles & 50–950 ramp

primary
#287E30
secondary
#AF53A6
accent
#4DCEDB
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F07
muted
#7B7F7A

Preview Lab

Preview with #287E30

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

Preview Lab → · Contrast checker → · Palette generator →

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