#285D11#285D11

#285D11 is a dark, moderate green. Relative luminance 0.083; OKLCH L 42.6% C 0.120 H 138.3°. Best body text is #FFFFFF at 7.88:1 contrast (WCAG AA passes).

Color values

HEX#285D11
RGBrgb(40, 93, 17)
HSLhsl(102, 69%, 22%)
HSVhsv(102, 82%, 36%)
CMYKcmyk(57%, 0%, 81.7%, 63.5%)
CIE-LABlab(34.64, -32.31, 35.63)
CIE-LCHlch(34.64, 48.10, 132.20°)
OKLaboklab(42.59% -0.0893 0.0797)
OKLCHoklch(42.59% 0.12 138.3)
XYZxyz(4.8904, 8.3199, 1.8784)
Luminance0.0832 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#285D11 #46115D
analogous
#4E5D11 #285D11 #115D20
triadic
#285D11 #11285D #5D1128
tetradic
#285D11 #114E5D #46115D #5D2011
square
#285D11 #114E5D #46115D #5D2011
split-complementary
#285D11 #20115D #5D114E
monochromatic
#0B1A05 #122908 #285D11 #3E911A #55C424

Accessibility & contrast

On white

7.88
#285D11 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#285D11 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #285D11
7.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##285D11#FFFFFF#000000##FFFFFF
##285D111.007.882.667.88
#FFFFFF7.881.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#605402
Deuteranopia (green-blind)
#595019
Tritanopia (blue-blind)
#24594F
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #285d11;
/* rgb */ color: rgb(40, 93, 17);
/* oklch */ color: oklch(42.6% 0.120 138.3);
Tailwind
colors: {
  custom: {
    50: '#698b56',
    500: '#285d11',
    950: '#000000',
  },
}
SCSS
$custom: #285d11;
$custom-light: #698b56;
$custom-dark: #000000;
JSON
{
  "hex": "#285d11",
  "rgb": {
    "r": 40,
    "g": 93,
    "b": 17
  },
  "hsl": {
    "h": 101.842,
    "s": 69.091,
    "l": 21.569
  },
  "oklch": {
    "l": 0.42585,
    "c": 0.11967,
    "h": 138.3
  },
  "luminance": 0.0832
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #285D11

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

Preview Lab → · Contrast checker → · Palette generator →

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