#285C10#285C10

#285C10 is a dark, moderate green. Relative luminance 0.081; OKLCH L 42.3% C 0.119 H 138.0°. Best body text is #FFFFFF at 7.99:1 contrast (WCAG AA passes).

Color values

HEX#285C10
RGBrgb(40, 92, 16)
HSLhsl(101, 70%, 21%)
HSVhsv(101, 83%, 36%)
CMYKcmyk(56.5%, 0%, 82.6%, 63.9%)
CIE-LABlab(34.28, -31.96, 35.65)
CIE-LCHlch(34.28, 47.88, 131.87°)
OKLaboklab(42.28% -0.0884 0.0796)
OKLCHoklch(42.28% 0.119 138)
XYZxyz(4.7956, 8.1424, 1.8091)
Luminance0.0814 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#285C10 #44105C
analogous
#4E5C10 #285C10 #105C1E
triadic
#285C10 #10285C #5C1028
tetradic
#285C10 #104E5C #44105C #5C1E10
square
#285C10 #104E5C #44105C #5C1E10
split-complementary
#285C10 #1E105C #5C104E
monochromatic
#0B1A05 #112807 #285C10 #3F9019 #55C422

Accessibility & contrast

On white

7.99
#285C10 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #285C10
7.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##285C10#FFFFFF#000000##FFFFFF
##285C101.007.992.637.99
#FFFFFF7.991.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F5301
Deuteranopia (green-blind)
#584F18
Tritanopia (blue-blind)
#24584E
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #285c10;
/* rgb */ color: rgb(40, 92, 16);
/* oklch */ color: oklch(42.3% 0.119 138.0);
Tailwind
colors: {
  custom: {
    50: '#688b55',
    500: '#285c10',
    950: '#000000',
  },
}
SCSS
$custom: #285c10;
$custom-light: #688b55;
$custom-dark: #000000;
JSON
{
  "hex": "#285c10",
  "rgb": {
    "r": 40,
    "g": 92,
    "b": 16
  },
  "hsl": {
    "h": 101.053,
    "s": 70.37,
    "l": 21.176
  },
  "oklch": {
    "l": 0.42284,
    "c": 0.11894,
    "h": 138
  },
  "luminance": 0.08143
}

Semantic roles & 50–950 ramp

primary
#285C10
secondary
#763395
accent
#3BEDB5
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#070C03
muted
#7A7D78

Preview Lab

Preview with #285C10

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

Preview Lab → · Contrast checker → · Palette generator →

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