#285813#285813

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

Color values

HEX#285813
RGBrgb(40, 88, 19)
HSLhsl(102, 64%, 21%)
HSVhsv(102, 78%, 35%)
CMYKcmyk(54.5%, 0%, 78.4%, 65.5%)
CIE-LABlab(32.87, -30.00, 33.09)
CIE-LCHlch(32.87, 44.67, 132.20°)
OKLaboklab(41.13% -0.0829 0.0747)
OKLCHoklch(41.13% 0.112 138)
XYZxyz(4.4822, 7.4773, 1.8230)
Luminance0.0748 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#285813 #431358
analogous
#4A5813 #285813 #135820
triadic
#285813 #132858 #581328
tetradic
#285813 #134A58 #431358 #582013
square
#285813 #134A58 #431358 #582013
split-complementary
#285813 #201358 #58134A
monochromatic
#0B1905 #112608 #285813 #3F8A1E #56BD29

Accessibility & contrast

On white

8.41
#285813 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#285813 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #285813
8.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##285813#FFFFFF#000000##FFFFFF
##2858131.008.412.508.41
#FFFFFF8.411.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B5007
Deuteranopia (green-blind)
#554C1A
Tritanopia (blue-blind)
#24554B
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #285813;
/* rgb */ color: rgb(40, 88, 19);
/* oklch */ color: oklch(41.1% 0.112 138.0);
Tailwind
colors: {
  custom: {
    50: '#688856',
    500: '#285813',
    950: '#000000',
  },
}
SCSS
$custom: #285813;
$custom-light: #688856;
$custom-dark: #000000;
JSON
{
  "hex": "#285813",
  "rgb": {
    "r": 40,
    "g": 88,
    "b": 19
  },
  "hsl": {
    "h": 101.739,
    "s": 64.486,
    "l": 20.98
  },
  "oklch": {
    "l": 0.4113,
    "c": 0.11161,
    "h": 138
  },
  "luminance": 0.07478
}

Semantic roles & 50–950 ramp

primary
#285813
secondary
#753790
accent
#40E7B5
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#060B03
muted
#7A7C78

Preview Lab

Preview with #285813

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

Preview Lab → · Contrast checker → · Palette generator →

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