#286418#286418

#286418 is a dark, vivid green. Relative luminance 0.096; OKLCH L 44.7% C 0.124 H 139.9°. Best body text is #FFFFFF at 7.18:1 contrast (WCAG AA passes).

Color values

HEX#286418
RGBrgb(40, 100, 24)
HSLhsl(107, 61%, 24%)
HSVhsv(107, 76%, 39%)
CMYKcmyk(60%, 0%, 76%, 60.8%)
CIE-LABlab(37.17, -34.66, 35.38)
CIE-LCHlch(37.17, 49.53, 134.41°)
OKLaboklab(44.69% -0.0952 0.0802)
OKLCHoklch(44.69% 0.124 139.9)
XYZxyz(5.5969, 9.6309, 2.4280)
Luminance0.0963 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#286418 #541864
analogous
#4E6418 #286418 #18642E
triadic
#286418 #182864 #641828
tetradic
#286418 #184E64 #541864 #642E18
square
#286418 #184E64 #541864 #642E18
split-complementary
#286418 #2E1864 #64184E
monochromatic
#0A1906 #14330C #286418 #3C9524 #4FC730

Accessibility & contrast

On white

7.18
#286418 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#286418 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #286418
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##286418#FFFFFF#000000##FFFFFF
##2864181.007.182.937.18
#FFFFFF7.181.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#675B0B
Deuteranopia (green-blind)
#5F5620
Tritanopia (blue-blind)
#216155
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #286418;
/* rgb */ color: rgb(40, 100, 24);
/* oklch */ color: oklch(44.7% 0.124 139.9);
Tailwind
colors: {
  custom: {
    50: '#6a915a',
    500: '#286418',
    950: '#000000',
  },
}
SCSS
$custom: #286418;
$custom-light: #6a915a;
$custom-dark: #000000;
JSON
{
  "hex": "#286418",
  "rgb": {
    "r": 40,
    "g": 100,
    "b": 24
  },
  "hsl": {
    "h": 107.368,
    "s": 61.29,
    "l": 24.314
  },
  "oklch": {
    "l": 0.44688,
    "c": 0.12449,
    "h": 139.9
  },
  "luminance": 0.09631
}

Semantic roles & 50–950 ramp

primary
#286418
secondary
#873E9A
accent
#43E4C3
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#070D04
muted
#7A7D79

Preview Lab

Preview with #286418

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

Preview Lab → · Contrast checker → · Palette generator →

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