#285818#285818

#285818 is a dark, moderate green. Relative luminance 0.075; OKLCH L 41.2% C 0.108 H 138.9°. Best body text is #FFFFFF at 8.40:1 contrast (WCAG AA passes).

Color values

HEX#285818
RGBrgb(40, 88, 24)
HSLhsl(105, 57%, 22%)
HSVhsv(105, 73%, 35%)
CMYKcmyk(54.5%, 0%, 72.7%, 65.5%)
CIE-LABlab(32.91, -29.55, 30.93)
CIE-LCHlch(32.91, 42.78, 133.69°)
OKLaboklab(41.18% -0.0813 0.0709)
OKLCHoklch(41.18% 0.108 138.9)
XYZxyz(4.5295, 7.4962, 2.0722)
Luminance0.0750 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#285818 #481858
analogous
#485818 #285818 #185828
triadic
#285818 #182858 #581828
tetradic
#285818 #184858 #481858 #582818
square
#285818 #184858 #481858 #582818
split-complementary
#285818 #281858 #581848
monochromatic
#0B1807 #12280B #285818 #3E8825 #54B832

Accessibility & contrast

On white

8.40
#285818 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#285818 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #285818
8.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##285818#FFFFFF#000000##FFFFFF
##2858181.008.402.508.40
#FFFFFF8.401.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B500F
Deuteranopia (green-blind)
#544C1E
Tritanopia (blue-blind)
#24554B
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #285818;
/* rgb */ color: rgb(40, 88, 24);
/* oklch */ color: oklch(41.2% 0.108 138.9);
Tailwind
colors: {
  custom: {
    50: '#678759',
    500: '#285818',
    950: '#000000',
  },
}
SCSS
$custom: #285818;
$custom-light: #678759;
$custom-dark: #000000;
JSON
{
  "hex": "#285818",
  "rgb": {
    "r": 40,
    "g": 88,
    "b": 24
  },
  "hsl": {
    "h": 105,
    "s": 57.143,
    "l": 21.961
  },
  "oklch": {
    "l": 0.41178,
    "c": 0.1079,
    "h": 138.9
  },
  "luminance": 0.07497
}

Semantic roles & 50–950 ramp

primary
#285818
secondary
#7A3D8F
accent
#47E0BA
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#060B03
muted
#7A7C78

Preview Lab

Preview with #285818

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

Preview Lab → · Contrast checker → · Palette generator →

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