#287939#287939

#287939 is a mid, vivid green. Relative luminance 0.144; OKLCH L 51.1% C 0.125 H 147.4°. Best body text is #FFFFFF at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#287939
RGBrgb(40, 121, 57)
HSLhsl(133, 50%, 32%)
HSVhsv(133, 67%, 47%)
CMYKcmyk(66.9%, 0%, 52.9%, 52.5%)
CIE-LABlab(44.83, -39.04, 27.90)
CIE-LCHlch(44.83, 47.98, 144.45°)
OKLaboklab(51.12% -0.1054 0.0674)
OKLCHoklch(51.12% 0.125 147.4)
XYZxyz(8.4504, 14.4204, 6.2082)
Luminance0.1442 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#287939 #792868
analogous
#407928 #287939 #287962
triadic
#287939 #392879 #793928
tetradic
#287939 #284079 #792868 #796228
square
#287939 #284079 #792868 #796228
split-complementary
#287939 #622879 #792840
monochromatic
#0A1D0E #194B23 #287939 #37A74F #55C76D

Accessibility & contrast

On white

5.41
#287939 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#287939 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #287939
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##287939#FFFFFF#000000##FFFFFF
##2879391.005.413.885.41
#FFFFFF5.411.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6E34
Deuteranopia (green-blind)
#70673E
Tritanopia (blue-blind)
#0F766A
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #287939;
/* rgb */ color: rgb(40, 121, 57);
/* oklch */ color: oklch(51.1% 0.125 147.4);
Tailwind
colors: {
  custom: {
    50: '#6ca071',
    500: '#287939',
    950: '#000000',
  },
}
SCSS
$custom: #287939;
$custom-light: #6ca071;
$custom-dark: #000000;
JSON
{
  "hex": "#287939",
  "rgb": {
    "r": 40,
    "g": 121,
    "b": 57
  },
  "hsl": {
    "h": 132.593,
    "s": 50.311,
    "l": 31.569
  },
  "oklch": {
    "l": 0.51124,
    "c": 0.12511,
    "h": 147.4
  },
  "luminance": 0.14421
}

Semantic roles & 50–950 ramp

primary
#287939
secondary
#AB5298
accent
#4EBCDA
background
#F6F9F6
surface
#ECF2EC
border
#C7CCC7
text
#080F08
muted
#7B7E7B

Preview Lab

Preview with #287939

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

Preview Lab → · Contrast checker → · Palette generator →

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