#285215#285215

#285215 is a dark, moderate green. Relative luminance 0.065; OKLCH L 39.4% C 0.102 H 137.6°. Best body text is #FFFFFF at 9.10:1 contrast (WCAG AA passes).

Color values

HEX#285215
RGBrgb(40, 82, 21)
HSLhsl(101, 59%, 20%)
HSVhsv(101, 74%, 32%)
CMYKcmyk(51.2%, 0%, 74.4%, 67.8%)
CIE-LABlab(30.73, -27.13, 30.01)
CIE-LCHlch(30.73, 40.46, 132.11°)
OKLaboklab(39.38% -0.075 0.0686)
OKLCHoklch(39.38% 0.102 137.6)
XYZxyz(4.0276, 6.5396, 1.7594)
Luminance0.0654 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#285215 #3F1552
analogous
#475215 #285215 #155220
triadic
#285215 #152852 #521528
tetradic
#285215 #154752 #3F1552 #522015
square
#285215 #154752 #3F1552 #522015
split-complementary
#285215 #201552 #521547
monochromatic
#0C1806 #102109 #285215 #408321 #58B32E

Accessibility & contrast

On white

9.10
#285215 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#285215 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #285215
9.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##285215#FFFFFF#000000##FFFFFF
##2852151.009.102.319.10
#FFFFFF9.101.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#554B0C
Deuteranopia (green-blind)
#4F471A
Tritanopia (blue-blind)
#254F46
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #285215;
/* rgb */ color: rgb(40, 82, 21);
/* oklch */ color: oklch(39.4% 0.102 137.6);
Tailwind
colors: {
  custom: {
    50: '#668356',
    500: '#285215',
    950: '#000000',
  },
}
SCSS
$custom: #285215;
$custom-light: #668356;
$custom-dark: #000000;
JSON
{
  "hex": "#285215",
  "rgb": {
    "r": 40,
    "g": 82,
    "b": 21
  },
  "hsl": {
    "h": 101.311,
    "s": 59.223,
    "l": 20.196
  },
  "oklch": {
    "l": 0.39381,
    "c": 0.10161,
    "h": 137.6
  },
  "luminance": 0.0654
}

Semantic roles & 50–950 ramp

primary
#285215
secondary
#71398A
accent
#45E2B1
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#060A03
muted
#7A7C78

Preview Lab

Preview with #285215

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

Preview Lab → · Contrast checker → · Palette generator →

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