#287E24#287E24

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

Color values

HEX#287E24
RGBrgb(40, 126, 36)
HSLhsl(117, 56%, 32%)
HSVhsv(117, 71%, 49%)
CMYKcmyk(68.3%, 0%, 71.4%, 50.6%)
CIE-LABlab(46.31, -43.64, 39.83)
CIE-LCHlch(46.31, 59.09, 137.61°)
OKLaboklab(52.27% -0.1187 0.0912)
OKLCHoklch(52.27% 0.15 142.5)
XYZxyz(8.6539, 15.4993, 4.2043)
Luminance0.1550 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#287E24 #7A247E
analogous
#557E24 #287E24 #247E4D
triadic
#287E24 #24287E #7E2428
tetradic
#287E24 #24557E #7A247E #7E4D24
square
#287E24 #24557E #7A247E #7E4D24
split-complementary
#287E24 #4D247E #7E2455
monochromatic
#0A1F09 #194E16 #287E24 #37AE32 #55CD50

Accessibility & contrast

On white

5.12
#287E24 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#287E24 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #287E24
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##287E24#FFFFFF#000000##FFFFFF
##287E241.005.124.105.12
#FFFFFF5.121.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817217
Deuteranopia (green-blind)
#776B2D
Tritanopia (blue-blind)
#157A6C
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #287e24;
/* rgb */ color: rgb(40, 126, 36);
/* oklch */ color: oklch(52.3% 0.150 142.5);
Tailwind
colors: {
  custom: {
    50: '#6ea464',
    500: '#287e24',
    950: '#000000',
  },
}
SCSS
$custom: #287e24;
$custom-light: #6ea464;
$custom-dark: #000000;
JSON
{
  "hex": "#287e24",
  "rgb": {
    "r": 40,
    "g": 126,
    "b": 36
  },
  "hsl": {
    "h": 117.333,
    "s": 55.556,
    "l": 31.765
  },
  "oklch": {
    "l": 0.52274,
    "c": 0.14972,
    "h": 142.5
  },
  "luminance": 0.155
}

Semantic roles & 50–950 ramp

primary
#287E24
secondary
#AC4EB0
accent
#49DFD8
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F06
muted
#7B7F7A

Preview Lab

Preview with #287E24

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

Preview Lab → · Contrast checker → · Palette generator →

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