#285B1B#285B1B

#285B1B is a dark, moderate green. Relative luminance 0.080; OKLCH L 42.1% C 0.110 H 139.8°. Best body text is #FFFFFF at 8.07:1 contrast (WCAG AA passes).

Color values

HEX#285B1B
RGBrgb(40, 91, 27)
HSLhsl(108, 54%, 23%)
HSVhsv(108, 70%, 36%)
CMYKcmyk(56%, 0%, 70.3%, 64.3%)
CIE-LABlab(34.01, -30.56, 30.70)
CIE-LCHlch(34.01, 43.32, 134.87°)
OKLaboklab(42.09% -0.0839 0.0708)
OKLCHoklch(42.09% 0.11 139.8)
XYZxyz(4.8138, 8.0120, 2.3295)
Luminance0.0801 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#285B1B #4E1B5B
analogous
#485B1B #285B1B #1B5B2E
triadic
#285B1B #1B285B #5B1B28
tetradic
#285B1B #1B485B #4E1B5B #5B2E1B
square
#285B1B #1B485B #4E1B5B #5B2E1B
split-complementary
#285B1B #2E1B5B #5B1B48
monochromatic
#0A1807 #132C0D #285B1B #3D8A29 #51B937

Accessibility & contrast

On white

8.07
#285B1B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#285B1B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #285B1B
8.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##285B1B#FFFFFF#000000##FFFFFF
##285B1B1.008.072.608.07
#FFFFFF8.071.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E5313
Deuteranopia (green-blind)
#574E21
Tritanopia (blue-blind)
#23584E
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #285b1b;
/* rgb */ color: rgb(40, 91, 27);
/* oklch */ color: oklch(42.1% 0.110 139.8);
Tailwind
colors: {
  custom: {
    50: '#688a5b',
    500: '#285b1b',
    950: '#000000',
  },
}
SCSS
$custom: #285b1b;
$custom-light: #688a5b;
$custom-dark: #000000;
JSON
{
  "hex": "#285b1b",
  "rgb": {
    "r": 40,
    "g": 91,
    "b": 27
  },
  "hsl": {
    "h": 107.813,
    "s": 54.237,
    "l": 23.137
  },
  "oklch": {
    "l": 0.42089,
    "c": 0.10976,
    "h": 139.8
  },
  "luminance": 0.08012
}

Semantic roles & 50–950 ramp

primary
#285B1B
secondary
#814191
accent
#4ADEC0
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#060C04
muted
#7A7D79

Preview Lab

Preview with #285B1B

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

Preview Lab → · Contrast checker → · Palette generator →

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