#286F37#286F37

#286F37 is a mid, moderate green. Relative luminance 0.121; OKLCH L 48.3% C 0.113 H 147.8°. Best body text is #FFFFFF at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#286F37
RGBrgb(40, 111, 55)
HSLhsl(133, 47%, 30%)
HSVhsv(133, 64%, 44%)
CMYKcmyk(64%, 0%, 50.5%, 56.5%)
CIE-LABlab(41.37, -35.24, 24.68)
CIE-LCHlch(41.37, 43.02, 144.99°)
OKLaboklab(48.26% -0.0952 0.0601)
OKLCHoklch(48.26% 0.113 147.8)
XYZxyz(7.2486, 12.0951, 5.5663)
Luminance0.1210 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#286F37 #6F2860
analogous
#3D6F28 #286F37 #286F5B
triadic
#286F37 #37286F #6F3728
tetradic
#286F37 #283D6F #6F2860 #6F5B28
square
#286F37 #283D6F #6F2860 #6F5B28
split-complementary
#286F37 #5B286F #6F283D
monochromatic
#08160B #184221 #286F37 #389C4D #51C069

Accessibility & contrast

On white

6.14
#286F37 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#286F37 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #286F37
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##286F37#FFFFFF#000000##FFFFFF
##286F371.006.143.426.14
#FFFFFF6.141.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#706532
Deuteranopia (green-blind)
#675F3B
Tritanopia (blue-blind)
#156D62
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #286f37;
/* rgb */ color: rgb(40, 111, 55);
/* oklch */ color: oklch(48.3% 0.113 147.8);
Tailwind
colors: {
  custom: {
    50: '#6a996f',
    500: '#286f37',
    950: '#000000',
  },
}
SCSS
$custom: #286f37;
$custom-light: #6a996f;
$custom-dark: #000000;
JSON
{
  "hex": "#286f37",
  "rgb": {
    "r": 40,
    "g": 111,
    "b": 55
  },
  "hsl": {
    "h": 132.676,
    "s": 47.02,
    "l": 29.608
  },
  "oklch": {
    "l": 0.48261,
    "c": 0.11258,
    "h": 147.8
  },
  "luminance": 0.12096
}

Semantic roles & 50–950 ramp

primary
#286F37
secondary
#A15190
accent
#51BAD7
background
#F6F9F6
surface
#ECF2EC
border
#C7CCC7
text
#070E07
muted
#7A7E7A

Preview Lab

Preview with #286F37

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

Preview Lab → · Contrast checker → · Palette generator →

#286F37 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva