#285223#285223

#285223 is a dark, moderate green. Relative luminance 0.066; OKLCH L 39.6% C 0.088 H 141.6°. Best body text is #FFFFFF at 9.05:1 contrast (WCAG AA passes).

Color values

HEX#285223
RGBrgb(40, 82, 35)
HSLhsl(114, 40%, 23%)
HSVhsv(114, 57%, 32%)
CMYKcmyk(51.2%, 0%, 57.3%, 67.8%)
CIE-LABlab(30.89, -25.42, 22.94)
CIE-LCHlch(30.89, 34.24, 137.94°)
OKLaboklab(39.56% -0.0694 0.0549)
OKLCHoklch(39.56% 0.089 141.6)
XYZxyz(4.1956, 6.6068, 2.6439)
Luminance0.0661 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#285223 #4D2352
analogous
#3F5223 #285223 #235235
triadic
#285223 #232852 #522328
tetradic
#285223 #233F52 #4D2352 #523523
square
#285223 #233F52 #4D2352 #523523
split-complementary
#285223 #352352 #52233F
monochromatic
#0A1509 #132711 #285223 #3D7D35 #52A848

Accessibility & contrast

On white

9.05
#285223 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#285223 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #285223
9.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##285223#FFFFFF#000000##FFFFFF
##2852231.009.052.329.05
#FFFFFF9.051.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#544B1F
Deuteranopia (green-blind)
#4E4726
Tritanopia (blue-blind)
#235047
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #285223;
/* rgb */ color: rgb(40, 82, 35);
/* oklch */ color: oklch(39.6% 0.088 141.6);
Tailwind
colors: {
  custom: {
    50: '#66835f',
    500: '#285223',
    950: '#000000',
  },
}
SCSS
$custom: #285223;
$custom-light: #66835f;
$custom-dark: #000000;
JSON
{
  "hex": "#285223",
  "rgb": {
    "r": 40,
    "g": 82,
    "b": 35
  },
  "hsl": {
    "h": 113.617,
    "s": 40.171,
    "l": 22.941
  },
  "oklch": {
    "l": 0.39563,
    "c": 0.0885,
    "h": 141.6
  },
  "luminance": 0.06607
}

Semantic roles & 50–950 ramp

primary
#285223
secondary
#804B86
accent
#58D0C3
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#060A04
muted
#7A7C79

Preview Lab

Preview with #285223

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

Preview Lab → · Contrast checker → · Palette generator →

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