#285C15#285C15

#285C15 is a dark, moderate green. Relative luminance 0.082; OKLCH L 42.3% C 0.116 H 138.8°. Best body text is #FFFFFF at 7.98:1 contrast (WCAG AA passes).

Color values

HEX#285C15
RGBrgb(40, 92, 21)
HSLhsl(104, 63%, 22%)
HSVhsv(104, 77%, 36%)
CMYKcmyk(56.5%, 0%, 77.2%, 63.9%)
CIE-LABlab(34.31, -31.57, 33.72)
CIE-LCHlch(34.31, 46.19, 133.11°)
OKLaboklab(42.32% -0.087 0.0763)
OKLCHoklch(42.32% 0.116 138.8)
XYZxyz(4.8374, 8.1592, 2.0293)
Luminance0.0816 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#285C15 #49155C
analogous
#4C5C15 #285C15 #155C26
triadic
#285C15 #15285C #5C1528
tetradic
#285C15 #154C5C #49155C #5C2615
square
#285C15 #154C5C #49155C #5C2615
split-complementary
#285C15 #26155C #5C154C
monochromatic
#0B1906 #122A0A #285C15 #3E8E20 #53C02C

Accessibility & contrast

On white

7.98
#285C15 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#285C15 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #285C15
7.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##285C15#FFFFFF#000000##FFFFFF
##285C151.007.982.637.98
#FFFFFF7.981.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F5309
Deuteranopia (green-blind)
#584F1C
Tritanopia (blue-blind)
#23594E
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #285c15;
/* rgb */ color: rgb(40, 92, 21);
/* oklch */ color: oklch(42.3% 0.116 138.8);
Tailwind
colors: {
  custom: {
    50: '#688b57',
    500: '#285c15',
    950: '#000000',
  },
}
SCSS
$custom: #285c15;
$custom-light: #688b57;
$custom-dark: #000000;
JSON
{
  "hex": "#285c15",
  "rgb": {
    "r": 40,
    "g": 92,
    "b": 21
  },
  "hsl": {
    "h": 103.944,
    "s": 62.832,
    "l": 22.157
  },
  "oklch": {
    "l": 0.42323,
    "c": 0.11574,
    "h": 138.8
  },
  "luminance": 0.0816
}

Semantic roles & 50–950 ramp

primary
#285C15
secondary
#7B3993
accent
#42E6BA
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#070C03
muted
#7A7D78

Preview Lab

Preview with #285C15

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

Preview Lab → · Contrast checker → · Palette generator →

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