#285F2E#285F2E

#285F2E is a dark, moderate green. Relative luminance 0.088; OKLCH L 43.5% C 0.098 H 145.8°. Best body text is #FFFFFF at 7.59:1 contrast (WCAG AA passes).

Color values

HEX#285F2E
RGBrgb(40, 95, 46)
HSLhsl(127, 41%, 26%)
HSVhsv(127, 58%, 37%)
CMYKcmyk(57.9%, 0%, 51.6%, 62.7%)
CIE-LABlab(35.66, -29.74, 22.57)
CIE-LCHlch(35.66, 37.34, 142.80°)
OKLaboklab(43.52% -0.0806 0.0548)
OKLCHoklch(43.52% 0.098 145.8)
XYZxyz(5.4601, 8.8323, 4.0013)
Luminance0.0883 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#285F2E #5F2859
analogous
#3E5F28 #285F2E #285F4A
triadic
#285F2E #2E285F #5F2E28
tetradic
#285F2E #283E5F #5F2859 #5F4A28
square
#285F2E #283E5F #5F2859 #5F4A28
split-complementary
#285F2E #4A285F #5F283E
monochromatic
#09160A #163419 #285F2E #3A8A43 #4DB458

Accessibility & contrast

On white

7.59
#285F2E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#285F2E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #285F2E
7.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##285F2E#FFFFFF#000000##FFFFFF
##285F2E1.007.592.777.59
#FFFFFF7.591.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#60572A
Deuteranopia (green-blind)
#595231
Tritanopia (blue-blind)
#1E5D53
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #285f2e;
/* rgb */ color: rgb(40, 95, 46);
/* oklch */ color: oklch(43.5% 0.098 145.8);
Tailwind
colors: {
  custom: {
    50: '#678d68',
    500: '#285f2e',
    950: '#000000',
  },
}
SCSS
$custom: #285f2e;
$custom-light: #678d68;
$custom-dark: #000000;
JSON
{
  "hex": "#285f2e",
  "rgb": {
    "r": 40,
    "g": 95,
    "b": 46
  },
  "hsl": {
    "h": 126.545,
    "s": 40.741,
    "l": 26.471
  },
  "oklch": {
    "l": 0.43523,
    "c": 0.09753,
    "h": 145.8
  },
  "luminance": 0.08833
}

Semantic roles & 50–950 ramp

primary
#285F2E
secondary
#92518B
accent
#57C3D1
background
#F6F8F6
surface
#EBF0EB
border
#C6CBC6
text
#060C06
muted
#7A7D7A

Preview Lab

Preview with #285F2E

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

Preview Lab → · Contrast checker → · Palette generator →

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