#287339#287339

#287339 is a mid, moderate green. Relative luminance 0.130; OKLCH L 49.4% C 0.116 H 148.0°. Best body text is #FFFFFF at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#287339
RGBrgb(40, 115, 57)
HSLhsl(134, 48%, 30%)
HSVhsv(134, 65%, 45%)
CMYKcmyk(65.2%, 0%, 50.4%, 54.9%)
CIE-LABlab(42.77, -36.58, 25.34)
CIE-LCHlch(42.77, 44.50, 145.28°)
OKLaboklab(49.43% -0.0988 0.0617)
OKLCHoklch(49.43% 0.116 148)
XYZxyz(7.7438, 13.0072, 5.9727)
Luminance0.1301 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#287339 #732862
analogous
#3C7328 #287339 #28735E
triadic
#287339 #392873 #733928
tetradic
#287339 #283C73 #732862 #735E28
square
#287339 #283C73 #732862 #735E28
split-complementary
#287339 #5E2873 #73283C
monochromatic
#08180C #184622 #287339 #38A050 #52C36C

Accessibility & contrast

On white

5.83
#287339 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#287339 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #287339
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##287339#FFFFFF#000000##FFFFFF
##2873391.005.833.605.83
#FFFFFF5.831.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#746934
Deuteranopia (green-blind)
#6B623D
Tritanopia (blue-blind)
#127165
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #287339;
/* rgb */ color: rgb(40, 115, 57);
/* oklch */ color: oklch(49.4% 0.116 148.0);
Tailwind
colors: {
  custom: {
    50: '#6b9c70',
    500: '#287339',
    950: '#000000',
  },
}
SCSS
$custom: #287339;
$custom-light: #6b9c70;
$custom-dark: #000000;
JSON
{
  "hex": "#287339",
  "rgb": {
    "r": 40,
    "g": 115,
    "b": 57
  },
  "hsl": {
    "h": 133.6,
    "s": 48.387,
    "l": 30.392
  },
  "oklch": {
    "l": 0.4943,
    "c": 0.11646,
    "h": 148
  },
  "luminance": 0.13008
}

Semantic roles & 50–950 ramp

primary
#287339
secondary
#A55292
accent
#50B9D8
background
#F6F9F6
surface
#ECF2EC
border
#C7CCC7
text
#070E07
muted
#7A7E7A

Preview Lab

Preview with #287339

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

Preview Lab → · Contrast checker → · Palette generator →

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