#285115#285115

#285115 is a dark, moderate green. Relative luminance 0.064; OKLCH L 39.1% C 0.100 H 137.4°. Best body text is #FFFFFF at 9.22:1 contrast (WCAG AA passes).

Color values

HEX#285115
RGBrgb(40, 81, 21)
HSLhsl(101, 59%, 20%)
HSVhsv(101, 74%, 32%)
CMYKcmyk(50.6%, 0%, 74.1%, 68.2%)
CIE-LABlab(30.38, -26.67, 29.64)
CIE-LCHlch(30.38, 39.87, 131.98°)
OKLaboklab(39.09% -0.0737 0.0678)
OKLCHoklch(39.09% 0.1 137.4)
XYZxyz(3.9527, 6.3899, 1.7344)
Luminance0.0639 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#285115 #3E1551
analogous
#465115 #285115 #155120
triadic
#285115 #152851 #511528
tetradic
#285115 #154651 #3E1551 #512015
square
#285115 #154651 #3E1551 #512015
split-complementary
#285115 #201551 #511546
monochromatic
#0C1806 #102008 #285115 #408222 #58B22E

Accessibility & contrast

On white

9.22
#285115 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#285115 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #285115
9.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##285115#FFFFFF#000000##FFFFFF
##2851151.009.222.289.22
#FFFFFF9.221.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#544A0C
Deuteranopia (green-blind)
#4E461A
Tritanopia (blue-blind)
#264E45
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #285115;
/* rgb */ color: rgb(40, 81, 21);
/* oklch */ color: oklch(39.1% 0.100 137.4);
Tailwind
colors: {
  custom: {
    50: '#668256',
    500: '#285115',
    950: '#000000',
  },
}
SCSS
$custom: #285115;
$custom-light: #668256;
$custom-dark: #000000;
JSON
{
  "hex": "#285115",
  "rgb": {
    "r": 40,
    "g": 81,
    "b": 21
  },
  "hsl": {
    "h": 101,
    "s": 58.824,
    "l": 20
  },
  "oklch": {
    "l": 0.39086,
    "c": 0.10015,
    "h": 137.4
  },
  "luminance": 0.0639
}

Semantic roles & 50–950 ramp

primary
#285115
secondary
#703989
accent
#46E2B1
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#060A03
muted
#7A7C78

Preview Lab

Preview with #285115

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

Preview Lab → · Contrast checker → · Palette generator →

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