#287214#287214

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

Color values

HEX#287214
RGBrgb(40, 114, 20)
HSLhsl(107, 70%, 26%)
HSVhsv(107, 82%, 45%)
CMYKcmyk(64.9%, 0%, 82.5%, 55.3%)
CIE-LABlab(42.05, -40.47, 41.69)
CIE-LCHlch(42.05, 58.10, 134.15°)
OKLaboklab(48.72% -0.1111 0.0928)
OKLCHoklch(48.72% 0.145 140.1)
XYZxyz(7.0183, 12.5356, 2.7114)
Luminance0.1254 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#287214 #5E1472
analogous
#577214 #287214 #14722F
triadic
#287214 #142872 #721428
tetradic
#287214 #145772 #5E1472 #722F14
square
#287214 #145772 #5E1472 #722F14
split-complementary
#287214 #2F1472 #721457
monochromatic
#091A05 #163E0B #287214 #3AA61D #4DD927

Accessibility & contrast

On white

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

On black

3.51
#287214 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##287214#FFFFFF#000000##FFFFFF
##2872141.005.993.515.99
#FFFFFF5.991.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.991.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #287214;
/* rgb */ color: rgb(40, 114, 20);
/* oklch */ color: oklch(48.7% 0.145 140.1);
Tailwind
colors: {
  custom: {
    50: '#6d9b5a',
    500: '#287214',
    950: '#000000',
  },
}
SCSS
$custom: #287214;
$custom-light: #6d9b5a;
$custom-dark: #000000;
JSON
{
  "hex": "#287214",
  "rgb": {
    "r": 40,
    "g": 114,
    "b": 20
  },
  "hsl": {
    "h": 107.234,
    "s": 70.149,
    "l": 26.275
  },
  "oklch": {
    "l": 0.48715,
    "c": 0.14474,
    "h": 140.1
  },
  "luminance": 0.12536
}

Semantic roles & 50–950 ramp

primary
#287214
secondary
#9139A8
accent
#3BEDC7
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#080E04
muted
#7A7E79

Preview Lab

Preview with #287214

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

Preview Lab → · Contrast checker → · Palette generator →

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