#285515#285515

#285515 is a dark, moderate green. Relative luminance 0.070; OKLCH L 40.3% C 0.106 H 138.0°. Best body text is #FFFFFF at 8.75:1 contrast (WCAG AA passes).

Color values

HEX#285515
RGBrgb(40, 85, 21)
HSLhsl(102, 60%, 21%)
HSVhsv(102, 75%, 33%)
CMYKcmyk(52.9%, 0%, 75.3%, 66.7%)
CIE-LABlab(31.81, -28.49, 31.14)
CIE-LCHlch(31.81, 42.21, 132.46°)
OKLaboklab(40.27% -0.0787 0.0709)
OKLCHoklch(40.27% 0.106 138)
XYZxyz(4.2588, 7.0020, 1.8364)
Luminance0.0700 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#285515 #421555
analogous
#485515 #285515 #155522
triadic
#285515 #152855 #551528
tetradic
#285515 #154855 #421555 #552215
square
#285515 #154855 #421555 #552215
split-complementary
#285515 #221555 #551548
monochromatic
#0C1906 #112409 #285515 #3F8621 #56B72D

Accessibility & contrast

On white

8.75
#285515 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#285515 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #285515
8.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##285515#FFFFFF#000000##FFFFFF
##2855151.008.752.408.75
#FFFFFF8.751.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#584D0B
Deuteranopia (green-blind)
#52491B
Tritanopia (blue-blind)
#255248
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #285515;
/* rgb */ color: rgb(40, 85, 21);
/* oklch */ color: oklch(40.3% 0.106 138.0);
Tailwind
colors: {
  custom: {
    50: '#678556',
    500: '#285515',
    950: '#000000',
  },
}
SCSS
$custom: #285515;
$custom-light: #678556;
$custom-dark: #000000;
JSON
{
  "hex": "#285515",
  "rgb": {
    "r": 40,
    "g": 85,
    "b": 21
  },
  "hsl": {
    "h": 102.188,
    "s": 60.377,
    "l": 20.784
  },
  "oklch": {
    "l": 0.40265,
    "c": 0.10595,
    "h": 138
  },
  "luminance": 0.07002
}

Semantic roles & 50–950 ramp

primary
#285515
secondary
#74398D
accent
#44E4B4
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#060B03
muted
#7A7C78

Preview Lab

Preview with #285515

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

Preview Lab → · Contrast checker → · Palette generator →

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