#285035#285035

#285035 is a dark, moderate green. Relative luminance 0.064; OKLCH L 39.4% C 0.065 H 152.9°. Best body text is #FFFFFF at 9.17:1 contrast (WCAG AA passes).

Color values

HEX#285035
RGBrgb(40, 80, 53)
HSLhsl(140, 33%, 24%)
HSVhsv(140, 50%, 31%)
CMYKcmyk(50%, 0%, 33.7%, 68.6%)
CIE-LABlab(30.51, -21.13, 11.66)
CIE-LCHlch(30.51, 24.13, 151.11°)
OKLaboklab(39.35% -0.0577 0.0295)
OKLCHoklch(39.35% 0.065 152.9)
XYZxyz(4.3860, 6.4452, 4.3804)
Luminance0.0644 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#285035 #502843
analogous
#2F5028 #285035 #285049
triadic
#285035 #352850 #503528
tetradic
#285035 #282F50 #502843 #504928
square
#285035 #282F50 #502843 #504928
split-complementary
#285035 #492850 #50282F
monochromatic
#0A140E #14271A #285035 #3C7950 #51A26B

Accessibility & contrast

On white

9.17
#285035 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#285035 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #285035
9.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##285035#FFFFFF#000000##FFFFFF
##2850351.009.172.299.17
#FFFFFF9.171.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#504A33
Deuteranopia (green-blind)
#4A4637
Tritanopia (blue-blind)
#204F49
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #285035;
/* rgb */ color: rgb(40, 80, 53);
/* oklch */ color: oklch(39.4% 0.065 152.9);
Tailwind
colors: {
  custom: {
    50: '#65816c',
    500: '#285035',
    950: '#000000',
  },
}
SCSS
$custom: #285035;
$custom-light: #65816c;
$custom-dark: #000000;
JSON
{
  "hex": "#285035",
  "rgb": {
    "r": 40,
    "g": 80,
    "b": 53
  },
  "hsl": {
    "h": 139.5,
    "s": 33.333,
    "l": 23.529
  },
  "oklch": {
    "l": 0.39354,
    "c": 0.06477,
    "h": 152.9
  },
  "luminance": 0.06445
}

Semantic roles & 50–950 ramp

primary
#285035
secondary
#835173
accent
#5EA7C9
background
#F6F7F6
surface
#EBEEEB
border
#C6C9C6
text
#060A07
muted
#7A7C7A

Preview Lab

Preview with #285035

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

Preview Lab → · Contrast checker → · Palette generator →

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