#286211#286211

#286211 is a dark, vivid green. Relative luminance 0.092; OKLCH L 44.0% C 0.126 H 138.7°. Best body text is #FFFFFF at 7.38:1 contrast (WCAG AA passes).

Color values

HEX#286211
RGBrgb(40, 98, 17)
HSLhsl(103, 70%, 23%)
HSVhsv(103, 83%, 38%)
CMYKcmyk(59.2%, 0%, 82.7%, 61.6%)
CIE-LABlab(36.42, -34.39, 37.35)
CIE-LCHlch(36.42, 50.77, 132.64°)
OKLaboklab(44.05% -0.0949 0.0833)
OKLCHoklch(44.05% 0.126 138.7)
XYZxyz(5.3437, 9.2265, 2.0295)
Luminance0.0923 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#286211 #4B1162
analogous
#506211 #286211 #116222
triadic
#286211 #112862 #621128
tetradic
#286211 #115062 #4B1162 #622211
square
#286211 #115062 #4B1162 #622211
split-complementary
#286211 #221162 #621150
monochromatic
#0B1A05 #132E08 #286211 #3D961A #53CA23

Accessibility & contrast

On white

7.38
#286211 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #286211
7.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##286211#FFFFFF#000000##FFFFFF
##2862111.007.382.857.38
#FFFFFF7.381.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#655900
Deuteranopia (green-blind)
#5E541A
Tritanopia (blue-blind)
#225E53
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #286211;
/* rgb */ color: rgb(40, 98, 17);
/* oklch */ color: oklch(44.0% 0.126 138.7);
Tailwind
colors: {
  custom: {
    50: '#6a8f56',
    500: '#286211',
    950: '#000000',
  },
}
SCSS
$custom: #286211;
$custom-light: #6a8f56;
$custom-dark: #000000;
JSON
{
  "hex": "#286211",
  "rgb": {
    "r": 40,
    "g": 98,
    "b": 17
  },
  "hsl": {
    "h": 102.963,
    "s": 70.435,
    "l": 22.549
  },
  "oklch": {
    "l": 0.4405,
    "c": 0.12624,
    "h": 138.7
  },
  "luminance": 0.09227
}

Semantic roles & 50–950 ramp

primary
#286211
secondary
#7D349A
accent
#3BEDBA
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#070C03
muted
#7A7D78

Preview Lab

Preview with #286211

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

Preview Lab → · Contrast checker → · Palette generator →

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