#285337#285337

#285337 is a dark, moderate green. Relative luminance 0.069; OKLCH L 40.3% C 0.068 H 153.6°. Best body text is #FFFFFF at 8.81:1 contrast (WCAG AA passes).

Color values

HEX#285337
RGBrgb(40, 83, 55)
HSLhsl(141, 35%, 24%)
HSVhsv(141, 52%, 33%)
CMYKcmyk(51.8%, 0%, 33.7%, 67.5%)
CIE-LABlab(31.61, -22.24, 11.91)
CIE-LCHlch(31.61, 25.23, 151.82°)
OKLaboklab(40.26% -0.0607 0.0301)
OKLCHoklch(40.26% 0.068 153.6)
XYZxyz(4.6576, 6.9131, 4.7026)
Luminance0.0691 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#285337 #532844
analogous
#2F5328 #285337 #28534D
triadic
#285337 #372853 #533728
tetradic
#285337 #282F53 #532844 #534D28
square
#285337 #282F53 #532844 #534D28
split-complementary
#285337 #4D2853 #53282F
monochromatic
#0A150E #142A1C #285337 #3C7C52 #50A66E

Accessibility & contrast

On white

8.81
#285337 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#285337 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #285337
8.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##285337#FFFFFF#000000##FFFFFF
##2853371.008.812.388.81
#FFFFFF8.811.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#534D35
Deuteranopia (green-blind)
#4D4939
Tritanopia (blue-blind)
#1E524C
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #285337;
/* rgb */ color: rgb(40, 83, 55);
/* oklch */ color: oklch(40.3% 0.068 153.6);
Tailwind
colors: {
  custom: {
    50: '#65846e',
    500: '#285337',
    950: '#000000',
  },
}
SCSS
$custom: #285337;
$custom-light: #65846e;
$custom-dark: #000000;
JSON
{
  "hex": "#285337",
  "rgb": {
    "r": 40,
    "g": 83,
    "b": 55
  },
  "hsl": {
    "h": 140.93,
    "s": 34.959,
    "l": 24.118
  },
  "oklch": {
    "l": 0.40264,
    "c": 0.06776,
    "h": 153.6
  },
  "luminance": 0.06913
}

Semantic roles & 50–950 ramp

primary
#285337
secondary
#865173
accent
#5DA5CB
background
#F6F8F6
surface
#EBEFEB
border
#C6CAC6
text
#060B07
muted
#7A7C7A

Preview Lab

Preview with #285337

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

Preview Lab → · Contrast checker → · Palette generator →

#285337 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva