#286237#286237

#286237 is a dark, moderate green. Relative luminance 0.095; OKLCH L 44.6% C 0.093 H 149.6°. Best body text is #FFFFFF at 7.26:1 contrast (WCAG AA passes).

Color values

HEX#286237
RGBrgb(40, 98, 55)
HSLhsl(136, 42%, 27%)
HSVhsv(136, 59%, 38%)
CMYKcmyk(59.2%, 0%, 43.9%, 61.6%)
CIE-LABlab(36.86, -29.51, 18.91)
CIE-LCHlch(36.86, 35.05, 147.34°)
OKLaboklab(44.56% -0.0799 0.0468)
OKLCHoklch(44.56% 0.093 149.6)
XYZxyz(5.9319, 9.4618, 5.1274)
Luminance0.0946 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#286237 #622853
analogous
#366228 #286237 #286254
triadic
#286237 #372862 #623728
tetradic
#286237 #283662 #622853 #625428
square
#286237 #283662 #622853 #625428
split-complementary
#286237 #542862 #622836
monochromatic
#09160C #16371F #286237 #3A8D4F #4EB769

Accessibility & contrast

On white

7.26
#286237 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#286237 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #286237
7.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##286237#FFFFFF#000000##FFFFFF
##2862371.007.262.897.26
#FFFFFF7.261.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#635A34
Deuteranopia (green-blind)
#5B553A
Tritanopia (blue-blind)
#1A6057
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #286237;
/* rgb */ color: rgb(40, 98, 55);
/* oklch */ color: oklch(44.6% 0.093 149.6);
Tailwind
colors: {
  custom: {
    50: '#688f6e',
    500: '#286237',
    950: '#000000',
  },
}
SCSS
$custom: #286237;
$custom-light: #688f6e;
$custom-dark: #000000;
JSON
{
  "hex": "#286237",
  "rgb": {
    "r": 40,
    "g": 98,
    "b": 55
  },
  "hsl": {
    "h": 135.517,
    "s": 42.029,
    "l": 27.059
  },
  "oklch": {
    "l": 0.44556,
    "c": 0.09262,
    "h": 149.6
  },
  "luminance": 0.09462
}

Semantic roles & 50–950 ramp

primary
#286237
secondary
#955183
accent
#56B2D2
background
#F6F8F6
surface
#EBF0EC
border
#C6CBC7
text
#060C07
muted
#7A7D7A

Preview Lab

Preview with #286237

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

Preview Lab → · Contrast checker → · Palette generator →

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