#285E41#285E41

#285E41 is a dark, moderate green. Relative luminance 0.088; OKLCH L 43.6% C 0.075 H 157.6°. Best body text is #FFFFFF at 7.59:1 contrast (WCAG AA passes).

Color values

HEX#285E41
RGBrgb(40, 94, 65)
HSLhsl(148, 40%, 26%)
HSVhsv(148, 57%, 37%)
CMYKcmyk(57.4%, 0%, 30.9%, 63.1%)
CIE-LABlab(35.67, -25.51, 11.33)
CIE-LCHlch(35.67, 27.91, 156.05°)
OKLaboklab(43.65% -0.0698 0.0288)
OKLCHoklch(43.65% 0.076 157.6)
XYZxyz(5.8314, 8.8377, 6.3985)
Luminance0.0884 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#285E41 #5E2845
analogous
#2A5E28 #285E41 #285E5C
triadic
#285E41 #41285E #5E4128
tetradic
#285E41 #282A5E #5E2845 #5E5C28
square
#285E41 #282A5E #5E2845 #5E5C28
split-complementary
#285E41 #5C285E #5E282A
monochromatic
#09150F #163323 #285E41 #3A895F #4DB37C

Accessibility & contrast

On white

7.59
#285E41 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#285E41 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #285E41
7.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##285E41#FFFFFF#000000##FFFFFF
##285E411.007.592.777.59
#FFFFFF7.591.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D573F
Deuteranopia (green-blind)
#565243
Tritanopia (blue-blind)
#175D56
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #285e41;
/* rgb */ color: rgb(40, 94, 65);
/* oklch */ color: oklch(43.6% 0.075 157.6);
Tailwind
colors: {
  custom: {
    50: '#678c75',
    500: '#285e41',
    950: '#000000',
  },
}
SCSS
$custom: #285e41;
$custom-light: #678c75;
$custom-dark: #000000;
JSON
{
  "hex": "#285e41",
  "rgb": {
    "r": 40,
    "g": 94,
    "b": 65
  },
  "hsl": {
    "h": 147.778,
    "s": 40.299,
    "l": 26.275
  },
  "oklch": {
    "l": 0.4365,
    "c": 0.0755,
    "h": 157.6
  },
  "luminance": 0.08838
}

Semantic roles & 50–950 ramp

primary
#285E41
secondary
#915173
accent
#5898D0
background
#F6F8F7
surface
#EBF0ED
border
#C6CBC8
text
#060C08
muted
#7A7D7B

Preview Lab

Preview with #285E41

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

Preview Lab → · Contrast checker → · Palette generator →

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