#285518#285518

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

Color values

HEX#285518
RGBrgb(40, 85, 24)
HSLhsl(104, 56%, 21%)
HSVhsv(104, 72%, 33%)
CMYKcmyk(52.9%, 0%, 71.8%, 66.7%)
CIE-LABlab(31.84, -28.20, 29.78)
CIE-LCHlch(31.84, 41.01, 133.44°)
OKLaboklab(40.3% -0.0777 0.0685)
OKLCHoklch(40.3% 0.104 138.6)
XYZxyz(4.2883, 7.0138, 1.9918)
Luminance0.0701 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#285518 #451855
analogous
#475518 #285518 #185527
triadic
#285518 #182855 #551828
tetradic
#285518 #184755 #451855 #552718
square
#285518 #184755 #451855 #552718
split-complementary
#285518 #271855 #551847
monochromatic
#0B1807 #12250B #285518 #3E8525 #55B433

Accessibility & contrast

On white

8.74
#285518 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #285518
8.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##285518#FFFFFF#000000##FFFFFF
##2855181.008.742.408.74
#FFFFFF8.741.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#584D10
Deuteranopia (green-blind)
#52491D
Tritanopia (blue-blind)
#245248
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #285518;
/* rgb */ color: rgb(40, 85, 24);
/* oklch */ color: oklch(40.3% 0.104 138.6);
Tailwind
colors: {
  custom: {
    50: '#678558',
    500: '#285518',
    950: '#000000',
  },
}
SCSS
$custom: #285518;
$custom-light: #678558;
$custom-dark: #000000;
JSON
{
  "hex": "#285518",
  "rgb": {
    "r": 40,
    "g": 85,
    "b": 24
  },
  "hsl": {
    "h": 104.262,
    "s": 55.963,
    "l": 21.373
  },
  "oklch": {
    "l": 0.40296,
    "c": 0.10356,
    "h": 138.6
  },
  "luminance": 0.07014
}

Semantic roles & 50–950 ramp

primary
#285518
secondary
#773D8C
accent
#49DFB8
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#060B03
muted
#7A7C78

Preview Lab

Preview with #285518

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

Preview Lab → · Contrast checker → · Palette generator →

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