#287121#287121

#287121 is a mid, vivid green. Relative luminance 0.124; OKLCH L 48.5% C 0.135 H 141.9°. Best body text is #FFFFFF at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#287121
RGBrgb(40, 113, 33)
HSLhsl(115, 55%, 29%)
HSVhsv(115, 71%, 44%)
CMYKcmyk(64.6%, 0%, 70.8%, 55.7%)
CIE-LABlab(41.80, -39.01, 36.34)
CIE-LCHlch(41.80, 53.31, 137.03°)
OKLaboklab(48.53% -0.1064 0.0835)
OKLCHoklch(48.53% 0.135 141.9)
XYZxyz(7.0543, 12.3705, 3.4545)
Luminance0.1237 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#287121 #6A2171
analogous
#507121 #287121 #217142
triadic
#287121 #212871 #712128
tetradic
#287121 #215071 #6A2171 #714221
square
#287121 #215071 #6A2171 #714221
split-complementary
#287121 #422171 #712150
monochromatic
#081807 #174213 #287121 #39A02F #50C844

Accessibility & contrast

On white

6.04
#287121 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#287121 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #287121
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##287121#FFFFFF#000000##FFFFFF
##2871211.006.043.476.04
#FFFFFF6.041.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#746616
Deuteranopia (green-blind)
#6B6028
Tritanopia (blue-blind)
#1B6D61
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #287121;
/* rgb */ color: rgb(40, 113, 33);
/* oklch */ color: oklch(48.5% 0.135 141.9);
Tailwind
colors: {
  custom: {
    50: '#6c9b61',
    500: '#287121',
    950: '#000000',
  },
}
SCSS
$custom: #287121;
$custom-light: #6c9b61;
$custom-dark: #000000;
JSON
{
  "hex": "#287121",
  "rgb": {
    "r": 40,
    "g": 113,
    "b": 33
  },
  "hsl": {
    "h": 114.75,
    "s": 54.795,
    "l": 28.627
  },
  "oklch": {
    "l": 0.48533,
    "c": 0.13521,
    "h": 141.9
  },
  "luminance": 0.12371
}

Semantic roles & 50–950 ramp

primary
#287121
secondary
#9D49A5
accent
#4ADED1
background
#F6F9F5
surface
#ECF2EA
border
#C7CCC6
text
#070E05
muted
#7A7E79

Preview Lab

Preview with #287121

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

Preview Lab → · Contrast checker → · Palette generator →

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