#287741#287741

#287741 is a mid, moderate green. Relative luminance 0.140; OKLCH L 50.7% C 0.114 H 150.5°. Best body text is #FFFFFF at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#287741
RGBrgb(40, 119, 65)
HSLhsl(139, 50%, 31%)
HSVhsv(139, 66%, 47%)
CMYKcmyk(66.4%, 0%, 45.4%, 53.3%)
CIE-LABlab(44.27, -36.84, 22.80)
CIE-LCHlch(44.27, 43.33, 148.25°)
OKLaboklab(50.7% -0.0995 0.0562)
OKLCHoklch(50.7% 0.114 150.5)
XYZxyz(8.4254, 14.0256, 7.2632)
Luminance0.1403 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#287741 #77285E
analogous
#367728 #287741 #287768
triadic
#287741 #412877 #774128
tetradic
#287741 #283677 #77285E #776828
square
#287741 #283677 #77285E #776828
split-complementary
#287741 #682877 #772836
monochromatic
#091B0F #194928 #287741 #37A55A #54C578

Accessibility & contrast

On white

5.52
#287741 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#287741 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #287741
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##287741#FFFFFF#000000##FFFFFF
##2877411.005.523.815.52
#FFFFFF5.521.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786D3D
Deuteranopia (green-blind)
#6E6645
Tritanopia (blue-blind)
#0A756A
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #287741;
/* rgb */ color: rgb(40, 119, 65);
/* oklch */ color: oklch(50.7% 0.114 150.5);
Tailwind
colors: {
  custom: {
    50: '#6c9f76',
    500: '#287741',
    950: '#000000',
  },
}
SCSS
$custom: #287741;
$custom-light: #6c9f76;
$custom-dark: #000000;
JSON
{
  "hex": "#287741",
  "rgb": {
    "r": 40,
    "g": 119,
    "b": 65
  },
  "hsl": {
    "h": 138.987,
    "s": 49.686,
    "l": 31.176
  },
  "oklch": {
    "l": 0.50702,
    "c": 0.11423,
    "h": 150.5
  },
  "luminance": 0.14026
}

Semantic roles & 50–950 ramp

primary
#287741
secondary
#A9528D
accent
#4FADD9
background
#F6F9F7
surface
#ECF2ED
border
#C7CCC8
text
#070E08
muted
#7A7E7B

Preview Lab

Preview with #287741

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

Preview Lab → · Contrast checker → · Palette generator →

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