#287239#287239

#287239 is a mid, moderate green. Relative luminance 0.128; OKLCH L 49.1% C 0.115 H 148.1°. Best body text is #FFFFFF at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#287239
RGBrgb(40, 114, 57)
HSLhsl(134, 48%, 30%)
HSVhsv(134, 65%, 45%)
CMYKcmyk(64.9%, 0%, 50%, 55.3%)
CIE-LABlab(42.43, -36.16, 24.91)
CIE-LCHlch(42.43, 43.91, 145.44°)
OKLaboklab(49.15% -0.0977 0.0607)
OKLCHoklch(49.15% 0.115 148.1)
XYZxyz(7.6304, 12.7804, 5.9348)
Luminance0.1278 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#287239 #722861
analogous
#3C7228 #287239 #28725E
triadic
#287239 #392872 #723928
tetradic
#287239 #283C72 #722861 #725E28
square
#287239 #283C72 #722861 #725E28
split-complementary
#287239 #5E2872 #72283C
monochromatic
#08170C #184522 #287239 #389F50 #52C26C

Accessibility & contrast

On white

5.91
#287239 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#287239 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #287239
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##287239#FFFFFF#000000##FFFFFF
##2872391.005.913.565.91
#FFFFFF5.911.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#736834
Deuteranopia (green-blind)
#6A623D
Tritanopia (blue-blind)
#137065
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #287239;
/* rgb */ color: rgb(40, 114, 57);
/* oklch */ color: oklch(49.1% 0.115 148.1);
Tailwind
colors: {
  custom: {
    50: '#6b9b70',
    500: '#287239',
    950: '#000000',
  },
}
SCSS
$custom: #287239;
$custom-light: #6b9b70;
$custom-dark: #000000;
JSON
{
  "hex": "#287239",
  "rgb": {
    "r": 40,
    "g": 114,
    "b": 57
  },
  "hsl": {
    "h": 133.784,
    "s": 48.052,
    "l": 30.196
  },
  "oklch": {
    "l": 0.49147,
    "c": 0.115,
    "h": 148.1
  },
  "luminance": 0.12781
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #287239

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

Preview Lab → · Contrast checker → · Palette generator →

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