#287E29#287E29

#287E29 is a mid, vivid green. Relative luminance 0.155; OKLCH L 52.3% C 0.146 H 143.3°. Best body text is #FFFFFF at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#287E29
RGBrgb(40, 126, 41)
HSLhsl(121, 52%, 33%)
HSVhsv(121, 68%, 49%)
CMYKcmyk(68.3%, 0%, 67.5%, 50.6%)
CIE-LABlab(46.35, -43.13, 37.67)
CIE-LCHlch(46.35, 57.26, 138.86°)
OKLaboklab(52.32% -0.1171 0.0873)
OKLCHoklch(52.32% 0.146 143.3)
XYZxyz(8.7356, 15.5320, 4.6350)
Luminance0.1553 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#287E29 #7E287D
analogous
#527E28 #287E29 #287E54
triadic
#287E29 #29287E #7E2928
tetradic
#287E29 #28527E #7E287D #7E5428
square
#287E29 #28527E #7E287D #7E5428
split-complementary
#287E29 #54287E #7E2852
monochromatic
#0B210B #19501A #287E29 #37AC38 #57CA58

Accessibility & contrast

On white

5.11
#287E29 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.11
#287E29 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #287E29
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##287E29#FFFFFF#000000##FFFFFF
##287E291.005.114.115.11
#FFFFFF5.111.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#81721E
Deuteranopia (green-blind)
#766B31
Tritanopia (blue-blind)
#137A6C
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #287e29;
/* rgb */ color: rgb(40, 126, 41);
/* oklch */ color: oklch(52.3% 0.146 143.3);
Tailwind
colors: {
  custom: {
    50: '#6ea467',
    500: '#287e29',
    950: '#000000',
  },
}
SCSS
$custom: #287e29;
$custom-light: #6ea467;
$custom-dark: #000000;
JSON
{
  "hex": "#287e29",
  "rgb": {
    "r": 40,
    "g": 126,
    "b": 41
  },
  "hsl": {
    "h": 120.698,
    "s": 51.807,
    "l": 32.549
  },
  "oklch": {
    "l": 0.52324,
    "c": 0.14601,
    "h": 143.3
  },
  "luminance": 0.15533
}

Semantic roles & 50–950 ramp

primary
#287E29
secondary
#AF53AE
accent
#4DDADB
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F06
muted
#7B7F7A

Preview Lab

Preview with #287E29

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

Preview Lab → · Contrast checker → · Palette generator →

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