#286A12#286A12

#286A12 is a mid, vivid green. Relative luminance 0.108; OKLCH L 46.4% C 0.136 H 139.5°. Best body text is #FFFFFF at 6.64:1 contrast (WCAG AA passes).

Color values

HEX#286A12
RGBrgb(40, 106, 18)
HSLhsl(105, 71%, 24%)
HSVhsv(105, 83%, 42%)
CMYKcmyk(62.3%, 0%, 83%, 58.4%)
CIE-LABlab(39.25, -37.53, 39.70)
CIE-LCHlch(39.25, 54.63, 133.39°)
OKLaboklab(46.39% -0.1033 0.0883)
OKLCHoklch(46.39% 0.136 139.5)
XYZxyz(6.1380, 10.8023, 2.3337)
Luminance0.1080 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#286A12 #54126A
analogous
#546A12 #286A12 #126A28
triadic
#286A12 #12286A #6A1228
tetradic
#286A12 #12546A #54126A #6A2812
square
#286A12 #12546A #54126A #6A2812
split-complementary
#286A12 #28126A #6A1254
monochromatic
#0A1A04 #143609 #286A12 #3C9E1B #4FD324

Accessibility & contrast

On white

6.64
#286A12 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#286A12 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #286A12
6.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##286A12#FFFFFF#000000##FFFFFF
##286A121.006.643.166.64
#FFFFFF6.641.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6D6000
Deuteranopia (green-blind)
#655A1C
Tritanopia (blue-blind)
#20665A
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #286a12;
/* rgb */ color: rgb(40, 106, 18);
/* oklch */ color: oklch(46.4% 0.136 139.5);
Tailwind
colors: {
  custom: {
    50: '#6b9558',
    500: '#286a12',
    950: '#000000',
  },
}
SCSS
$custom: #286a12;
$custom-light: #6b9558;
$custom-dark: #000000;
JSON
{
  "hex": "#286a12",
  "rgb": {
    "r": 40,
    "g": 106,
    "b": 18
  },
  "hsl": {
    "h": 105,
    "s": 70.968,
    "l": 24.314
  },
  "oklch": {
    "l": 0.46388,
    "c": 0.13588,
    "h": 139.5
  },
  "luminance": 0.10803
}

Semantic roles & 50–950 ramp

primary
#286A12
secondary
#8736A2
accent
#3AEEC1
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#070D04
muted
#7A7E79

Preview Lab

Preview with #286A12

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

Preview Lab → · Contrast checker → · Palette generator →

#286A12 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva