#286217#286217

#286217 is a dark, vivid green. Relative luminance 0.092; OKLCH L 44.1% C 0.122 H 139.6°. Best body text is #FFFFFF at 7.37:1 contrast (WCAG AA passes).

Color values

HEX#286217
RGBrgb(40, 98, 23)
HSLhsl(106, 62%, 24%)
HSVhsv(106, 77%, 38%)
CMYKcmyk(59.2%, 0%, 76.5%, 61.6%)
CIE-LABlab(36.46, -33.93, 35.07)
CIE-LCHlch(36.46, 48.79, 134.05°)
OKLaboklab(44.1% -0.0932 0.0794)
OKLCHoklch(44.1% 0.122 139.6)
XYZxyz(5.3972, 9.2479, 2.3111)
Luminance0.0925 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#286217 #511762
analogous
#4D6217 #286217 #17622B
triadic
#286217 #172862 #621728
tetradic
#286217 #174D62 #511762 #622B17
square
#286217 #174D62 #511762 #622B17
split-complementary
#286217 #2B1762 #62174D
monochromatic
#0A1906 #14300B #286217 #3C9423 #50C52E

Accessibility & contrast

On white

7.37
#286217 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#286217 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #286217
7.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##286217#FFFFFF#000000##FFFFFF
##2862171.007.372.857.37
#FFFFFF7.371.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#65590A
Deuteranopia (green-blind)
#5E541E
Tritanopia (blue-blind)
#225F53
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #286217;
/* rgb */ color: rgb(40, 98, 23);
/* oklch */ color: oklch(44.1% 0.122 139.6);
Tailwind
colors: {
  custom: {
    50: '#698f59',
    500: '#286217',
    950: '#000000',
  },
}
SCSS
$custom: #286217;
$custom-light: #698f59;
$custom-dark: #000000;
JSON
{
  "hex": "#286217",
  "rgb": {
    "r": 40,
    "g": 98,
    "b": 23
  },
  "hsl": {
    "h": 106.4,
    "s": 61.983,
    "l": 23.725
  },
  "oklch": {
    "l": 0.44096,
    "c": 0.12249,
    "h": 139.6
  },
  "luminance": 0.09248
}

Semantic roles & 50–950 ramp

primary
#286217
secondary
#843C99
accent
#43E5C0
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#070C04
muted
#7A7D79

Preview Lab

Preview with #286217

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

Preview Lab → · Contrast checker → · Palette generator →

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