#285B13#285B13

#285B13 is a dark, moderate green. Relative luminance 0.080; OKLCH L 42.0% C 0.116 H 138.3°. Best body text is #FFFFFF at 8.09:1 contrast (WCAG AA passes).

Color values

HEX#285B13
RGBrgb(40, 91, 19)
HSLhsl(103, 65%, 22%)
HSVhsv(103, 79%, 36%)
CMYKcmyk(56%, 0%, 79.1%, 64.3%)
CIE-LABlab(33.94, -31.31, 34.17)
CIE-LCHlch(33.94, 46.34, 132.50°)
OKLaboklab(42.01% -0.0864 0.0769)
OKLCHoklch(42.01% 0.116 138.3)
XYZxyz(4.7335, 7.9799, 1.9068)
Luminance0.0798 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#285B13 #46135B
analogous
#4C5B13 #285B13 #135B22
triadic
#285B13 #13285B #5B1328
tetradic
#285B13 #134C5B #46135B #5B2213
square
#285B13 #134C5B #46135B #5B2213
split-complementary
#285B13 #22135B #5B134C
monochromatic
#0B1905 #122808 #285B13 #3E8E1E #55C028

Accessibility & contrast

On white

8.09
#285B13 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#285B13 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #285B13
8.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##285B13#FFFFFF#000000##FFFFFF
##285B131.008.092.608.09
#FFFFFF8.091.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E5206
Deuteranopia (green-blind)
#574E1A
Tritanopia (blue-blind)
#24584D
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #285b13;
/* rgb */ color: rgb(40, 91, 19);
/* oklch */ color: oklch(42.0% 0.116 138.3);
Tailwind
colors: {
  custom: {
    50: '#688a56',
    500: '#285b13',
    950: '#000000',
  },
}
SCSS
$custom: #285b13;
$custom-light: #688a56;
$custom-dark: #000000;
JSON
{
  "hex": "#285b13",
  "rgb": {
    "r": 40,
    "g": 91,
    "b": 19
  },
  "hsl": {
    "h": 102.5,
    "s": 65.455,
    "l": 21.569
  },
  "oklch": {
    "l": 0.42013,
    "c": 0.11573,
    "h": 138.3
  },
  "luminance": 0.0798
}

Semantic roles & 50–950 ramp

primary
#285B13
secondary
#783793
accent
#3FE8B7
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#070C03
muted
#7A7D78

Preview Lab

Preview with #285B13

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

Preview Lab → · Contrast checker → · Palette generator →

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