#285811#285811

#285811 is a dark, moderate green. Relative luminance 0.075; OKLCH L 41.1% C 0.113 H 137.7°. Best body text is #FFFFFF at 8.42:1 contrast (WCAG AA passes).

Color values

HEX#285811
RGBrgb(40, 88, 17)
HSLhsl(101, 68%, 21%)
HSVhsv(101, 81%, 35%)
CMYKcmyk(54.5%, 0%, 80.7%, 65.5%)
CIE-LABlab(32.86, -30.16, 33.89)
CIE-LCHlch(32.86, 45.37, 131.67°)
OKLaboklab(41.11% -0.0835 0.076)
OKLCHoklch(41.11% 0.113 137.7)
XYZxyz(4.4658, 7.4707, 1.7369)
Luminance0.0747 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#285811 #411158
analogous
#4B5811 #285811 #11581D
triadic
#285811 #112858 #581128
tetradic
#285811 #114B58 #411158 #581D11
square
#285811 #114B58 #411158 #581D11
split-complementary
#285811 #1D1158 #58114B
monochromatic
#0C1A05 #112507 #285811 #3F8B1B #57BF25

Accessibility & contrast

On white

8.42
#285811 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#285811 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #285811
8.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##285811#FFFFFF#000000##FFFFFF
##2858111.008.422.498.42
#FFFFFF8.421.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B5004
Deuteranopia (green-blind)
#554C18
Tritanopia (blue-blind)
#25554A
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #285811;
/* rgb */ color: rgb(40, 88, 17);
/* oklch */ color: oklch(41.1% 0.113 137.7);
Tailwind
colors: {
  custom: {
    50: '#688855',
    500: '#285811',
    950: '#000000',
  },
}
SCSS
$custom: #285811;
$custom-light: #688855;
$custom-dark: #000000;
JSON
{
  "hex": "#285811",
  "rgb": {
    "r": 40,
    "g": 88,
    "b": 17
  },
  "hsl": {
    "h": 100.563,
    "s": 67.619,
    "l": 20.588
  },
  "oklch": {
    "l": 0.41114,
    "c": 0.11294,
    "h": 137.7
  },
  "luminance": 0.07471
}

Semantic roles & 50–950 ramp

primary
#285811
secondary
#733491
accent
#3DEAB2
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#060B03
muted
#7A7C78

Preview Lab

Preview with #285811

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

Preview Lab → · Contrast checker → · Palette generator →

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