#285336#285336

#285336 is a dark, moderate green. Relative luminance 0.069; OKLCH L 40.2% C 0.069 H 152.7°. Best body text is #FFFFFF at 8.82:1 contrast (WCAG AA passes).

Color values

HEX#285336
RGBrgb(40, 83, 54)
HSLhsl(140, 35%, 24%)
HSVhsv(140, 52%, 33%)
CMYKcmyk(51.8%, 0%, 34.9%, 67.5%)
CIE-LABlab(31.59, -22.46, 12.50)
CIE-LCHlch(31.59, 25.70, 150.89°)
OKLaboklab(40.24% -0.0612 0.0316)
OKLCHoklch(40.24% 0.069 152.7)
XYZxyz(4.6339, 6.9036, 4.5777)
Luminance0.0690 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#285336 #532845
analogous
#305328 #285336 #28534C
triadic
#285336 #362853 #533628
tetradic
#285336 #283053 #532845 #534C28
square
#285336 #283053 #532845 #534C28
split-complementary
#285336 #4C2853 #532830
monochromatic
#0A150D #142A1B #285336 #3C7C51 #50A66C

Accessibility & contrast

On white

8.82
#285336 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #285336
8.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##285336#FFFFFF#000000##FFFFFF
##2853361.008.822.388.82
#FFFFFF8.821.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#534D34
Deuteranopia (green-blind)
#4D4938
Tritanopia (blue-blind)
#1F524B
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #285336;
/* rgb */ color: rgb(40, 83, 54);
/* oklch */ color: oklch(40.2% 0.069 152.7);
Tailwind
colors: {
  custom: {
    50: '#65846d',
    500: '#285336',
    950: '#000000',
  },
}
SCSS
$custom: #285336;
$custom-light: #65846d;
$custom-dark: #000000;
JSON
{
  "hex": "#285336",
  "rgb": {
    "r": 40,
    "g": 83,
    "b": 54
  },
  "hsl": {
    "h": 139.535,
    "s": 34.959,
    "l": 24.118
  },
  "oklch": {
    "l": 0.40239,
    "c": 0.06887,
    "h": 152.7
  },
  "luminance": 0.06904
}

Semantic roles & 50–950 ramp

primary
#285336
secondary
#865175
accent
#5DA7CB
background
#F6F8F6
surface
#EBEFEB
border
#C6CAC6
text
#060B07
muted
#7A7C7A

Preview Lab

Preview with #285336

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

Preview Lab → · Contrast checker → · Palette generator →

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