#285D2F#285D2F

#285D2F is a dark, moderate green. Relative luminance 0.085; OKLCH L 43.0% C 0.093 H 146.4°. Best body text is #FFFFFF at 7.79:1 contrast (WCAG AA passes).

Color values

HEX#285D2F
RGBrgb(40, 93, 47)
HSLhsl(128, 40%, 26%)
HSVhsv(128, 57%, 36%)
CMYKcmyk(57%, 0%, 49.5%, 63.5%)
CIE-LABlab(34.97, -28.66, 21.14)
CIE-LCHlch(34.97, 35.61, 143.59°)
OKLaboklab(42.97% -0.0777 0.0516)
OKLCHoklch(42.97% 0.093 146.4)
XYZxyz(5.3022, 8.4846, 4.0471)
Luminance0.0848 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#285D2F #5D2856
analogous
#3B5D28 #285D2F #285D49
triadic
#285D2F #2F285D #5D2F28
tetradic
#285D2F #283B5D #5D2856 #5D4928
square
#285D2F #283B5D #5D2856 #5D4928
split-complementary
#285D2F #49285D #5D283B
monochromatic
#09150B #163219 #285D2F #3A8845 #4DB25A

Accessibility & contrast

On white

7.79
#285D2F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#285D2F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #285D2F
7.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##285D2F#FFFFFF#000000##FFFFFF
##285D2F1.007.792.707.79
#FFFFFF7.791.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E552B
Deuteranopia (green-blind)
#575032
Tritanopia (blue-blind)
#1E5B52
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #285d2f;
/* rgb */ color: rgb(40, 93, 47);
/* oklch */ color: oklch(43.0% 0.093 146.4);
Tailwind
colors: {
  custom: {
    50: '#678b68',
    500: '#285d2f',
    950: '#000000',
  },
}
SCSS
$custom: #285d2f;
$custom-light: #678b68;
$custom-dark: #000000;
JSON
{
  "hex": "#285d2f",
  "rgb": {
    "r": 40,
    "g": 93,
    "b": 47
  },
  "hsl": {
    "h": 127.925,
    "s": 39.85,
    "l": 26.078
  },
  "oklch": {
    "l": 0.42965,
    "c": 0.0933,
    "h": 146.4
  },
  "luminance": 0.08485
}

Semantic roles & 50–950 ramp

primary
#285D2F
secondary
#905187
accent
#58C0D0
background
#F6F8F6
surface
#EBF0EB
border
#C6CBC6
text
#060C06
muted
#7A7D7A

Preview Lab

Preview with #285D2F

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

Preview Lab → · Contrast checker → · Palette generator →

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