#286131#286131

#286131 is a dark, moderate green. Relative luminance 0.092; OKLCH L 44.2% C 0.097 H 146.9°. Best body text is #FFFFFF at 7.38:1 contrast (WCAG AA passes).

Color values

HEX#286131
RGBrgb(40, 97, 49)
HSLhsl(129, 42%, 27%)
HSVhsv(129, 59%, 38%)
CMYKcmyk(58.8%, 0%, 49.5%, 62%)
CIE-LABlab(36.41, -30.14, 21.81)
CIE-LCHlch(36.41, 37.20, 144.11°)
OKLaboklab(44.15% -0.0816 0.0533)
OKLCHoklch(44.15% 0.097 146.9)
XYZxyz(5.7038, 9.2218, 4.3845)
Luminance0.0922 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#286131 #612858
analogous
#3C6128 #286131 #28614E
triadic
#286131 #312861 #613128
tetradic
#286131 #283C61 #612858 #614E28
square
#286131 #283C61 #612858 #614E28
split-complementary
#286131 #4E2861 #61283C
monochromatic
#09160B #16361B #286131 #3A8C47 #4EB65E

Accessibility & contrast

On white

7.38
#286131 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#286131 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #286131
7.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##286131#FFFFFF#000000##FFFFFF
##2861311.007.382.847.38
#FFFFFF7.381.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#62592D
Deuteranopia (green-blind)
#5B5434
Tritanopia (blue-blind)
#1D5F56
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #286131;
/* rgb */ color: rgb(40, 97, 49);
/* oklch */ color: oklch(44.2% 0.097 146.9);
Tailwind
colors: {
  custom: {
    50: '#688e6a',
    500: '#286131',
    950: '#000000',
  },
}
SCSS
$custom: #286131;
$custom-light: #688e6a;
$custom-dark: #000000;
JSON
{
  "hex": "#286131",
  "rgb": {
    "r": 40,
    "g": 97,
    "b": 49
  },
  "hsl": {
    "h": 129.474,
    "s": 41.606,
    "l": 26.863
  },
  "oklch": {
    "l": 0.44153,
    "c": 0.09748,
    "h": 146.9
  },
  "luminance": 0.09222
}

Semantic roles & 50–950 ramp

primary
#286131
secondary
#945189
accent
#56BED1
background
#F6F8F6
surface
#EBF0EB
border
#C6CBC6
text
#060C06
muted
#7A7D7A

Preview Lab

Preview with #286131

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

Preview Lab → · Contrast checker → · Palette generator →

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