#285E2D#285E2D

#285E2D is a dark, moderate green. Relative luminance 0.086; OKLCH L 43.2% C 0.097 H 145.4°. Best body text is #FFFFFF at 7.69:1 contrast (WCAG AA passes).

Color values

HEX#285E2D
RGBrgb(40, 94, 45)
HSLhsl(126, 40%, 26%)
HSVhsv(126, 57%, 37%)
CMYKcmyk(57.4%, 0%, 52.1%, 63.1%)
CIE-LABlab(35.29, -29.46, 22.68)
CIE-LCHlch(35.29, 37.18, 142.40°)
OKLaboklab(43.22% -0.0799 0.055)
OKLCHoklch(43.22% 0.097 145.4)
XYZxyz(5.3511, 8.6455, 3.8689)
Luminance0.0865 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#285E2D #5E2859
analogous
#3E5E28 #285E2D #285E48
triadic
#285E2D #2D285E #5E2D28
tetradic
#285E2D #283E5E #5E2859 #5E4828
square
#285E2D #283E5E #5E2859 #5E4828
split-complementary
#285E2D #48285E #5E283E
monochromatic
#09150A #163318 #285E2D #3A8942 #4DB357

Accessibility & contrast

On white

7.69
#285E2D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#285E2D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #285E2D
7.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##285E2D#FFFFFF#000000##FFFFFF
##285E2D1.007.692.737.69
#FFFFFF7.691.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F5629
Deuteranopia (green-blind)
#585130
Tritanopia (blue-blind)
#1F5C53
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #285e2d;
/* rgb */ color: rgb(40, 94, 45);
/* oklch */ color: oklch(43.2% 0.097 145.4);
Tailwind
colors: {
  custom: {
    50: '#678c67',
    500: '#285e2d',
    950: '#000000',
  },
}
SCSS
$custom: #285e2d;
$custom-light: #678c67;
$custom-dark: #000000;
JSON
{
  "hex": "#285e2d",
  "rgb": {
    "r": 40,
    "g": 94,
    "b": 45
  },
  "hsl": {
    "h": 125.556,
    "s": 40.299,
    "l": 26.275
  },
  "oklch": {
    "l": 0.43217,
    "c": 0.09702,
    "h": 145.4
  },
  "luminance": 0.08646
}

Semantic roles & 50–950 ramp

primary
#285E2D
secondary
#91518B
accent
#58C5D0
background
#F6F8F6
surface
#EBF0EB
border
#C6CBC6
text
#060C06
muted
#7A7D7A

Preview Lab

Preview with #285E2D

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

Preview Lab → · Contrast checker → · Palette generator →

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