#285D2D#285D2D

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

Color values

HEX#285D2D
RGBrgb(40, 93, 45)
HSLhsl(126, 40%, 26%)
HSVhsv(126, 57%, 36%)
CMYKcmyk(57%, 0%, 51.6%, 63.5%)
CIE-LABlab(34.94, -29.00, 22.24)
CIE-LCHlch(34.94, 36.55, 142.51°)
OKLaboklab(42.93% -0.0787 0.054)
OKLCHoklch(42.93% 0.095 145.5)
XYZxyz(5.2628, 8.4688, 3.8394)
Luminance0.0847 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#285D2D #5D2858
analogous
#3D5D28 #285D2D #285D47
triadic
#285D2D #2D285D #5D2D28
tetradic
#285D2D #283D5D #5D2858 #5D4728
square
#285D2D #283D5D #5D2858 #5D4728
split-complementary
#285D2D #47285D #5D283D
monochromatic
#09150A #163218 #285D2D #3A8842 #4DB257

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##285D2D#FFFFFF#000000##FFFFFF
##285D2D1.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)
#5E5529
Deuteranopia (green-blind)
#575030
Tritanopia (blue-blind)
#1F5B52
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #285d2d;
/* rgb */ color: rgb(40, 93, 45);
/* oklch */ color: oklch(42.9% 0.095 145.5);
Tailwind
colors: {
  custom: {
    50: '#678b67',
    500: '#285d2d',
    950: '#000000',
  },
}
SCSS
$custom: #285d2d;
$custom-light: #678b67;
$custom-dark: #000000;
JSON
{
  "hex": "#285d2d",
  "rgb": {
    "r": 40,
    "g": 93,
    "b": 45
  },
  "hsl": {
    "h": 125.66,
    "s": 39.85,
    "l": 26.078
  },
  "oklch": {
    "l": 0.42929,
    "c": 0.09544,
    "h": 145.5
  },
  "luminance": 0.08469
}

Semantic roles & 50–950 ramp

primary
#285D2D
secondary
#90518A
accent
#58C4D0
background
#F6F8F6
surface
#EBF0EB
border
#C6CBC6
text
#060C06
muted
#7A7D7A

Preview Lab

Preview with #285D2D

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

Preview Lab → · Contrast checker → · Palette generator →

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