#285D2E#285D2E

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

Color values

HEX#285D2E
RGBrgb(40, 93, 46)
HSLhsl(127, 40%, 26%)
HSVhsv(127, 57%, 36%)
CMYKcmyk(57%, 0%, 50.5%, 63.5%)
CIE-LABlab(34.96, -28.83, 21.69)
CIE-LCHlch(34.96, 36.08, 143.04°)
OKLaboklab(42.95% -0.0782 0.0528)
OKLCHoklch(42.95% 0.094 145.9)
XYZxyz(5.2823, 8.4766, 3.9420)
Luminance0.0848 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#285D2E #5D2857
analogous
#3C5D28 #285D2E #285D48
triadic
#285D2E #2E285D #5D2E28
tetradic
#285D2E #283C5D #5D2857 #5D4828
square
#285D2E #283C5D #5D2857 #5D4828
split-complementary
#285D2E #48285D #5D283C
monochromatic
#09150B #163219 #285D2E #3A8843 #4DB258

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##285D2E#FFFFFF#000000##FFFFFF
##285D2E1.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)
#5E552A
Deuteranopia (green-blind)
#575031
Tritanopia (blue-blind)
#1F5B52
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #285d2e;
/* rgb */ color: rgb(40, 93, 46);
/* oklch */ color: oklch(42.9% 0.094 145.9);
Tailwind
colors: {
  custom: {
    50: '#678b67',
    500: '#285d2e',
    950: '#000000',
  },
}
SCSS
$custom: #285d2e;
$custom-light: #678b67;
$custom-dark: #000000;
JSON
{
  "hex": "#285d2e",
  "rgb": {
    "r": 40,
    "g": 93,
    "b": 46
  },
  "hsl": {
    "h": 126.792,
    "s": 39.85,
    "l": 26.078
  },
  "oklch": {
    "l": 0.42946,
    "c": 0.09437,
    "h": 145.9
  },
  "luminance": 0.08477
}

Semantic roles & 50–950 ramp

primary
#285D2E
secondary
#905189
accent
#58C2D0
background
#F6F8F6
surface
#EBF0EB
border
#C6CBC6
text
#060C06
muted
#7A7D7A

Preview Lab

Preview with #285D2E

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

Preview Lab → · Contrast checker → · Palette generator →

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