#285E11#285E11

#285E11 is a dark, vivid green. Relative luminance 0.085; OKLCH L 42.9% C 0.121 H 138.4°. Best body text is #FFFFFF at 7.78:1 contrast (WCAG AA passes).

Color values

HEX#285E11
RGBrgb(40, 94, 17)
HSLhsl(102, 69%, 22%)
HSVhsv(102, 82%, 37%)
CMYKcmyk(57.4%, 0%, 81.9%, 63.1%)
CIE-LABlab(35.00, -32.73, 35.98)
CIE-LCHlch(35.00, 48.64, 132.29°)
OKLaboklab(42.88% -0.0904 0.0804)
OKLCHoklch(42.88% 0.121 138.4)
XYZxyz(4.9788, 8.4966, 1.9079)
Luminance0.0850 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#285E11 #47115E
analogous
#4F5E11 #285E11 #115E21
triadic
#285E11 #11285E #5E1128
tetradic
#285E11 #114F5E #47115E #5E2111
square
#285E11 #114F5E #47115E #5E2111
split-complementary
#285E11 #21115E #5E114F
monochromatic
#0B1A05 #122A08 #285E11 #3E921A #54C624

Accessibility & contrast

On white

7.78
#285E11 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #285E11
7.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##285E11#FFFFFF#000000##FFFFFF
##285E111.007.782.707.78
#FFFFFF7.781.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#615501
Deuteranopia (green-blind)
#5A5119
Tritanopia (blue-blind)
#235A4F
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #285e11;
/* rgb */ color: rgb(40, 94, 17);
/* oklch */ color: oklch(42.9% 0.121 138.4);
Tailwind
colors: {
  custom: {
    50: '#698c56',
    500: '#285e11',
    950: '#000000',
  },
}
SCSS
$custom: #285e11;
$custom-light: #698c56;
$custom-dark: #000000;
JSON
{
  "hex": "#285e11",
  "rgb": {
    "r": 40,
    "g": 94,
    "b": 17
  },
  "hsl": {
    "h": 102.078,
    "s": 69.369,
    "l": 21.765
  },
  "oklch": {
    "l": 0.42878,
    "c": 0.121,
    "h": 138.4
  },
  "luminance": 0.08497
}

Semantic roles & 50–950 ramp

primary
#285E11
secondary
#793497
accent
#3CECB7
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#070C03
muted
#7A7D78

Preview Lab

Preview with #285E11

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

Preview Lab → · Contrast checker → · Palette generator →

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