#286E18#286E18

#286E18 is a mid, vivid green. Relative luminance 0.117; OKLCH L 47.6% C 0.137 H 140.4°. Best body text is #FFFFFF at 6.30:1 contrast (WCAG AA passes).

Color values

HEX#286E18
RGBrgb(40, 110, 24)
HSLhsl(109, 64%, 26%)
HSVhsv(109, 78%, 43%)
CMYKcmyk(63.6%, 0%, 78.2%, 56.9%)
CIE-LABlab(40.68, -38.65, 38.93)
CIE-LCHlch(40.68, 54.86, 134.80°)
OKLaboklab(47.59% -0.1059 0.0876)
OKLCHoklch(47.59% 0.137 140.4)
XYZxyz(6.6156, 11.6683, 2.7676)
Luminance0.1167 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#286E18 #5E186E
analogous
#536E18 #286E18 #186E33
triadic
#286E18 #18286E #6E1828
tetradic
#286E18 #18536E #5E186E #6E3318
square
#286E18 #18536E #5E186E #6E3318
split-complementary
#286E18 #33186E #6E1853
monochromatic
#091905 #163C0D #286E18 #3AA023 #4DD22F

Accessibility & contrast

On white

6.30
#286E18 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#286E18 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #286E18
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##286E18#FFFFFF#000000##FFFFFF
##286E181.006.303.336.30
#FFFFFF6.301.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#716307
Deuteranopia (green-blind)
#695E21
Tritanopia (blue-blind)
#1E6A5D
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #286e18;
/* rgb */ color: rgb(40, 110, 24);
/* oklch */ color: oklch(47.6% 0.137 140.4);
Tailwind
colors: {
  custom: {
    50: '#6c985b',
    500: '#286e18',
    950: '#000000',
  },
}
SCSS
$custom: #286e18;
$custom-light: #6c985b;
$custom-dark: #000000;
JSON
{
  "hex": "#286e18",
  "rgb": {
    "r": 40,
    "g": 110,
    "b": 24
  },
  "hsl": {
    "h": 108.837,
    "s": 64.179,
    "l": 26.275
  },
  "oklch": {
    "l": 0.47589,
    "c": 0.13749,
    "h": 140.4
  },
  "luminance": 0.11669
}

Semantic roles & 50–950 ramp

primary
#286E18
secondary
#913EA4
accent
#41E7C8
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#070E04
muted
#7A7E79

Preview Lab

Preview with #286E18

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

Preview Lab → · Contrast checker → · Palette generator →

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