#285C16#285C16

#285C16 is a dark, moderate green. Relative luminance 0.082; OKLCH L 42.3% C 0.115 H 138.9°. Best body text is #FFFFFF at 7.98:1 contrast (WCAG AA passes).

Color values

HEX#285C16
RGBrgb(40, 92, 22)
HSLhsl(105, 61%, 22%)
HSVhsv(105, 76%, 36%)
CMYKcmyk(56.5%, 0%, 76.1%, 63.9%)
CIE-LABlab(34.32, -31.48, 33.30)
CIE-LCHlch(34.32, 45.83, 133.39°)
OKLaboklab(42.33% -0.0867 0.0756)
OKLCHoklch(42.33% 0.115 138.9)
XYZxyz(4.8469, 8.1630, 2.0791)
Luminance0.0816 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#285C16 #4A165C
analogous
#4B5C16 #285C16 #165C27
triadic
#285C16 #16285C #5C1628
tetradic
#285C16 #164B5C #4A165C #5C2716
square
#285C16 #164B5C #4A165C #5C2716
split-complementary
#285C16 #27165C #5C164B
monochromatic
#0B1906 #132B0A #285C16 #3D8D22 #53BF2E

Accessibility & contrast

On white

7.98
#285C16 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#285C16 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #285C16
7.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##285C16#FFFFFF#000000##FFFFFF
##285C161.007.982.637.98
#FFFFFF7.981.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F530B
Deuteranopia (green-blind)
#584F1D
Tritanopia (blue-blind)
#23594E
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #285c16;
/* rgb */ color: rgb(40, 92, 22);
/* oklch */ color: oklch(42.3% 0.115 138.9);
Tailwind
colors: {
  custom: {
    50: '#688b58',
    500: '#285c16',
    950: '#000000',
  },
}
SCSS
$custom: #285c16;
$custom-light: #688b58;
$custom-dark: #000000;
JSON
{
  "hex": "#285c16",
  "rgb": {
    "r": 40,
    "g": 92,
    "b": 22
  },
  "hsl": {
    "h": 104.571,
    "s": 61.404,
    "l": 22.353
  },
  "oklch": {
    "l": 0.42332,
    "c": 0.11504,
    "h": 138.9
  },
  "luminance": 0.08163
}

Semantic roles & 50–950 ramp

primary
#285C16
secondary
#7C3B93
accent
#43E5BB
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#070C03
muted
#7A7D78

Preview Lab

Preview with #285C16

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

Preview Lab → · Contrast checker → · Palette generator →

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