#285322#285322

#285322 is a dark, moderate green. Relative luminance 0.068; OKLCH L 39.8% C 0.091 H 141.3°. Best body text is #FFFFFF at 8.93:1 contrast (WCAG AA passes).

Color values

HEX#285322
RGBrgb(40, 83, 34)
HSLhsl(113, 42%, 23%)
HSVhsv(113, 59%, 33%)
CMYKcmyk(51.8%, 0%, 59%, 67.5%)
CIE-LABlab(31.24, -26.05, 23.91)
CIE-LCHlch(31.24, 35.36, 137.45°)
OKLaboklab(39.84% -0.0711 0.057)
OKLCHoklch(39.84% 0.091 141.3)
XYZxyz(4.2569, 6.7528, 2.5922)
Luminance0.0675 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#285322 #4D2253
analogous
#405322 #285322 #225334
triadic
#285322 #222853 #532228
tetradic
#285322 #224053 #4D2253 #533422
square
#285322 #224053 #4D2253 #533422
split-complementary
#285322 #342253 #532240
monochromatic
#0A1609 #132810 #285322 #3D7E34 #52AA46

Accessibility & contrast

On white

8.93
#285322 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#285322 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #285322
8.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##285322#FFFFFF#000000##FFFFFF
##2853221.008.932.358.93
#FFFFFF8.931.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#554C1D
Deuteranopia (green-blind)
#4F4826
Tritanopia (blue-blind)
#235048
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #285322;
/* rgb */ color: rgb(40, 83, 34);
/* oklch */ color: oklch(39.8% 0.091 141.3);
Tailwind
colors: {
  custom: {
    50: '#66845e',
    500: '#285322',
    950: '#000000',
  },
}
SCSS
$custom: #285322;
$custom-light: #66845e;
$custom-dark: #000000;
JSON
{
  "hex": "#285322",
  "rgb": {
    "r": 40,
    "g": 83,
    "b": 34
  },
  "hsl": {
    "h": 112.653,
    "s": 41.88,
    "l": 22.941
  },
  "oklch": {
    "l": 0.3984,
    "c": 0.09115,
    "h": 141.3
  },
  "luminance": 0.06753
}

Semantic roles & 50–950 ramp

primary
#285322
secondary
#804A87
accent
#56D2C3
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#060B04
muted
#7A7C79

Preview Lab

Preview with #285322

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

Preview Lab → · Contrast checker → · Palette generator →

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