#287210#287210

#287210 is a mid, vivid green. Relative luminance 0.125; OKLCH L 48.7% C 0.147 H 139.7°. Best body text is #FFFFFF at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#287210
RGBrgb(40, 114, 16)
HSLhsl(105, 75%, 25%)
HSVhsv(105, 86%, 45%)
CMYKcmyk(64.9%, 0%, 86%, 55.3%)
CIE-LABlab(42.03, -40.71, 42.92)
CIE-LCHlch(42.03, 59.16, 133.49°)
OKLaboklab(48.69% -0.1119 0.0948)
OKLCHoklch(48.69% 0.147 139.7)
XYZxyz(6.9856, 12.5225, 2.5391)
Luminance0.1252 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#287210 #5A1072
analogous
#597210 #287210 #107229
triadic
#287210 #102872 #721028
tetradic
#287210 #105972 #5A1072 #722910
square
#287210 #105972 #5A1072 #722910
split-complementary
#287210 #291072 #721059
monochromatic
#091B04 #153C08 #287210 #3BA818 #4EDD1F

Accessibility & contrast

On white

5.99
#287210 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#287210 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #287210
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##287210#FFFFFF#000000##FFFFFF
##2872101.005.993.505.99
#FFFFFF5.991.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF5.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#756700
Deuteranopia (green-blind)
#6C611D
Tritanopia (blue-blind)
#1E6E60
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #287210;
/* rgb */ color: rgb(40, 114, 16);
/* oklch */ color: oklch(48.7% 0.147 139.7);
Tailwind
colors: {
  custom: {
    50: '#6d9b59',
    500: '#287210',
    950: '#000000',
  },
}
SCSS
$custom: #287210;
$custom-light: #6d9b59;
$custom-dark: #000000;
JSON
{
  "hex": "#287210",
  "rgb": {
    "r": 40,
    "g": 114,
    "b": 16
  },
  "hsl": {
    "h": 105.306,
    "s": 75.385,
    "l": 25.49
  },
  "oklch": {
    "l": 0.48692,
    "c": 0.14665,
    "h": 139.7
  },
  "luminance": 0.12523
}

Semantic roles & 50–950 ramp

primary
#287210
secondary
#8D34A9
accent
#36F2C4
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#080E04
muted
#7A7E79

Preview Lab

Preview with #287210

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

Preview Lab → · Contrast checker → · Palette generator →

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