#285712#285712

#285712 is a dark, moderate green. Relative luminance 0.073; OKLCH L 40.8% C 0.111 H 137.7°. Best body text is #FFFFFF at 8.53:1 contrast (WCAG AA passes).

Color values

HEX#285712
RGBrgb(40, 87, 18)
HSLhsl(101, 66%, 21%)
HSVhsv(101, 79%, 34%)
CMYKcmyk(54%, 0%, 79.3%, 65.9%)
CIE-LABlab(32.50, -29.64, 33.14)
CIE-LCHlch(32.50, 44.46, 131.81°)
OKLaboklab(40.83% -0.082 0.0746)
OKLCHoklch(40.83% 0.111 137.7)
XYZxyz(4.3923, 7.3109, 1.7518)
Luminance0.0731 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#285712 #411257
analogous
#4A5712 #285712 #12571F
triadic
#285712 #122857 #571228
tetradic
#285712 #124A57 #411257 #571F12
square
#285712 #124A57 #411257 #571F12
split-complementary
#285712 #1F1257 #57124A
monochromatic
#0C1905 #112408 #285712 #3F8A1C #57BC27

Accessibility & contrast

On white

8.53
#285712 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#285712 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #285712
8.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##285712#FFFFFF#000000##FFFFFF
##2857121.008.532.468.53
#FFFFFF8.531.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A4F06
Deuteranopia (green-blind)
#544B19
Tritanopia (blue-blind)
#25544A
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #285712;
/* rgb */ color: rgb(40, 87, 18);
/* oklch */ color: oklch(40.8% 0.111 137.7);
Tailwind
colors: {
  custom: {
    50: '#678755',
    500: '#285712',
    950: '#000000',
  },
}
SCSS
$custom: #285712;
$custom-light: #678755;
$custom-dark: #000000;
JSON
{
  "hex": "#285712",
  "rgb": {
    "r": 40,
    "g": 87,
    "b": 18
  },
  "hsl": {
    "h": 100.87,
    "s": 65.714,
    "l": 20.588
  },
  "oklch": {
    "l": 0.40828,
    "c": 0.11091,
    "h": 137.7
  },
  "luminance": 0.07311
}

Semantic roles & 50–950 ramp

primary
#285712
secondary
#733590
accent
#3FE9B3
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#060B03
muted
#7A7C78

Preview Lab

Preview with #285712

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

Preview Lab → · Contrast checker → · Palette generator →

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