#285F36#285F36

#285F36 is a dark, moderate green. Relative luminance 0.089; OKLCH L 43.7% C 0.089 H 149.7°. Best body text is #FFFFFF at 7.55:1 contrast (WCAG AA passes).

Color values

HEX#285F36
RGBrgb(40, 95, 54)
HSLhsl(135, 41%, 26%)
HSVhsv(135, 58%, 37%)
CMYKcmyk(57.9%, 0%, 43.2%, 62.7%)
CIE-LABlab(35.79, -28.31, 18.11)
CIE-LCHlch(35.79, 33.61, 147.39°)
OKLaboklab(43.68% -0.0767 0.0449)
OKLCHoklch(43.68% 0.089 149.7)
XYZxyz(5.6328, 8.9014, 4.9106)
Luminance0.0890 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#285F36 #5F2851
analogous
#365F28 #285F36 #285F52
triadic
#285F36 #36285F #5F3628
tetradic
#285F36 #28365F #5F2851 #5F5228
square
#285F36 #28365F #5F2851 #5F5228
split-complementary
#285F36 #52285F #5F2836
monochromatic
#09160C #16341E #285F36 #3A8A4E #4DB467

Accessibility & contrast

On white

7.55
#285F36 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#285F36 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #285F36
7.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##285F36#FFFFFF#000000##FFFFFF
##285F361.007.552.787.55
#FFFFFF7.551.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#605733
Deuteranopia (green-blind)
#585239
Tritanopia (blue-blind)
#1B5D55
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #285f36;
/* rgb */ color: rgb(40, 95, 54);
/* oklch */ color: oklch(43.7% 0.089 149.7);
Tailwind
colors: {
  custom: {
    50: '#678d6d',
    500: '#285f36',
    950: '#000000',
  },
}
SCSS
$custom: #285f36;
$custom-light: #678d6d;
$custom-dark: #000000;
JSON
{
  "hex": "#285f36",
  "rgb": {
    "r": 40,
    "g": 95,
    "b": 54
  },
  "hsl": {
    "h": 135.273,
    "s": 40.741,
    "l": 26.471
  },
  "oklch": {
    "l": 0.43677,
    "c": 0.08891,
    "h": 149.7
  },
  "luminance": 0.08902
}

Semantic roles & 50–950 ramp

primary
#285F36
secondary
#925181
accent
#57B2D1
background
#F6F8F6
surface
#EBF0EB
border
#C6CBC6
text
#060C07
muted
#7A7D7A

Preview Lab

Preview with #285F36

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

Preview Lab → · Contrast checker → · Palette generator →

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