#287725#287725

#287725 is a mid, vivid green. Relative luminance 0.138; OKLCH L 50.3% C 0.140 H 142.6°. Best body text is #FFFFFF at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#287725
RGBrgb(40, 119, 37)
HSLhsl(118, 53%, 31%)
HSVhsv(118, 69%, 47%)
CMYKcmyk(66.4%, 0%, 68.9%, 53.3%)
CIE-LABlab(43.91, -40.91, 36.82)
CIE-LCHlch(43.91, 55.04, 138.01°)
OKLaboklab(50.29% -0.1113 0.085)
OKLCHoklch(50.29% 0.14 142.6)
XYZxyz(7.8054, 13.7776, 3.9979)
Luminance0.1378 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#287725 #742577
analogous
#517725 #287725 #25774B
triadic
#287725 #252877 #772528
tetradic
#287725 #255177 #742577 #774B25
square
#287725 #255177 #742577 #774B25
split-complementary
#287725 #4B2577 #772551
monochromatic
#091A08 #184816 #287725 #38A634 #53C84E

Accessibility & contrast

On white

5.59
#287725 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#287725 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #287725
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##287725#FFFFFF#000000##FFFFFF
##2877251.005.593.765.59
#FFFFFF5.591.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6C1A
Deuteranopia (green-blind)
#70652C
Tritanopia (blue-blind)
#187366
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #287725;
/* rgb */ color: rgb(40, 119, 37);
/* oklch */ color: oklch(50.3% 0.140 142.6);
Tailwind
colors: {
  custom: {
    50: '#6d9f64',
    500: '#287725',
    950: '#000000',
  },
}
SCSS
$custom: #287725;
$custom-light: #6d9f64;
$custom-dark: #000000;
JSON
{
  "hex": "#287725",
  "rgb": {
    "r": 40,
    "g": 119,
    "b": 37
  },
  "hsl": {
    "h": 117.805,
    "s": 52.564,
    "l": 30.588
  },
  "oklch": {
    "l": 0.50292,
    "c": 0.14003,
    "h": 142.6
  },
  "luminance": 0.13778
}

Semantic roles & 50–950 ramp

primary
#287725
secondary
#A64EA9
accent
#4CDCD7
background
#F6F9F6
surface
#ECF2EB
border
#C7CCC6
text
#080E05
muted
#7B7E7A

Preview Lab

Preview with #287725

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

Preview Lab → · Contrast checker → · Palette generator →

#287725 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva