#285D2A#285D2A

#285D2A is a dark, moderate green. Relative luminance 0.084; OKLCH L 42.9% C 0.099 H 144.3°. Best body text is #FFFFFF at 7.81:1 contrast (WCAG AA passes).

Color values

HEX#285D2A
RGBrgb(40, 93, 42)
HSLhsl(122, 40%, 26%)
HSVhsv(122, 57%, 36%)
CMYKcmyk(57%, 0%, 54.8%, 63.5%)
CIE-LABlab(34.90, -29.48, 23.88)
CIE-LCHlch(34.90, 37.94, 140.99°)
OKLaboklab(42.88% -0.0801 0.0575)
OKLCHoklch(42.88% 0.099 144.3)
XYZxyz(5.2071, 8.4466, 3.5460)
Luminance0.0845 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#285D2A #5D285B
analogous
#405D28 #285D2A #285D44
triadic
#285D2A #2A285D #5D2A28
tetradic
#285D2A #28405D #5D285B #5D4428
square
#285D2A #28405D #5D285B #5D4428
split-complementary
#285D2A #44285D #5D2840
monochromatic
#09150A #163217 #285D2A #3A883D #4DB251

Accessibility & contrast

On white

7.81
#285D2A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #285D2A
7.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##285D2A#FFFFFF#000000##FFFFFF
##285D2A1.007.812.697.81
#FFFFFF7.811.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F5526
Deuteranopia (green-blind)
#58502E
Tritanopia (blue-blind)
#205B51
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #285d2a;
/* rgb */ color: rgb(40, 93, 42);
/* oklch */ color: oklch(42.9% 0.099 144.3);
Tailwind
colors: {
  custom: {
    50: '#678b65',
    500: '#285d2a',
    950: '#000000',
  },
}
SCSS
$custom: #285d2a;
$custom-light: #678b65;
$custom-dark: #000000;
JSON
{
  "hex": "#285d2a",
  "rgb": {
    "r": 40,
    "g": 93,
    "b": 42
  },
  "hsl": {
    "h": 122.264,
    "s": 39.85,
    "l": 26.078
  },
  "oklch": {
    "l": 0.42877,
    "c": 0.09859,
    "h": 144.3
  },
  "luminance": 0.08447
}

Semantic roles & 50–950 ramp

primary
#285D2A
secondary
#90518D
accent
#58CBD0
background
#F6F8F6
surface
#EBF0EB
border
#C6CBC6
text
#060C05
muted
#7A7D7A

Preview Lab

Preview with #285D2A

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

Preview Lab → · Contrast checker → · Palette generator →

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