#286336#286336

#286336 is a dark, moderate green. Relative luminance 0.096; OKLCH L 44.8% C 0.095 H 149.0°. Best body text is #FFFFFF at 7.17:1 contrast (WCAG AA passes).

Color values

HEX#286336
RGBrgb(40, 99, 54)
HSLhsl(134, 42%, 27%)
HSVhsv(134, 60%, 39%)
CMYKcmyk(59.6%, 0%, 45.5%, 61.2%)
CIE-LABlab(37.19, -30.15, 19.93)
CIE-LCHlch(37.19, 36.14, 146.54°)
OKLaboklab(44.82% -0.0816 0.0491)
OKLCHoklch(44.82% 0.095 149)
XYZxyz(6.0024, 9.6406, 5.0338)
Luminance0.0964 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#286336 #632855
analogous
#386328 #286336 #286354
triadic
#286336 #362863 #633628
tetradic
#286336 #283863 #632855 #635428
square
#286336 #283863 #632855 #635428
split-complementary
#286336 #542863 #632838
monochromatic
#09160C #16371E #286336 #3A8F4E #4EB767

Accessibility & contrast

On white

7.17
#286336 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#286336 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #286336
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##286336#FFFFFF#000000##FFFFFF
##2863361.007.172.937.17
#FFFFFF7.171.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#645B33
Deuteranopia (green-blind)
#5C5539
Tritanopia (blue-blind)
#1A6158
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #286336;
/* rgb */ color: rgb(40, 99, 54);
/* oklch */ color: oklch(44.8% 0.095 149.0);
Tailwind
colors: {
  custom: {
    50: '#68906d',
    500: '#286336',
    950: '#000000',
  },
}
SCSS
$custom: #286336;
$custom-light: #68906d;
$custom-dark: #000000;
JSON
{
  "hex": "#286336",
  "rgb": {
    "r": 40,
    "g": 99,
    "b": 54
  },
  "hsl": {
    "h": 134.237,
    "s": 42.446,
    "l": 27.255
  },
  "oklch": {
    "l": 0.44822,
    "c": 0.09529,
    "h": 149
  },
  "luminance": 0.09641
}

Semantic roles & 50–950 ramp

primary
#286336
secondary
#965185
accent
#56B5D2
background
#F6F8F6
surface
#EBF0EB
border
#C6CBC6
text
#060C07
muted
#7A7D7A

Preview Lab

Preview with #286336

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

Preview Lab → · Contrast checker → · Palette generator →

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