#285A10#285A10

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

Color values

HEX#285A10
RGBrgb(40, 90, 16)
HSLhsl(101, 70%, 21%)
HSVhsv(101, 82%, 35%)
CMYKcmyk(55.6%, 0%, 82.2%, 64.7%)
CIE-LABlab(33.56, -31.10, 34.96)
CIE-LCHlch(33.56, 46.79, 131.66°)
OKLaboklab(41.7% -0.0861 0.0781)
OKLCHoklch(41.7% 0.116 137.8)
XYZxyz(4.6246, 7.8005, 1.7521)
Luminance0.0780 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#285A10 #42105A
analogous
#4D5A10 #285A10 #105A1D
triadic
#285A10 #10285A #5A1028
tetradic
#285A10 #104D5A #42105A #5A1D10
square
#285A10 #104D5A #42105A #5A1D10
split-complementary
#285A10 #1D105A #5A104D
monochromatic
#0C1A05 #112607 #285A10 #3F8E19 #56C222

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##285A10#FFFFFF#000000##FFFFFF
##285A101.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)
#5D5201
Deuteranopia (green-blind)
#574D18
Tritanopia (blue-blind)
#24574C
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #285a10;
/* rgb */ color: rgb(40, 90, 16);
/* oklch */ color: oklch(41.7% 0.116 137.8);
Tailwind
colors: {
  custom: {
    50: '#688955',
    500: '#285a10',
    950: '#000000',
  },
}
SCSS
$custom: #285a10;
$custom-light: #688955;
$custom-dark: #000000;
JSON
{
  "hex": "#285a10",
  "rgb": {
    "r": 40,
    "g": 90,
    "b": 16
  },
  "hsl": {
    "h": 100.541,
    "s": 69.811,
    "l": 20.784
  },
  "oklch": {
    "l": 0.41696,
    "c": 0.11627,
    "h": 137.8
  },
  "luminance": 0.07801
}

Semantic roles & 50–950 ramp

primary
#285A10
secondary
#743393
accent
#3BEDB3
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#070B03
muted
#7A7C78

Preview Lab

Preview with #285A10

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

Preview Lab → · Contrast checker → · Palette generator →

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