#285A13#285A13

#285A13 is a dark, moderate green. Relative luminance 0.078; OKLCH L 41.7% C 0.114 H 138.2°. Best body text is #FFFFFF at 8.20:1 contrast (WCAG AA passes).

Color values

HEX#285A13
RGBrgb(40, 90, 19)
HSLhsl(102, 65%, 21%)
HSVhsv(102, 79%, 35%)
CMYKcmyk(55.6%, 0%, 78.9%, 64.7%)
CIE-LABlab(33.58, -30.87, 33.81)
CIE-LCHlch(33.58, 45.79, 132.40°)
OKLaboklab(41.72% -0.0853 0.0762)
OKLCHoklch(41.72% 0.114 138.2)
XYZxyz(4.6486, 7.8101, 1.8785)
Luminance0.0781 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#285A13 #45135A
analogous
#4C5A13 #285A13 #135A22
triadic
#285A13 #13285A #5A1328
tetradic
#285A13 #134C5A #45135A #5A2213
square
#285A13 #134C5A #45135A #5A2213
split-complementary
#285A13 #22135A #5A134C
monochromatic
#0B1905 #122708 #285A13 #3E8D1E #55BF28

Accessibility & contrast

On white

8.20
#285A13 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#285A13 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #285A13
8.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##285A13#FFFFFF#000000##FFFFFF
##285A131.008.202.568.20
#FFFFFF8.201.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D5206
Deuteranopia (green-blind)
#574D1A
Tritanopia (blue-blind)
#24574C
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #285a13;
/* rgb */ color: rgb(40, 90, 19);
/* oklch */ color: oklch(41.7% 0.114 138.2);
Tailwind
colors: {
  custom: {
    50: '#688956',
    500: '#285a13',
    950: '#000000',
  },
}
SCSS
$custom: #285a13;
$custom-light: #688956;
$custom-dark: #000000;
JSON
{
  "hex": "#285a13",
  "rgb": {
    "r": 40,
    "g": 90,
    "b": 19
  },
  "hsl": {
    "h": 102.254,
    "s": 65.138,
    "l": 21.373
  },
  "oklch": {
    "l": 0.41719,
    "c": 0.11436,
    "h": 138.2
  },
  "luminance": 0.0781
}

Semantic roles & 50–950 ramp

primary
#285A13
secondary
#773792
accent
#40E8B6
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#060B03
muted
#7A7C78

Preview Lab

Preview with #285A13

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

Preview Lab → · Contrast checker → · Palette generator →

#285A13 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva