#285E2E#285E2E

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

Color values

HEX#285E2E
RGBrgb(40, 94, 46)
HSLhsl(127, 40%, 26%)
HSVhsv(127, 57%, 37%)
CMYKcmyk(57.4%, 0%, 51.1%, 63.1%)
CIE-LABlab(35.31, -29.29, 22.13)
CIE-LCHlch(35.31, 36.71, 142.92°)
OKLaboklab(43.24% -0.0794 0.0539)
OKLCHoklch(43.24% 0.096 145.9)
XYZxyz(5.3706, 8.6533, 3.9715)
Luminance0.0865 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#285E2E #5E2858
analogous
#3D5E28 #285E2E #285E49
triadic
#285E2E #2E285E #5E2E28
tetradic
#285E2E #283D5E #5E2858 #5E4928
square
#285E2E #283D5E #5E2858 #5E4928
split-complementary
#285E2E #49285E #5E283D
monochromatic
#09150B #163319 #285E2E #3A8943 #4DB358

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##285E2E#FFFFFF#000000##FFFFFF
##285E2E1.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)
#5F562A
Deuteranopia (green-blind)
#585131
Tritanopia (blue-blind)
#1E5C53
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #285e2e;
/* rgb */ color: rgb(40, 94, 46);
/* oklch */ color: oklch(43.2% 0.096 145.9);
Tailwind
colors: {
  custom: {
    50: '#678c67',
    500: '#285e2e',
    950: '#000000',
  },
}
SCSS
$custom: #285e2e;
$custom-light: #678c67;
$custom-dark: #000000;
JSON
{
  "hex": "#285e2e",
  "rgb": {
    "r": 40,
    "g": 94,
    "b": 46
  },
  "hsl": {
    "h": 126.667,
    "s": 40.299,
    "l": 26.275
  },
  "oklch": {
    "l": 0.43235,
    "c": 0.09595,
    "h": 145.9
  },
  "luminance": 0.08654
}

Semantic roles & 50–950 ramp

primary
#285E2E
secondary
#91518A
accent
#58C3D0
background
#F6F8F6
surface
#EBF0EB
border
#C6CBC6
text
#060C06
muted
#7A7D7A

Preview Lab

Preview with #285E2E

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

Preview Lab → · Contrast checker → · Palette generator →

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