#286236#286236

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

Color values

HEX#286236
RGBrgb(40, 98, 54)
HSLhsl(134, 42%, 27%)
HSVhsv(134, 59%, 38%)
CMYKcmyk(59.2%, 0%, 44.9%, 61.6%)
CIE-LABlab(36.84, -29.70, 19.47)
CIE-LCHlch(36.84, 35.51, 146.75°)
OKLaboklab(44.54% -0.0804 0.0481)
OKLCHoklch(44.54% 0.094 149.1)
XYZxyz(5.9082, 9.4523, 5.0024)
Luminance0.0945 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#286236 #622854
analogous
#376228 #286236 #286253
triadic
#286236 #362862 #623628
tetradic
#286236 #283762 #622854 #625328
square
#286236 #283762 #622854 #625328
split-complementary
#286236 #532862 #622837
monochromatic
#09160C #16371E #286236 #3A8D4E #4EB767

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##286236#FFFFFF#000000##FFFFFF
##2862361.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)
#635A33
Deuteranopia (green-blind)
#5B5539
Tritanopia (blue-blind)
#1B6057
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #286236;
/* rgb */ color: rgb(40, 98, 54);
/* oklch */ color: oklch(44.5% 0.094 149.1);
Tailwind
colors: {
  custom: {
    50: '#688f6d',
    500: '#286236',
    950: '#000000',
  },
}
SCSS
$custom: #286236;
$custom-light: #688f6d;
$custom-dark: #000000;
JSON
{
  "hex": "#286236",
  "rgb": {
    "r": 40,
    "g": 98,
    "b": 54
  },
  "hsl": {
    "h": 134.483,
    "s": 42.029,
    "l": 27.059
  },
  "oklch": {
    "l": 0.44536,
    "c": 0.0937,
    "h": 149.1
  },
  "luminance": 0.09453
}

Semantic roles & 50–950 ramp

primary
#286236
secondary
#955184
accent
#56B4D2
background
#F6F8F6
surface
#EBF0EB
border
#C6CBC6
text
#060C07
muted
#7A7D7A

Preview Lab

Preview with #286236

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

Preview Lab → · Contrast checker → · Palette generator →

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