#286127#286127

#286127 is a dark, moderate green. Relative luminance 0.091; OKLCH L 44.0% C 0.108 H 143.2°. Best body text is #FFFFFF at 7.42:1 contrast (WCAG AA passes).

Color values

HEX#286127
RGBrgb(40, 97, 39)
HSLhsl(119, 43%, 27%)
HSVhsv(119, 60%, 38%)
CMYKcmyk(58.8%, 0%, 59.8%, 62%)
CIE-LABlab(36.26, -31.70, 27.17)
CIE-LCHlch(36.26, 41.75, 139.40°)
OKLaboklab(43.99% -0.0862 0.0645)
OKLCHoklch(43.99% 0.108 143.2)
XYZxyz(5.5157, 9.1465, 3.3939)
Luminance0.0915 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#286127 #602761
analogous
#456127 #286127 #276143
triadic
#286127 #272861 #612728
tetradic
#286127 #274561 #602761 #614327
square
#286127 #274561 #602761 #614327
split-complementary
#286127 #432761 #612745
monochromatic
#091609 #163515 #286127 #3A8D39 #4DB74C

Accessibility & contrast

On white

7.42
#286127 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#286127 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #286127
7.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##286127#FFFFFF#000000##FFFFFF
##2861271.007.422.837.42
#FFFFFF7.421.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#635821
Deuteranopia (green-blind)
#5C532B
Tritanopia (blue-blind)
#1F5E54
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #286127;
/* rgb */ color: rgb(40, 97, 39);
/* oklch */ color: oklch(44.0% 0.108 143.2);
Tailwind
colors: {
  custom: {
    50: '#688e63',
    500: '#286127',
    950: '#000000',
  },
}
SCSS
$custom: #286127;
$custom-light: #688e63;
$custom-dark: #000000;
JSON
{
  "hex": "#286127",
  "rgb": {
    "r": 40,
    "g": 97,
    "b": 39
  },
  "hsl": {
    "h": 118.966,
    "s": 42.647,
    "l": 26.667
  },
  "oklch": {
    "l": 0.43989,
    "c": 0.10769,
    "h": 143.2
  },
  "luminance": 0.09147
}

Semantic roles & 50–950 ramp

primary
#286127
secondary
#935094
accent
#55D2D0
background
#F6F8F5
surface
#EBF0EA
border
#C6CBC6
text
#060C05
muted
#7A7D79

Preview Lab

Preview with #286127

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

Preview Lab → · Contrast checker → · Palette generator →

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