#286311#286311

#286311 is a dark, vivid green. Relative luminance 0.094; OKLCH L 44.3% C 0.128 H 138.8°. Best body text is #FFFFFF at 7.28:1 contrast (WCAG AA passes).

Color values

HEX#286311
RGBrgb(40, 99, 17)
HSLhsl(103, 71%, 23%)
HSVhsv(103, 83%, 39%)
CMYKcmyk(59.6%, 0%, 82.8%, 61.2%)
CIE-LABlab(36.77, -34.80, 37.68)
CIE-LCHlch(36.77, 51.29, 132.72°)
OKLaboklab(44.34% -0.096 0.084)
OKLCHoklch(44.34% 0.128 138.8)
XYZxyz(5.4379, 9.4148, 2.0609)
Luminance0.0941 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#286311 #4C1163
analogous
#516311 #286311 #116323
triadic
#286311 #112863 #631128
tetradic
#286311 #115163 #4C1163 #632311
square
#286311 #115163 #4C1163 #632311
split-complementary
#286311 #231163 #631151
monochromatic
#0B1A04 #132F08 #286311 #3D971A #52CB23

Accessibility & contrast

On white

7.28
#286311 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#286311 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #286311
7.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##286311#FFFFFF#000000##FFFFFF
##2863111.007.282.887.28
#FFFFFF7.281.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#665A00
Deuteranopia (green-blind)
#5F551A
Tritanopia (blue-blind)
#225F54
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #286311;
/* rgb */ color: rgb(40, 99, 17);
/* oklch */ color: oklch(44.3% 0.128 138.8);
Tailwind
colors: {
  custom: {
    50: '#6a9056',
    500: '#286311',
    950: '#000000',
  },
}
SCSS
$custom: #286311;
$custom-light: #6a9056;
$custom-dark: #000000;
JSON
{
  "hex": "#286311",
  "rgb": {
    "r": 40,
    "g": 99,
    "b": 17
  },
  "hsl": {
    "h": 103.171,
    "s": 70.69,
    "l": 22.745
  },
  "oklch": {
    "l": 0.44342,
    "c": 0.12752,
    "h": 138.8
  },
  "luminance": 0.09415
}

Semantic roles & 50–950 ramp

primary
#286311
secondary
#7E349B
accent
#3AEDBB
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#070C03
muted
#7A7D78

Preview Lab

Preview with #286311

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

Preview Lab → · Contrast checker → · Palette generator →

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