#285715#285715

#285715 is a dark, moderate green. Relative luminance 0.073; OKLCH L 40.9% C 0.109 H 138.2°. Best body text is #FFFFFF at 8.52:1 contrast (WCAG AA passes).

Color values

HEX#285715
RGBrgb(40, 87, 21)
HSLhsl(103, 61%, 21%)
HSVhsv(103, 76%, 34%)
CMYKcmyk(54%, 0%, 75.9%, 65.9%)
CIE-LABlab(32.53, -29.39, 31.89)
CIE-LCHlch(32.53, 43.36, 132.66°)
OKLaboklab(40.85% -0.0811 0.0725)
OKLCHoklch(40.85% 0.109 138.2)
XYZxyz(4.4185, 7.3213, 1.8896)
Luminance0.0732 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#285715 #441557
analogous
#495715 #285715 #155723
triadic
#285715 #152857 #571528
tetradic
#285715 #154957 #441557 #572315
square
#285715 #154957 #441557 #572315
split-complementary
#285715 #231557 #571549
monochromatic
#0B1906 #112609 #285715 #3F8821 #55BA2D

Accessibility & contrast

On white

8.52
#285715 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#285715 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #285715
8.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##285715#FFFFFF#000000##FFFFFF
##2857151.008.522.468.52
#FFFFFF8.521.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A4F0B
Deuteranopia (green-blind)
#544B1B
Tritanopia (blue-blind)
#24544A
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #285715;
/* rgb */ color: rgb(40, 87, 21);
/* oklch */ color: oklch(40.9% 0.109 138.2);
Tailwind
colors: {
  custom: {
    50: '#678757',
    500: '#285715',
    950: '#000000',
  },
}
SCSS
$custom: #285715;
$custom-light: #678757;
$custom-dark: #000000;
JSON
{
  "hex": "#285715",
  "rgb": {
    "r": 40,
    "g": 87,
    "b": 21
  },
  "hsl": {
    "h": 102.727,
    "s": 61.111,
    "l": 21.176
  },
  "oklch": {
    "l": 0.40854,
    "c": 0.10879,
    "h": 138.2
  },
  "luminance": 0.07322
}

Semantic roles & 50–950 ramp

primary
#285715
secondary
#76398F
accent
#44E4B6
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#060B03
muted
#7A7C78

Preview Lab

Preview with #285715

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

Preview Lab → · Contrast checker → · Palette generator →

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