#285F11#285F11

#285F11 is a dark, vivid green. Relative luminance 0.087; OKLCH L 43.2% C 0.122 H 138.5°. Best body text is #FFFFFF at 7.68:1 contrast (WCAG AA passes).

Color values

HEX#285F11
RGBrgb(40, 95, 17)
HSLhsl(102, 70%, 22%)
HSVhsv(102, 82%, 37%)
CMYKcmyk(57.9%, 0%, 82.1%, 62.7%)
CIE-LABlab(35.35, -33.15, 36.32)
CIE-LCHlch(35.35, 49.17, 132.38°)
OKLaboklab(43.17% -0.0916 0.0811)
OKLCHoklch(43.17% 0.122 138.5)
XYZxyz(5.0683, 8.6756, 1.9377)
Luminance0.0868 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#285F11 #48115F
analogous
#4F5F11 #285F11 #115F21
triadic
#285F11 #11285F #5F1128
tetradic
#285F11 #114F5F #48115F #5F2111
square
#285F11 #114F5F #48115F #5F2111
split-complementary
#285F11 #21115F #5F114F
monochromatic
#0B1A05 #122B08 #285F11 #3E931A #54C724

Accessibility & contrast

On white

7.68
#285F11 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#285F11 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #285F11
7.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##285F11#FFFFFF#000000##FFFFFF
##285F111.007.682.747.68
#FFFFFF7.681.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#625601
Deuteranopia (green-blind)
#5B511A
Tritanopia (blue-blind)
#235B50
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #285f11;
/* rgb */ color: rgb(40, 95, 17);
/* oklch */ color: oklch(43.2% 0.122 138.5);
Tailwind
colors: {
  custom: {
    50: '#698d56',
    500: '#285f11',
    950: '#000000',
  },
}
SCSS
$custom: #285f11;
$custom-light: #698d56;
$custom-dark: #000000;
JSON
{
  "hex": "#285f11",
  "rgb": {
    "r": 40,
    "g": 95,
    "b": 17
  },
  "hsl": {
    "h": 102.308,
    "s": 69.643,
    "l": 21.961
  },
  "oklch": {
    "l": 0.43171,
    "c": 0.12232,
    "h": 138.5
  },
  "luminance": 0.08676
}

Semantic roles & 50–950 ramp

primary
#285F11
secondary
#7A3498
accent
#3BECB8
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#070C03
muted
#7A7D78

Preview Lab

Preview with #285F11

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

Preview Lab → · Contrast checker → · Palette generator →

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