#285E1F#285E1F

#285E1F is a dark, moderate green. Relative luminance 0.086; OKLCH L 43.0% C 0.111 H 140.9°. Best body text is #FFFFFF at 7.75:1 contrast (WCAG AA passes).

Color values

HEX#285E1F
RGBrgb(40, 94, 31)
HSLhsl(111, 50%, 25%)
HSVhsv(111, 67%, 37%)
CMYKcmyk(57.4%, 0%, 67%, 63.1%)
CIE-LABlab(35.11, -31.42, 29.97)
CIE-LCHlch(35.11, 43.42, 136.36°)
OKLaboklab(43.01% -0.0859 0.0698)
OKLCHoklch(43.01% 0.111 140.9)
XYZxyz(5.1249, 8.5550, 2.6773)
Luminance0.0856 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#285E1F #551F5E
analogous
#485E1F #285E1F #1F5E36
triadic
#285E1F #1F285E #5E1F28
tetradic
#285E1F #1F485E #551F5E #5E361F
square
#285E1F #1F485E #551F5E #5E361F
split-complementary
#285E1F #361F5E #5E1F48
monochromatic
#0A1708 #143010 #285E1F #3C8C2E #4FBA3D

Accessibility & contrast

On white

7.75
#285E1F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#285E1F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #285E1F
7.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##285E1F#FFFFFF#000000##FFFFFF
##285E1F1.007.752.717.75
#FFFFFF7.751.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#605518
Deuteranopia (green-blind)
#595124
Tritanopia (blue-blind)
#225B51
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #285e1f;
/* rgb */ color: rgb(40, 94, 31);
/* oklch */ color: oklch(43.0% 0.111 140.9);
Tailwind
colors: {
  custom: {
    50: '#688c5d',
    500: '#285e1f',
    950: '#000000',
  },
}
SCSS
$custom: #285e1f;
$custom-light: #688c5d;
$custom-dark: #000000;
JSON
{
  "hex": "#285e1f",
  "rgb": {
    "r": 40,
    "g": 94,
    "b": 31
  },
  "hsl": {
    "h": 111.429,
    "s": 50.4,
    "l": 24.51
  },
  "oklch": {
    "l": 0.43012,
    "c": 0.11067,
    "h": 140.9
  },
  "luminance": 0.08555
}

Semantic roles & 50–950 ramp

primary
#285E1F
secondary
#884693
accent
#4EDAC6
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#060C04
muted
#7A7D79

Preview Lab

Preview with #285E1F

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

Preview Lab → · Contrast checker → · Palette generator →

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