#285015#285015

#285015 is a dark, moderate green. Relative luminance 0.062; OKLCH L 38.8% C 0.099 H 137.3°. Best body text is #FFFFFF at 9.34:1 contrast (WCAG AA passes).

Color values

HEX#285015
RGBrgb(40, 80, 21)
HSLhsl(101, 58%, 20%)
HSVhsv(101, 74%, 31%)
CMYKcmyk(50%, 0%, 73.7%, 68.6%)
CIE-LABlab(30.02, -26.20, 29.25)
CIE-LCHlch(30.02, 39.27, 131.84°)
OKLaboklab(38.79% -0.0725 0.067)
OKLCHoklch(38.79% 0.099 137.3)
XYZxyz(3.8790, 6.2423, 1.7098)
Luminance0.0624 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#285015 #3D1550
analogous
#465015 #285015 #155020
triadic
#285015 #152850 #501528
tetradic
#285015 #154650 #3D1550 #502015
square
#285015 #154650 #3D1550 #502015
split-complementary
#285015 #201550 #501546
monochromatic
#0C1806 #102008 #285015 #408022 #58B12E

Accessibility & contrast

On white

9.34
#285015 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#285015 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #285015
9.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##285015#FFFFFF#000000##FFFFFF
##2850151.009.342.259.34
#FFFFFF9.341.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#53490D
Deuteranopia (green-blind)
#4D451A
Tritanopia (blue-blind)
#264D44
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #285015;
/* rgb */ color: rgb(40, 80, 21);
/* oklch */ color: oklch(38.8% 0.099 137.3);
Tailwind
colors: {
  custom: {
    50: '#668156',
    500: '#285015',
    950: '#000000',
  },
}
SCSS
$custom: #285015;
$custom-light: #668156;
$custom-dark: #000000;
JSON
{
  "hex": "#285015",
  "rgb": {
    "r": 40,
    "g": 80,
    "b": 21
  },
  "hsl": {
    "h": 100.678,
    "s": 58.416,
    "l": 19.804
  },
  "oklch": {
    "l": 0.38791,
    "c": 0.09868,
    "h": 137.3
  },
  "luminance": 0.06243
}

Semantic roles & 50–950 ramp

primary
#285015
secondary
#6E3988
accent
#46E2B0
background
#F6F7F5
surface
#EBEEE9
border
#C6C9C5
text
#060A03
muted
#7A7C78

Preview Lab

Preview with #285015

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

Preview Lab → · Contrast checker → · Palette generator →

#285015 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva