#285A14#285A14

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

Color values

HEX#285A14
RGBrgb(40, 90, 20)
HSLhsl(103, 64%, 22%)
HSVhsv(103, 78%, 35%)
CMYKcmyk(55.6%, 0%, 77.8%, 64.7%)
CIE-LABlab(33.59, -30.79, 33.41)
CIE-LCHlch(33.59, 45.43, 132.67°)
OKLaboklab(41.73% -0.085 0.0755)
OKLCHoklch(41.73% 0.114 138.4)
XYZxyz(4.6573, 7.8136, 1.9244)
Luminance0.0781 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#285A14 #46145A
analogous
#4B5A14 #285A14 #145A23
triadic
#285A14 #14285A #5A1428
tetradic
#285A14 #144B5A #46145A #5A2314
square
#285A14 #144B5A #46145A #5A2314
split-complementary
#285A14 #23145A #5A144B
monochromatic
#0B1906 #122809 #285A14 #3E8C1F #55BE2A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #285a14;
/* rgb */ color: rgb(40, 90, 20);
/* oklch */ color: oklch(41.7% 0.114 138.4);
Tailwind
colors: {
  custom: {
    50: '#688957',
    500: '#285a14',
    950: '#000000',
  },
}
SCSS
$custom: #285a14;
$custom-light: #688957;
$custom-dark: #000000;
JSON
{
  "hex": "#285a14",
  "rgb": {
    "r": 40,
    "g": 90,
    "b": 20
  },
  "hsl": {
    "h": 102.857,
    "s": 63.636,
    "l": 21.569
  },
  "oklch": {
    "l": 0.41727,
    "c": 0.11368,
    "h": 138.4
  },
  "luminance": 0.07814
}

Semantic roles & 50–950 ramp

primary
#285A14
secondary
#783892
accent
#41E7B7
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#060B03
muted
#7A7C78

Preview Lab

Preview with #285A14

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

Preview Lab → · Contrast checker → · Palette generator →

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