#287C25#287C25

#287C25 is a mid, vivid green. Relative luminance 0.150; OKLCH L 51.7% C 0.146 H 142.6°. Best body text is #FFFFFF at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#287C25
RGBrgb(40, 124, 37)
HSLhsl(118, 54%, 32%)
HSVhsv(118, 70%, 49%)
CMYKcmyk(67.7%, 0%, 70.2%, 51.4%)
CIE-LABlab(45.63, -42.80, 38.68)
CIE-LCHlch(45.63, 57.69, 137.90°)
OKLaboklab(51.72% -0.1164 0.0889)
OKLCHoklch(51.72% 0.146 142.6)
XYZxyz(8.4162, 14.9991, 4.2015)
Luminance0.1500 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#287C25 #79257C
analogous
#547C25 #287C25 #257C4E
triadic
#287C25 #25287C #7C2528
tetradic
#287C25 #25547C #79257C #7C4E25
square
#287C25 #25547C #79257C #7C4E25
split-complementary
#287C25 #4E257C #7C2554
monochromatic
#0A1E09 #194D17 #287C25 #37AB33 #55CB50

Accessibility & contrast

On white

5.25
#287C25 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#287C25 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #287C25
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##287C25#FFFFFF#000000##FFFFFF
##287C251.005.254.005.25
#FFFFFF5.251.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F7019
Deuteranopia (green-blind)
#75692D
Tritanopia (blue-blind)
#16786A
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #287c25;
/* rgb */ color: rgb(40, 124, 37);
/* oklch */ color: oklch(51.7% 0.146 142.6);
Tailwind
colors: {
  custom: {
    50: '#6ea364',
    500: '#287c25',
    950: '#000000',
  },
}
SCSS
$custom: #287c25;
$custom-light: #6ea364;
$custom-dark: #000000;
JSON
{
  "hex": "#287c25",
  "rgb": {
    "r": 40,
    "g": 124,
    "b": 37
  },
  "hsl": {
    "h": 117.931,
    "s": 54.037,
    "l": 31.569
  },
  "oklch": {
    "l": 0.51715,
    "c": 0.14647,
    "h": 142.6
  },
  "luminance": 0.15
}

Semantic roles & 50–950 ramp

primary
#287C25
secondary
#AB4FAE
accent
#4ADDD8
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F06
muted
#7B7F7A

Preview Lab

Preview with #287C25

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

Preview Lab → · Contrast checker → · Palette generator →

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