#285512#285512

#285512 is a dark, moderate green. Relative luminance 0.070; OKLCH L 40.2% C 0.108 H 137.4°. Best body text is #FFFFFF at 8.76:1 contrast (WCAG AA passes).

Color values

HEX#285512
RGBrgb(40, 85, 18)
HSLhsl(100, 65%, 20%)
HSVhsv(100, 79%, 33%)
CMYKcmyk(52.9%, 0%, 78.8%, 66.7%)
CIE-LABlab(31.79, -28.76, 32.42)
CIE-LCHlch(31.79, 43.33, 131.57°)
OKLaboklab(40.24% -0.0796 0.0731)
OKLCHoklch(40.24% 0.108 137.4)
XYZxyz(4.2326, 6.9915, 1.6986)
Luminance0.0699 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#285512 #3F1255
analogous
#495512 #285512 #12551E
triadic
#285512 #122855 #551228
tetradic
#285512 #124955 #3F1255 #551E12
square
#285512 #124955 #3F1255 #551E12
split-complementary
#285512 #1E1255 #551249
monochromatic
#0C1905 #102207 #285512 #40881D #58BA27

Accessibility & contrast

On white

8.76
#285512 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#285512 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #285512
8.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##285512#FFFFFF#000000##FFFFFF
##2855121.008.762.408.76
#FFFFFF8.761.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#584D06
Deuteranopia (green-blind)
#524919
Tritanopia (blue-blind)
#255248
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #285512;
/* rgb */ color: rgb(40, 85, 18);
/* oklch */ color: oklch(40.2% 0.108 137.4);
Tailwind
colors: {
  custom: {
    50: '#678555',
    500: '#285512',
    950: '#000000',
  },
}
SCSS
$custom: #285512;
$custom-light: #678555;
$custom-dark: #000000;
JSON
{
  "hex": "#285512",
  "rgb": {
    "r": 40,
    "g": 85,
    "b": 18
  },
  "hsl": {
    "h": 100.299,
    "s": 65.049,
    "l": 20.196
  },
  "oklch": {
    "l": 0.40238,
    "c": 0.10812,
    "h": 137.4
  },
  "luminance": 0.06992
}

Semantic roles & 50–950 ramp

primary
#285512
secondary
#71358E
accent
#40E8B1
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#060B03
muted
#7A7C78

Preview Lab

Preview with #285512

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

Preview Lab → · Contrast checker → · Palette generator →

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