#285D2C#285D2C

#285D2C is a dark, moderate green. Relative luminance 0.085; OKLCH L 42.9% C 0.097 H 145.1°. Best body text is #FFFFFF at 7.80:1 contrast (WCAG AA passes).

Color values

HEX#285D2C
RGBrgb(40, 93, 44)
HSLhsl(125, 40%, 26%)
HSVhsv(125, 57%, 36%)
CMYKcmyk(57%, 0%, 52.7%, 63.5%)
CIE-LABlab(34.93, -29.16, 22.79)
CIE-LCHlch(34.93, 37.01, 141.99°)
OKLaboklab(42.91% -0.0791 0.0552)
OKLCHoklch(42.91% 0.097 145.1)
XYZxyz(5.2437, 8.4612, 3.7392)
Luminance0.0846 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#285D2C #5D2859
analogous
#3E5D28 #285D2C #285D46
triadic
#285D2C #2C285D #5D2C28
tetradic
#285D2C #283E5D #5D2859 #5D4628
square
#285D2C #283E5D #5D2859 #5D4628
split-complementary
#285D2C #46285D #5D283E
monochromatic
#09150A #163218 #285D2C #3A8840 #4DB255

Accessibility & contrast

On white

7.80
#285D2C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#285D2C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #285D2C
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##285D2C#FFFFFF#000000##FFFFFF
##285D2C1.007.802.697.80
#FFFFFF7.801.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F5528
Deuteranopia (green-blind)
#57502F
Tritanopia (blue-blind)
#1F5B52
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #285d2c;
/* rgb */ color: rgb(40, 93, 44);
/* oklch */ color: oklch(42.9% 0.097 145.1);
Tailwind
colors: {
  custom: {
    50: '#678b66',
    500: '#285d2c',
    950: '#000000',
  },
}
SCSS
$custom: #285d2c;
$custom-light: #678b66;
$custom-dark: #000000;
JSON
{
  "hex": "#285d2c",
  "rgb": {
    "r": 40,
    "g": 93,
    "b": 44
  },
  "hsl": {
    "h": 124.528,
    "s": 39.85,
    "l": 26.078
  },
  "oklch": {
    "l": 0.42911,
    "c": 0.0965,
    "h": 145.1
  },
  "luminance": 0.08462
}

Semantic roles & 50–950 ramp

primary
#285D2C
secondary
#90518B
accent
#58C7D0
background
#F6F8F6
surface
#EBF0EB
border
#C6CBC6
text
#060C06
muted
#7A7D7A

Preview Lab

Preview with #285D2C

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

Preview Lab → · Contrast checker → · Palette generator →

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