#285C25#285C25

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

Color values

HEX#285C25
RGBrgb(40, 92, 37)
HSLhsl(117, 43%, 25%)
HSVhsv(117, 60%, 36%)
CMYKcmyk(56.5%, 0%, 59.8%, 63.9%)
CIE-LABlab(34.47, -29.77, 26.12)
CIE-LCHlch(34.47, 39.61, 138.73°)
OKLaboklab(42.51% -0.0811 0.0621)
OKLCHoklch(42.51% 0.102 142.6)
XYZxyz(5.0359, 8.2386, 3.0747)
Luminance0.0824 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#285C25 #59255C
analogous
#435C25 #285C25 #255C3D
triadic
#285C25 #25285C #5C2528
tetradic
#285C25 #25435C #59255C #5C3D25
square
#285C25 #25435C #59255C #5C3D25
split-complementary
#285C25 #3D255C #5C2543
monochromatic
#091609 #153013 #285C25 #3B8837 #4EB348

Accessibility & contrast

On white

7.93
#285C25 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#285C25 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #285C25
7.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##285C25#FFFFFF#000000##FFFFFF
##285C251.007.932.657.93
#FFFFFF7.931.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E5420
Deuteranopia (green-blind)
#574F29
Tritanopia (blue-blind)
#215950
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #285c25;
/* rgb */ color: rgb(40, 92, 37);
/* oklch */ color: oklch(42.5% 0.102 142.6);
Tailwind
colors: {
  custom: {
    50: '#678b61',
    500: '#285c25',
    950: '#000000',
  },
}
SCSS
$custom: #285c25;
$custom-light: #678b61;
$custom-dark: #000000;
JSON
{
  "hex": "#285c25",
  "rgb": {
    "r": 40,
    "g": 92,
    "b": 37
  },
  "hsl": {
    "h": 116.727,
    "s": 42.636,
    "l": 25.294
  },
  "oklch": {
    "l": 0.42509,
    "c": 0.10212,
    "h": 142.6
  },
  "luminance": 0.08239
}

Semantic roles & 50–950 ramp

primary
#285C25
secondary
#8C4D8F
accent
#55D2CC
background
#F6F8F5
surface
#EBF0EA
border
#C6CBC6
text
#060C05
muted
#7A7D79

Preview Lab

Preview with #285C25

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

Preview Lab → · Contrast checker → · Palette generator →

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