#285E18#285E18

#285E18 is a dark, moderate green. Relative luminance 0.085; OKLCH L 42.9% C 0.116 H 139.4°. Best body text is #FFFFFF at 7.77:1 contrast (WCAG AA passes).

Color values

HEX#285E18
RGBrgb(40, 94, 24)
HSLhsl(106, 59%, 23%)
HSVhsv(106, 74%, 37%)
CMYKcmyk(57.4%, 0%, 74.5%, 63.1%)
CIE-LABlab(35.05, -32.16, 33.19)
CIE-LCHlch(35.05, 46.21, 134.10°)
OKLaboklab(42.94% -0.0884 0.0756)
OKLCHoklch(42.94% 0.116 139.4)
XYZxyz(5.0424, 8.5221, 2.2432)
Luminance0.0852 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#285E18 #4E185E
analogous
#4B5E18 #285E18 #185E2B
triadic
#285E18 #18285E #5E1828
tetradic
#285E18 #184B5E #4E185E #5E2B18
square
#285E18 #184B5E #4E185E #5E2B18
split-complementary
#285E18 #2B185E #5E184B
monochromatic
#0A1806 #132D0C #285E18 #3D8F24 #51C031

Accessibility & contrast

On white

7.77
#285E18 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#285E18 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #285E18
7.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##285E18#FFFFFF#000000##FFFFFF
##285E181.007.772.707.77
#FFFFFF7.771.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#61550D
Deuteranopia (green-blind)
#5A511F
Tritanopia (blue-blind)
#235B50
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #285e18;
/* rgb */ color: rgb(40, 94, 24);
/* oklch */ color: oklch(42.9% 0.116 139.4);
Tailwind
colors: {
  custom: {
    50: '#688c59',
    500: '#285e18',
    950: '#000000',
  },
}
SCSS
$custom: #285e18;
$custom-light: #688c59;
$custom-dark: #000000;
JSON
{
  "hex": "#285e18",
  "rgb": {
    "r": 40,
    "g": 94,
    "b": 24
  },
  "hsl": {
    "h": 106.286,
    "s": 59.322,
    "l": 23.137
  },
  "oklch": {
    "l": 0.42936,
    "c": 0.11634,
    "h": 139.4
  },
  "luminance": 0.08522
}

Semantic roles & 50–950 ramp

primary
#285E18
secondary
#813D94
accent
#45E3BF
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#070C04
muted
#7A7D79

Preview Lab

Preview with #285E18

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

Preview Lab → · Contrast checker → · Palette generator →

#285E18 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva