#285C22#285C22

#285C22 is a dark, moderate green. Relative luminance 0.082; OKLCH L 42.5% C 0.105 H 141.6°. Best body text is #FFFFFF at 7.94:1 contrast (WCAG AA passes).

Color values

HEX#285C22
RGBrgb(40, 92, 34)
HSLhsl(114, 46%, 25%)
HSVhsv(114, 63%, 36%)
CMYKcmyk(56.5%, 0%, 63%, 63.9%)
CIE-LABlab(34.44, -30.17, 27.67)
CIE-LCHlch(34.44, 40.94, 137.48°)
OKLaboklab(42.47% -0.0824 0.0652)
OKLCHoklch(42.47% 0.105 141.6)
XYZxyz(4.9907, 8.2205, 2.8368)
Luminance0.0822 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#285C22 #56225C
analogous
#455C22 #285C22 #225C39
triadic
#285C22 #22285C #5C2228
tetradic
#285C22 #22455C #56225C #5C3922
square
#285C22 #22455C #56225C #5C3922
split-complementary
#285C22 #39225C #5C2245
monochromatic
#0A1608 #152F11 #285C22 #3B8933 #4FB543

Accessibility & contrast

On white

7.94
#285C22 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#285C22 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #285C22
7.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##285C22#FFFFFF#000000##FFFFFF
##285C221.007.942.647.94
#FFFFFF7.941.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E541C
Deuteranopia (green-blind)
#574F27
Tritanopia (blue-blind)
#21594F
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #285c22;
/* rgb */ color: rgb(40, 92, 34);
/* oklch */ color: oklch(42.5% 0.105 141.6);
Tailwind
colors: {
  custom: {
    50: '#678b5f',
    500: '#285c22',
    950: '#000000',
  },
}
SCSS
$custom: #285c22;
$custom-light: #678b5f;
$custom-dark: #000000;
JSON
{
  "hex": "#285c22",
  "rgb": {
    "r": 40,
    "g": 92,
    "b": 34
  },
  "hsl": {
    "h": 113.793,
    "s": 46.032,
    "l": 24.706
  },
  "oklch": {
    "l": 0.42467,
    "c": 0.10501,
    "h": 141.6
  },
  "luminance": 0.08221
}

Semantic roles & 50–950 ramp

primary
#285C22
secondary
#894A90
accent
#52D6C8
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#060C05
muted
#7A7D79

Preview Lab

Preview with #285C22

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

Preview Lab → · Contrast checker → · Palette generator →

#285C22 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva