#285A15#285A15

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

Color values

HEX#285A15
RGBrgb(40, 90, 21)
HSLhsl(103, 62%, 22%)
HSVhsv(103, 77%, 35%)
CMYKcmyk(55.6%, 0%, 76.7%, 64.7%)
CIE-LABlab(33.60, -30.71, 32.99)
CIE-LCHlch(33.60, 45.07, 132.95°)
OKLaboklab(41.74% -0.0847 0.0748)
OKLCHoklch(41.74% 0.113 138.6)
XYZxyz(4.6664, 7.8172, 1.9723)
Luminance0.0782 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#285A15 #47155A
analogous
#4B5A15 #285A15 #155A25
triadic
#285A15 #15285A #5A1528
tetradic
#285A15 #154B5A #47155A #5A2515
square
#285A15 #154B5A #47155A #5A2515
split-complementary
#285A15 #25155A #5A154B
monochromatic
#0B1906 #122809 #285A15 #3E8C21 #54BD2C

Accessibility & contrast

On white

8.19
#285A15 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #285A15
8.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##285A15#FFFFFF#000000##FFFFFF
##285A151.008.192.568.19
#FFFFFF8.191.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D520A
Deuteranopia (green-blind)
#564D1C
Tritanopia (blue-blind)
#24574C
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #285a15;
/* rgb */ color: rgb(40, 90, 21);
/* oklch */ color: oklch(41.7% 0.113 138.6);
Tailwind
colors: {
  custom: {
    50: '#688957',
    500: '#285a15',
    950: '#000000',
  },
}
SCSS
$custom: #285a15;
$custom-light: #688957;
$custom-dark: #000000;
JSON
{
  "hex": "#285a15",
  "rgb": {
    "r": 40,
    "g": 90,
    "b": 21
  },
  "hsl": {
    "h": 103.478,
    "s": 62.162,
    "l": 21.765
  },
  "oklch": {
    "l": 0.41736,
    "c": 0.11299,
    "h": 138.6
  },
  "luminance": 0.07818
}

Semantic roles & 50–950 ramp

primary
#285A15
secondary
#793992
accent
#43E5B8
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#060B03
muted
#7A7C78

Preview Lab

Preview with #285A15

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

Preview Lab → · Contrast checker → · Palette generator →

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