#285B1A#285B1A

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

Color values

HEX#285B1A
RGBrgb(40, 91, 26)
HSLhsl(107, 56%, 23%)
HSVhsv(107, 71%, 36%)
CMYKcmyk(56%, 0%, 71.4%, 64.3%)
CIE-LABlab(34.00, -30.66, 31.16)
CIE-LCHlch(34.00, 43.72, 134.54°)
OKLaboklab(42.08% -0.0842 0.0717)
OKLCHoklch(42.08% 0.111 139.6)
XYZxyz(4.8024, 8.0075, 2.2696)
Luminance0.0801 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#285B1A #4D1A5B
analogous
#485B1A #285B1A #1A5B2C
triadic
#285B1A #1A285B #5B1A28
tetradic
#285B1A #1A485B #4D1A5B #5B2C1A
square
#285B1A #1A485B #4D1A5B #5B2C1A
split-complementary
#285B1A #2C1A5B #5B1A48
monochromatic
#0A1807 #132B0C #285B1A #3D8B28 #52BA35

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##285B1A#FFFFFF#000000##FFFFFF
##285B1A1.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)
#5E5311
Deuteranopia (green-blind)
#574E20
Tritanopia (blue-blind)
#23584E
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #285b1a;
/* rgb */ color: rgb(40, 91, 26);
/* oklch */ color: oklch(42.1% 0.111 139.6);
Tailwind
colors: {
  custom: {
    50: '#688a5a',
    500: '#285b1a',
    950: '#000000',
  },
}
SCSS
$custom: #285b1a;
$custom-light: #688a5a;
$custom-dark: #000000;
JSON
{
  "hex": "#285b1a",
  "rgb": {
    "r": 40,
    "g": 91,
    "b": 26
  },
  "hsl": {
    "h": 107.077,
    "s": 55.556,
    "l": 22.941
  },
  "oklch": {
    "l": 0.42078,
    "c": 0.11058,
    "h": 139.6
  },
  "luminance": 0.08008
}

Semantic roles & 50–950 ramp

primary
#285B1A
secondary
#804091
accent
#49DFBF
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#060C04
muted
#7A7D79

Preview Lab

Preview with #285B1A

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

Preview Lab → · Contrast checker → · Palette generator →

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