#286612#286612

#286612 is a mid, vivid green. Relative luminance 0.100; OKLCH L 45.2% C 0.131 H 139.2°. Best body text is #FFFFFF at 7.00:1 contrast (WCAG AA passes).

Color values

HEX#286612
RGBrgb(40, 102, 18)
HSLhsl(104, 70%, 24%)
HSVhsv(104, 82%, 40%)
CMYKcmyk(60.8%, 0%, 82.4%, 60%)
CIE-LABlab(37.84, -35.94, 38.35)
CIE-LCHlch(37.84, 52.56, 133.14°)
OKLaboklab(45.22% -0.099 0.0855)
OKLCHoklch(45.22% 0.131 139.2)
XYZxyz(5.7354, 9.9970, 2.1995)
Luminance0.1000 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#286612 #501266
analogous
#526612 #286612 #126626
triadic
#286612 #122866 #661228
tetradic
#286612 #125266 #501266 #662612
square
#286612 #125266 #501266 #662612
split-complementary
#286612 #261266 #661252
monochromatic
#0A1A05 #143209 #286612 #3C9A1B #51CE24

Accessibility & contrast

On white

7.00
#286612 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

3.00
#286612 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #286612
7.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##286612#FFFFFF#000000##FFFFFF
##2866121.007.003.007.00
#FFFFFF7.001.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF7.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#695C00
Deuteranopia (green-blind)
#61571C
Tritanopia (blue-blind)
#216256
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #286612;
/* rgb */ color: rgb(40, 102, 18);
/* oklch */ color: oklch(45.2% 0.131 139.2);
Tailwind
colors: {
  custom: {
    50: '#6a9257',
    500: '#286612',
    950: '#000000',
  },
}
SCSS
$custom: #286612;
$custom-light: #6a9257;
$custom-dark: #000000;
JSON
{
  "hex": "#286612",
  "rgb": {
    "r": 40,
    "g": 102,
    "b": 18
  },
  "hsl": {
    "h": 104.286,
    "s": 70,
    "l": 23.529
  },
  "oklch": {
    "l": 0.45224,
    "c": 0.13082,
    "h": 139.2
  },
  "luminance": 0.09998
}

Semantic roles & 50–950 ramp

primary
#286612
secondary
#83369E
accent
#3BEDBE
background
#F6F9F5
surface
#ECF1E9
border
#C7CBC5
text
#070D03
muted
#7A7E78

Preview Lab

Preview with #286612

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

Preview Lab → · Contrast checker → · Palette generator →

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