#287D29#287D29

#287D29 is a mid, vivid green. Relative luminance 0.153; OKLCH L 52.0% C 0.145 H 143.3°. Best body text is #FFFFFF at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#287D29
RGBrgb(40, 125, 41)
HSLhsl(121, 52%, 32%)
HSVhsv(121, 68%, 49%)
CMYKcmyk(68%, 0%, 67.2%, 51%)
CIE-LABlab(46.01, -42.75, 37.30)
CIE-LCHlch(46.01, 56.73, 138.90°)
OKLaboklab(52.04% -0.116 0.0865)
OKLCHoklch(52.04% 0.145 143.3)
XYZxyz(8.6084, 15.2776, 4.5926)
Luminance0.1528 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#287D29 #7D287C
analogous
#517D28 #287D29 #287D54
triadic
#287D29 #29287D #7D2928
tetradic
#287D29 #28517D #7D287C #7D5428
square
#287D29 #28517D #7D287C #7D5428
split-complementary
#287D29 #54287D #7D2851
monochromatic
#0A200B #194F1A #287D29 #37AB38 #56C958

Accessibility & contrast

On white

5.18
#287D29 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#287D29 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #287D29
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##287D29#FFFFFF#000000##FFFFFF
##287D291.005.184.065.18
#FFFFFF5.181.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#80711F
Deuteranopia (green-blind)
#756A30
Tritanopia (blue-blind)
#14796C
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #287d29;
/* rgb */ color: rgb(40, 125, 41);
/* oklch */ color: oklch(52.0% 0.145 143.3);
Tailwind
colors: {
  custom: {
    50: '#6ea367',
    500: '#287d29',
    950: '#000000',
  },
}
SCSS
$custom: #287d29;
$custom-light: #6ea367;
$custom-dark: #000000;
JSON
{
  "hex": "#287d29",
  "rgb": {
    "r": 40,
    "g": 125,
    "b": 41
  },
  "hsl": {
    "h": 120.706,
    "s": 51.515,
    "l": 32.353
  },
  "oklch": {
    "l": 0.52041,
    "c": 0.14472,
    "h": 143.3
  },
  "luminance": 0.15278
}

Semantic roles & 50–950 ramp

primary
#287D29
secondary
#AE53AD
accent
#4DD9DB
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F06
muted
#7B7F7A

Preview Lab

Preview with #287D29

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

Preview Lab → · Contrast checker → · Palette generator →

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