#287010#287010

#287010 is a mid, vivid green. Relative luminance 0.121; OKLCH L 48.1% C 0.144 H 139.6°. Best body text is #FFFFFF at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#287010
RGBrgb(40, 112, 16)
HSLhsl(105, 75%, 25%)
HSVhsv(105, 86%, 44%)
CMYKcmyk(64.3%, 0%, 85.7%, 56.1%)
CIE-LABlab(41.34, -39.96, 42.28)
CIE-LCHlch(41.34, 58.17, 133.38°)
OKLaboklab(48.12% -0.1099 0.0934)
OKLCHoklch(48.12% 0.144 139.6)
XYZxyz(6.7625, 12.0762, 2.4647)
Luminance0.1208 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#287010 #581070
analogous
#587010 #287010 #107028
triadic
#287010 #102870 #701028
tetradic
#287010 #105870 #581070 #702810
square
#287010 #105870 #581070 #702810
split-complementary
#287010 #281070 #701058
monochromatic
#0A1B04 #153A08 #287010 #3BA618 #4EDB1F

Accessibility & contrast

On white

6.15
#287010 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#287010 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #287010
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##287010#FFFFFF#000000##FFFFFF
##2870101.006.153.426.15
#FFFFFF6.151.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#736500
Deuteranopia (green-blind)
#6B5F1C
Tritanopia (blue-blind)
#1E6C5F
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #287010;
/* rgb */ color: rgb(40, 112, 16);
/* oklch */ color: oklch(48.1% 0.144 139.6);
Tailwind
colors: {
  custom: {
    50: '#6c9a58',
    500: '#287010',
    950: '#000000',
  },
}
SCSS
$custom: #287010;
$custom-light: #6c9a58;
$custom-dark: #000000;
JSON
{
  "hex": "#287010",
  "rgb": {
    "r": 40,
    "g": 112,
    "b": 16
  },
  "hsl": {
    "h": 105,
    "s": 75,
    "l": 25.098
  },
  "oklch": {
    "l": 0.48115,
    "c": 0.14425,
    "h": 139.6
  },
  "luminance": 0.12077
}

Semantic roles & 50–950 ramp

primary
#287010
secondary
#8B34A8
accent
#36F2C3
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#080E04
muted
#7A7E79

Preview Lab

Preview with #287010

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

Preview Lab → · Contrast checker → · Palette generator →

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