#285612#285612

#285612 is a dark, moderate green. Relative luminance 0.071; OKLCH L 40.5% C 0.110 H 137.6°. Best body text is #FFFFFF at 8.64:1 contrast (WCAG AA passes).

Color values

HEX#285612
RGBrgb(40, 86, 18)
HSLhsl(101, 65%, 20%)
HSVhsv(101, 79%, 34%)
CMYKcmyk(53.5%, 0%, 79.1%, 66.3%)
CIE-LABlab(32.15, -29.20, 32.78)
CIE-LCHlch(32.15, 43.90, 131.70°)
OKLaboklab(40.53% -0.0808 0.0739)
OKLCHoklch(40.53% 0.11 137.6)
XYZxyz(4.3119, 7.1501, 1.7250)
Luminance0.0715 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#285612 #401256
analogous
#4A5612 #285612 #12561E
triadic
#285612 #122856 #561228
tetradic
#285612 #124A56 #401256 #561E12
square
#285612 #124A56 #401256 #561E12
split-complementary
#285612 #1E1256 #56124A
monochromatic
#0C1905 #102307 #285612 #40891D #57BB27

Accessibility & contrast

On white

8.64
#285612 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#285612 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #285612
8.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##285612#FFFFFF#000000##FFFFFF
##2856121.008.642.438.64
#FFFFFF8.641.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#594E06
Deuteranopia (green-blind)
#534A19
Tritanopia (blue-blind)
#255349
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #285612;
/* rgb */ color: rgb(40, 86, 18);
/* oklch */ color: oklch(40.5% 0.110 137.6);
Tailwind
colors: {
  custom: {
    50: '#678655',
    500: '#285612',
    950: '#000000',
  },
}
SCSS
$custom: #285612;
$custom-light: #678655;
$custom-dark: #000000;
JSON
{
  "hex": "#285612",
  "rgb": {
    "r": 40,
    "g": 86,
    "b": 18
  },
  "hsl": {
    "h": 100.588,
    "s": 65.385,
    "l": 20.392
  },
  "oklch": {
    "l": 0.40533,
    "c": 0.10951,
    "h": 137.6
  },
  "luminance": 0.0715
}

Semantic roles & 50–950 ramp

primary
#285612
secondary
#72358F
accent
#3FE8B2
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#060B03
muted
#7A7C78

Preview Lab

Preview with #285612

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

Preview Lab → · Contrast checker → · Palette generator →

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