#286112#286112

#286112 is a dark, vivid green. Relative luminance 0.090; OKLCH L 43.8% C 0.124 H 138.8°. Best body text is #FFFFFF at 7.48:1 contrast (WCAG AA passes).

Color values

HEX#286112
RGBrgb(40, 97, 18)
HSLhsl(103, 69%, 23%)
HSVhsv(103, 81%, 38%)
CMYKcmyk(58.8%, 0%, 81.4%, 62%)
CIE-LABlab(36.07, -33.91, 36.65)
CIE-LCHlch(36.07, 49.93, 132.78°)
OKLaboklab(43.76% -0.0935 0.082)
OKLCHoklch(43.76% 0.124 138.8)
XYZxyz(5.2587, 9.0437, 2.0407)
Luminance0.0904 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#286112 #4B1261
analogous
#506112 #286112 #126123
triadic
#286112 #122861 #611228
tetradic
#286112 #125061 #4B1261 #612312
square
#286112 #125061 #4B1261 #612312
split-complementary
#286112 #231261 #611250
monochromatic
#0B1A05 #132D08 #286112 #3D951C #53C825

Accessibility & contrast

On white

7.48
#286112 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #286112
7.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##286112#FFFFFF#000000##FFFFFF
##2861121.007.482.817.48
#FFFFFF7.481.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#645802
Deuteranopia (green-blind)
#5D531B
Tritanopia (blue-blind)
#225D52
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #286112;
/* rgb */ color: rgb(40, 97, 18);
/* oklch */ color: oklch(43.8% 0.124 138.8);
Tailwind
colors: {
  custom: {
    50: '#698e57',
    500: '#286112',
    950: '#000000',
  },
}
SCSS
$custom: #286112;
$custom-light: #698e57;
$custom-dark: #000000;
JSON
{
  "hex": "#286112",
  "rgb": {
    "r": 40,
    "g": 97,
    "b": 18
  },
  "hsl": {
    "h": 103.291,
    "s": 68.696,
    "l": 22.549
  },
  "oklch": {
    "l": 0.43764,
    "c": 0.12436,
    "h": 138.8
  },
  "luminance": 0.09044
}

Semantic roles & 50–950 ramp

primary
#286112
secondary
#7D3699
accent
#3CECBB
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#070C03
muted
#7A7D78

Preview Lab

Preview with #286112

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

Preview Lab → · Contrast checker → · Palette generator →

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