#285331#285331

#285331 is a dark, moderate green. Relative luminance 0.069; OKLCH L 40.1% C 0.075 H 148.9°. Best body text is #FFFFFF at 8.85:1 contrast (WCAG AA passes).

Color values

HEX#285331
RGBrgb(40, 83, 49)
HSLhsl(133, 35%, 24%)
HSVhsv(133, 52%, 33%)
CMYKcmyk(51.8%, 0%, 41%, 67.5%)
CIE-LABlab(31.48, -23.49, 15.43)
CIE-LCHlch(31.48, 28.11, 146.69°)
OKLaboklab(40.12% -0.0638 0.0385)
OKLCHoklch(40.12% 0.075 148.9)
XYZxyz(4.5224, 6.8590, 3.9908)
Luminance0.0686 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#285331 #53284A
analogous
#355328 #285331 #285347
triadic
#285331 #312853 #533128
tetradic
#285331 #283553 #53284A #534728
square
#285331 #283553 #53284A #534728
split-complementary
#285331 #472853 #532835
monochromatic
#0A150C #142A19 #285331 #3C7C49 #50A662

Accessibility & contrast

On white

8.85
#285331 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#285331 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #285331
8.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##285331#FFFFFF#000000##FFFFFF
##2853311.008.852.378.85
#FFFFFF8.851.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#544D2F
Deuteranopia (green-blind)
#4E4833
Tritanopia (blue-blind)
#20524A
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #285331;
/* rgb */ color: rgb(40, 83, 49);
/* oklch */ color: oklch(40.1% 0.075 148.9);
Tailwind
colors: {
  custom: {
    50: '#658469',
    500: '#285331',
    950: '#000000',
  },
}
SCSS
$custom: #285331;
$custom-light: #658469;
$custom-dark: #000000;
JSON
{
  "hex": "#285331",
  "rgb": {
    "r": 40,
    "g": 83,
    "b": 49
  },
  "hsl": {
    "h": 132.558,
    "s": 34.959,
    "l": 24.118
  },
  "oklch": {
    "l": 0.40122,
    "c": 0.07454,
    "h": 148.9
  },
  "luminance": 0.06859
}

Semantic roles & 50–950 ramp

primary
#285331
secondary
#86517B
accent
#5DB4CB
background
#F6F8F6
surface
#EBEFEB
border
#C6CAC6
text
#060B06
muted
#7A7C7A

Preview Lab

Preview with #285331

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

Preview Lab → · Contrast checker → · Palette generator →

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