#286339#286339

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

Color values

HEX#286339
RGBrgb(40, 99, 57)
HSLhsl(137, 42%, 27%)
HSVhsv(137, 60%, 39%)
CMYKcmyk(59.6%, 0%, 42.4%, 61.2%)
CIE-LABlab(37.24, -29.58, 18.24)
CIE-LCHlch(37.24, 34.76, 148.34°)
OKLaboklab(44.88% -0.0801 0.0453)
OKLCHoklch(44.88% 0.092 150.5)
XYZxyz(6.0750, 9.6697, 5.4164)
Luminance0.0967 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#286339 #632852
analogous
#356328 #286339 #286357
triadic
#286339 #392863 #633928
tetradic
#286339 #283563 #632852 #635728
square
#286339 #283563 #632852 #635728
split-complementary
#286339 #572863 #632835
monochromatic
#09160D #163720 #286339 #3A8F52 #4EB76C

Accessibility & contrast

On white

7.16
#286339 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #286339
7.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##286339#FFFFFF#000000##FFFFFF
##2863391.007.162.937.16
#FFFFFF7.161.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#645B36
Deuteranopia (green-blind)
#5C553C
Tritanopia (blue-blind)
#196159
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #286339;
/* rgb */ color: rgb(40, 99, 57);
/* oklch */ color: oklch(44.9% 0.092 150.5);
Tailwind
colors: {
  custom: {
    50: '#689070',
    500: '#286339',
    950: '#000000',
  },
}
SCSS
$custom: #286339;
$custom-light: #689070;
$custom-dark: #000000;
JSON
{
  "hex": "#286339",
  "rgb": {
    "r": 40,
    "g": 99,
    "b": 57
  },
  "hsl": {
    "h": 137.288,
    "s": 42.446,
    "l": 27.255
  },
  "oklch": {
    "l": 0.44883,
    "c": 0.09206,
    "h": 150.5
  },
  "luminance": 0.0967
}

Semantic roles & 50–950 ramp

primary
#286339
secondary
#965182
accent
#56AED2
background
#F6F8F6
surface
#EBF0EC
border
#C6CBC7
text
#060C07
muted
#7A7D7A

Preview Lab

Preview with #286339

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

Preview Lab → · Contrast checker → · Palette generator →

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