#285711#285711

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

Color values

HEX#285711
RGBrgb(40, 87, 17)
HSLhsl(100, 67%, 20%)
HSVhsv(100, 80%, 34%)
CMYKcmyk(54%, 0%, 80.5%, 65.9%)
CIE-LABlab(32.50, -29.72, 33.53)
CIE-LCHlch(32.50, 44.81, 131.55°)
OKLaboklab(40.82% -0.0823 0.0753)
OKLCHoklch(40.82% 0.112 137.6)
XYZxyz(4.3843, 7.3077, 1.7097)
Luminance0.0731 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#285711 #401157
analogous
#4B5711 #285711 #11571D
triadic
#285711 #112857 #571128
tetradic
#285711 #114B57 #401157 #571D11
square
#285711 #114B57 #401157 #571D11
split-complementary
#285711 #1D1157 #57114B
monochromatic
#0C1A05 #102407 #285711 #408A1B #57BD25

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##285711#FFFFFF#000000##FFFFFF
##2857111.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)
#5A4F04
Deuteranopia (green-blind)
#544B18
Tritanopia (blue-blind)
#25544A
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #285711;
/* rgb */ color: rgb(40, 87, 17);
/* oklch */ color: oklch(40.8% 0.112 137.6);
Tailwind
colors: {
  custom: {
    50: '#688755',
    500: '#285711',
    950: '#000000',
  },
}
SCSS
$custom: #285711;
$custom-light: #688755;
$custom-dark: #000000;
JSON
{
  "hex": "#285711",
  "rgb": {
    "r": 40,
    "g": 87,
    "b": 17
  },
  "hsl": {
    "h": 100.286,
    "s": 67.308,
    "l": 20.392
  },
  "oklch": {
    "l": 0.4082,
    "c": 0.11156,
    "h": 137.6
  },
  "luminance": 0.07308
}

Semantic roles & 50–950 ramp

primary
#285711
secondary
#723490
accent
#3EEAB1
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#060B03
muted
#7A7C78

Preview Lab

Preview with #285711

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

Preview Lab → · Contrast checker → · Palette generator →

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