#286118#286118

#286118 is a dark, vivid green. Relative luminance 0.091; OKLCH L 43.8% C 0.120 H 139.7°. Best body text is #FFFFFF at 7.46:1 contrast (WCAG AA passes).

Color values

HEX#286118
RGBrgb(40, 97, 24)
HSLhsl(107, 60%, 24%)
HSVhsv(107, 75%, 38%)
CMYKcmyk(58.8%, 0%, 75.3%, 62%)
CIE-LABlab(36.11, -33.42, 34.29)
CIE-LCHlch(36.11, 47.88, 134.27°)
OKLaboklab(43.81% -0.0918 0.078)
OKLCHoklch(43.81% 0.12 139.7)
XYZxyz(5.3144, 9.0660, 2.3338)
Luminance0.0907 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#286118 #511861
analogous
#4C6118 #286118 #18612C
triadic
#286118 #182861 #611828
tetradic
#286118 #184C61 #511861 #612C18
square
#286118 #184C61 #511861 #612C18
split-complementary
#286118 #2C1861 #61184C
monochromatic
#0A1906 #14300C #286118 #3C9224 #50C330

Accessibility & contrast

On white

7.46
#286118 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#286118 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #286118
7.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##286118#FFFFFF#000000##FFFFFF
##2861181.007.462.817.46
#FFFFFF7.461.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#64580C
Deuteranopia (green-blind)
#5D531F
Tritanopia (blue-blind)
#225E53
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #286118;
/* rgb */ color: rgb(40, 97, 24);
/* oklch */ color: oklch(43.8% 0.120 139.7);
Tailwind
colors: {
  custom: {
    50: '#698e5a',
    500: '#286118',
    950: '#000000',
  },
}
SCSS
$custom: #286118;
$custom-light: #698e5a;
$custom-dark: #000000;
JSON
{
  "hex": "#286118",
  "rgb": {
    "r": 40,
    "g": 97,
    "b": 24
  },
  "hsl": {
    "h": 106.849,
    "s": 60.331,
    "l": 23.725
  },
  "oklch": {
    "l": 0.43813,
    "c": 0.12045,
    "h": 139.7
  },
  "luminance": 0.09066
}

Semantic roles & 50–950 ramp

primary
#286118
secondary
#843D97
accent
#44E3C1
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#070C04
muted
#7A7D79

Preview Lab

Preview with #286118

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

Preview Lab → · Contrast checker → · Palette generator →

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