#285F41#285F41

#285F41 is a dark, moderate green. Relative luminance 0.090; OKLCH L 43.9% C 0.077 H 157.1°. Best body text is #FFFFFF at 7.49:1 contrast (WCAG AA passes).

Color values

HEX#285F41
RGBrgb(40, 95, 65)
HSLhsl(147, 41%, 26%)
HSVhsv(147, 58%, 37%)
CMYKcmyk(57.9%, 0%, 31.6%, 62.7%)
CIE-LABlab(36.02, -26.00, 11.81)
CIE-LCHlch(36.02, 28.56, 155.58°)
OKLaboklab(43.93% -0.071 0.03)
OKLCHoklch(43.93% 0.077 157.1)
XYZxyz(5.9209, 9.0167, 6.4284)
Luminance0.0902 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#285F41 #5F2846
analogous
#2B5F28 #285F41 #285F5D
triadic
#285F41 #41285F #5F4128
tetradic
#285F41 #282B5F #5F2846 #5F5D28
square
#285F41 #282B5F #5F2846 #5F5D28
split-complementary
#285F41 #5D285F #5F282B
monochromatic
#09160F #163424 #285F41 #3A8A5E #4DB47C

Accessibility & contrast

On white

7.49
#285F41 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#285F41 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #285F41
7.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##285F41#FFFFFF#000000##FFFFFF
##285F411.007.492.807.49
#FFFFFF7.491.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E583F
Deuteranopia (green-blind)
#575243
Tritanopia (blue-blind)
#175E57
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #285f41;
/* rgb */ color: rgb(40, 95, 65);
/* oklch */ color: oklch(43.9% 0.077 157.1);
Tailwind
colors: {
  custom: {
    50: '#678d75',
    500: '#285f41',
    950: '#000000',
  },
}
SCSS
$custom: #285f41;
$custom-light: #678d75;
$custom-dark: #000000;
JSON
{
  "hex": "#285f41",
  "rgb": {
    "r": 40,
    "g": 95,
    "b": 65
  },
  "hsl": {
    "h": 147.273,
    "s": 40.741,
    "l": 26.471
  },
  "oklch": {
    "l": 0.43933,
    "c": 0.07711,
    "h": 157.1
  },
  "luminance": 0.09017
}

Semantic roles & 50–950 ramp

primary
#285F41
secondary
#925174
accent
#5799D1
background
#F6F8F7
surface
#EBF0ED
border
#C6CBC8
text
#060C08
muted
#7A7D7B

Preview Lab

Preview with #285F41

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

Preview Lab → · Contrast checker → · Palette generator →

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