#287D30#287D30

#287D30 is a mid, vivid green. Relative luminance 0.153; OKLCH L 52.1% C 0.139 H 144.7°. Best body text is #FFFFFF at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#287D30
RGBrgb(40, 125, 48)
HSLhsl(126, 52%, 32%)
HSVhsv(126, 68%, 49%)
CMYKcmyk(68%, 0%, 61.6%, 51%)
CIE-LABlab(46.08, -41.91, 34.04)
CIE-LCHlch(46.08, 53.99, 140.91°)
OKLaboklab(52.12% -0.1134 0.0802)
OKLCHoklch(52.12% 0.139 144.7)
XYZxyz(8.7416, 15.3308, 5.2942)
Luminance0.1533 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#287D30 #7D2875
analogous
#4B7D28 #287D30 #287D5B
triadic
#287D30 #30287D #7D3028
tetradic
#287D30 #284B7D #7D2875 #7D5B28
square
#287D30 #284B7D #7D2875 #7D5B28
split-complementary
#287D30 #5B287D #7D284B
monochromatic
#0A200C #194F1E #287D30 #37AB42 #56C961

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##287D30#FFFFFF#000000##FFFFFF
##287D301.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)
#7F7128
Deuteranopia (green-blind)
#756A36
Tritanopia (blue-blind)
#117A6C
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #287d30;
/* rgb */ color: rgb(40, 125, 48);
/* oklch */ color: oklch(52.1% 0.139 144.7);
Tailwind
colors: {
  custom: {
    50: '#6ea36b',
    500: '#287d30',
    950: '#000000',
  },
}
SCSS
$custom: #287d30;
$custom-light: #6ea36b;
$custom-dark: #000000;
JSON
{
  "hex": "#287d30",
  "rgb": {
    "r": 40,
    "g": 125,
    "b": 48
  },
  "hsl": {
    "h": 125.647,
    "s": 51.515,
    "l": 32.353
  },
  "oklch": {
    "l": 0.52123,
    "c": 0.13893,
    "h": 144.7
  },
  "luminance": 0.15332
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #287D30

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

Preview Lab → · Contrast checker → · Palette generator →

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