#285E1E#285E1E

#285E1E is a dark, moderate green. Relative luminance 0.086; OKLCH L 43.0% C 0.112 H 140.7°. Best body text is #FFFFFF at 7.75:1 contrast (WCAG AA passes).

Color values

HEX#285E1E
RGBrgb(40, 94, 30)
HSLhsl(111, 52%, 24%)
HSVhsv(111, 68%, 37%)
CMYKcmyk(57.4%, 0%, 68.1%, 63.1%)
CIE-LABlab(35.10, -31.54, 30.45)
CIE-LCHlch(35.10, 43.84, 136.00°)
OKLaboklab(43% -0.0863 0.0707)
OKLCHoklch(43% 0.112 140.7)
XYZxyz(5.1119, 8.5498, 2.6090)
Luminance0.0855 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#285E1E #541E5E
analogous
#485E1E #285E1E #1E5E34
triadic
#285E1E #1E285E #5E1E28
tetradic
#285E1E #1E485E #541E5E #5E341E
square
#285E1E #1E485E #541E5E #5E341E
split-complementary
#285E1E #341E5E #5E1E48
monochromatic
#0A1707 #14300F #285E1E #3C8C2D #4FBB3C

Accessibility & contrast

On white

7.75
#285E1E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#285E1E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #285E1E
7.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##285E1E#FFFFFF#000000##FFFFFF
##285E1E1.007.752.717.75
#FFFFFF7.751.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#615516
Deuteranopia (green-blind)
#5A5123
Tritanopia (blue-blind)
#225B51
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #285e1e;
/* rgb */ color: rgb(40, 94, 30);
/* oklch */ color: oklch(43.0% 0.112 140.7);
Tailwind
colors: {
  custom: {
    50: '#688c5d',
    500: '#285e1e',
    950: '#000000',
  },
}
SCSS
$custom: #285e1e;
$custom-light: #688c5d;
$custom-dark: #000000;
JSON
{
  "hex": "#285e1e",
  "rgb": {
    "r": 40,
    "g": 94,
    "b": 30
  },
  "hsl": {
    "h": 110.625,
    "s": 51.613,
    "l": 24.314
  },
  "oklch": {
    "l": 0.43,
    "c": 0.11154,
    "h": 140.7
  },
  "luminance": 0.0855
}

Semantic roles & 50–950 ramp

primary
#285E1E
secondary
#874593
accent
#4DDBC5
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#060C04
muted
#7A7D79

Preview Lab

Preview with #285E1E

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

Preview Lab → · Contrast checker → · Palette generator →

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