#287E25#287E25

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

Color values

HEX#287E25
RGBrgb(40, 126, 37)
HSLhsl(118, 55%, 32%)
HSVhsv(118, 71%, 49%)
CMYKcmyk(68.3%, 0%, 70.6%, 50.6%)
CIE-LABlab(46.32, -43.54, 39.41)
CIE-LCHlch(46.32, 58.73, 137.85°)
OKLaboklab(52.28% -0.1184 0.0905)
OKLCHoklch(52.28% 0.149 142.6)
XYZxyz(8.6694, 15.5055, 4.2859)
Luminance0.1551 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#287E25 #7B257E
analogous
#547E25 #287E25 #257E4F
triadic
#287E25 #25287E #7E2528
tetradic
#287E25 #25547E #7B257E #7E4F25
square
#287E25 #25547E #7B257E #7E4F25
split-complementary
#287E25 #4F257E #7E2554
monochromatic
#0A1F09 #194F17 #287E25 #37AD33 #56CC51

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##287E25#FFFFFF#000000##FFFFFF
##287E251.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)
#817218
Deuteranopia (green-blind)
#776B2D
Tritanopia (blue-blind)
#157A6C
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #287e25;
/* rgb */ color: rgb(40, 126, 37);
/* oklch */ color: oklch(52.3% 0.149 142.6);
Tailwind
colors: {
  custom: {
    50: '#6ea464',
    500: '#287e25',
    950: '#000000',
  },
}
SCSS
$custom: #287e25;
$custom-light: #6ea464;
$custom-dark: #000000;
JSON
{
  "hex": "#287e25",
  "rgb": {
    "r": 40,
    "g": 126,
    "b": 37
  },
  "hsl": {
    "h": 117.978,
    "s": 54.601,
    "l": 31.961
  },
  "oklch": {
    "l": 0.52283,
    "c": 0.14901,
    "h": 142.6
  },
  "luminance": 0.15506
}

Semantic roles & 50–950 ramp

primary
#287E25
secondary
#AD4FB0
accent
#4ADED9
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F06
muted
#7B7F7A

Preview Lab

Preview with #287E25

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

Preview Lab → · Contrast checker → · Palette generator →

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