#286712#286712

#286712 is a mid, vivid green. Relative luminance 0.102; OKLCH L 45.5% C 0.132 H 139.3°. Best body text is #FFFFFF at 6.91:1 contrast (WCAG AA passes).

Color values

HEX#286712
RGBrgb(40, 103, 18)
HSLhsl(104, 70%, 24%)
HSVhsv(104, 83%, 40%)
CMYKcmyk(61.2%, 0%, 82.5%, 59.6%)
CIE-LABlab(38.19, -36.34, 38.69)
CIE-LCHlch(38.19, 53.08, 133.21°)
OKLaboklab(45.52% -0.1001 0.0862)
OKLCHoklch(45.52% 0.132 139.3)
XYZxyz(5.8343, 10.1948, 2.2325)
Luminance0.1019 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#286712 #511267
analogous
#526712 #286712 #126726
triadic
#286712 #122867 #671228
tetradic
#286712 #125267 #511267 #672612
square
#286712 #125267 #511267 #672612
split-complementary
#286712 #261267 #671252
monochromatic
#0A1A05 #143309 #286712 #3C9B1B #50CF24

Accessibility & contrast

On white

6.91
#286712 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#286712 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #286712
6.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##286712#FFFFFF#000000##FFFFFF
##2867121.006.913.046.91
#FFFFFF6.911.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6A5D00
Deuteranopia (green-blind)
#62581C
Tritanopia (blue-blind)
#216357
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #286712;
/* rgb */ color: rgb(40, 103, 18);
/* oklch */ color: oklch(45.5% 0.132 139.3);
Tailwind
colors: {
  custom: {
    50: '#6b9358',
    500: '#286712',
    950: '#000000',
  },
}
SCSS
$custom: #286712;
$custom-light: #6b9358;
$custom-dark: #000000;
JSON
{
  "hex": "#286712",
  "rgb": {
    "r": 40,
    "g": 103,
    "b": 18
  },
  "hsl": {
    "h": 104.471,
    "s": 70.248,
    "l": 23.725
  },
  "oklch": {
    "l": 0.45516,
    "c": 0.13209,
    "h": 139.3
  },
  "luminance": 0.10195
}

Semantic roles & 50–950 ramp

primary
#286712
secondary
#84369F
accent
#3BEDBF
background
#F6F9F5
surface
#ECF1E9
border
#C7CBC5
text
#070D03
muted
#7A7E78

Preview Lab

Preview with #286712

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

Preview Lab → · Contrast checker → · Palette generator →

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