#285918#285918

#285918 is a dark, moderate green. Relative luminance 0.077; OKLCH L 41.5% C 0.109 H 139.0°. Best body text is #FFFFFF at 8.29:1 contrast (WCAG AA passes).

Color values

HEX#285918
RGBrgb(40, 89, 24)
HSLhsl(105, 58%, 22%)
HSVhsv(105, 73%, 35%)
CMYKcmyk(55.1%, 0%, 73%, 65.1%)
CIE-LABlab(33.27, -29.99, 31.31)
CIE-LCHlch(33.27, 43.36, 133.77°)
OKLaboklab(41.47% -0.0825 0.0717)
OKLCHoklch(41.47% 0.109 139)
XYZxyz(4.6121, 7.6615, 2.0998)
Luminance0.0766 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#285918 #491859
analogous
#495918 #285918 #185929
triadic
#285918 #182859 #591828
tetradic
#285918 #184959 #491859 #592918
square
#285918 #184959 #491859 #592918
split-complementary
#285918 #291859 #591849
monochromatic
#0B1806 #12290B #285918 #3E8925 #53B932

Accessibility & contrast

On white

8.29
#285918 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#285918 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #285918
8.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##285918#FFFFFF#000000##FFFFFF
##2859181.008.292.538.29
#FFFFFF8.291.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C510F
Deuteranopia (green-blind)
#554D1E
Tritanopia (blue-blind)
#24564C
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #285918;
/* rgb */ color: rgb(40, 89, 24);
/* oklch */ color: oklch(41.5% 0.109 139.0);
Tailwind
colors: {
  custom: {
    50: '#678859',
    500: '#285918',
    950: '#000000',
  },
}
SCSS
$custom: #285918;
$custom-light: #678859;
$custom-dark: #000000;
JSON
{
  "hex": "#285918",
  "rgb": {
    "r": 40,
    "g": 89,
    "b": 24
  },
  "hsl": {
    "h": 105.231,
    "s": 57.522,
    "l": 22.157
  },
  "oklch": {
    "l": 0.41471,
    "c": 0.10933,
    "h": 139
  },
  "luminance": 0.07662
}

Semantic roles & 50–950 ramp

primary
#285918
secondary
#7B3D90
accent
#47E1BB
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#060B04
muted
#7A7C79

Preview Lab

Preview with #285918

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

Preview Lab → · Contrast checker → · Palette generator →

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