#285C1A#285C1A

#285C1A is a dark, moderate green. Relative luminance 0.082; OKLCH L 42.4% C 0.112 H 139.7°. Best body text is #FFFFFF at 7.97:1 contrast (WCAG AA passes).

Color values

HEX#285C1A
RGBrgb(40, 92, 26)
HSLhsl(107, 56%, 23%)
HSVhsv(107, 72%, 36%)
CMYKcmyk(56.5%, 0%, 71.7%, 63.9%)
CIE-LABlab(34.35, -31.10, 31.54)
CIE-LCHlch(34.35, 44.30, 134.59°)
OKLaboklab(42.37% -0.0854 0.0725)
OKLCHoklch(42.37% 0.112 139.7)
XYZxyz(4.8885, 8.1796, 2.2983)
Luminance0.0818 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#285C1A #4E1A5C
analogous
#495C1A #285C1A #1A5C2D
triadic
#285C1A #1A285C #5C1A28
tetradic
#285C1A #1A495C #4E1A5C #5C2D1A
square
#285C1A #1A495C #4E1A5C #5C2D1A
split-complementary
#285C1A #2D1A5C #5C1A49
monochromatic
#0A1807 #132C0D #285C1A #3D8C27 #51BB35

Accessibility & contrast

On white

7.97
#285C1A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#285C1A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #285C1A
7.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##285C1A#FFFFFF#000000##FFFFFF
##285C1A1.007.972.647.97
#FFFFFF7.971.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F5411
Deuteranopia (green-blind)
#584F20
Tritanopia (blue-blind)
#23594F
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #285c1a;
/* rgb */ color: rgb(40, 92, 26);
/* oklch */ color: oklch(42.4% 0.112 139.7);
Tailwind
colors: {
  custom: {
    50: '#688b5a',
    500: '#285c1a',
    950: '#000000',
  },
}
SCSS
$custom: #285c1a;
$custom-light: #688b5a;
$custom-dark: #000000;
JSON
{
  "hex": "#285c1a",
  "rgb": {
    "r": 40,
    "g": 92,
    "b": 26
  },
  "hsl": {
    "h": 107.273,
    "s": 55.932,
    "l": 23.137
  },
  "oklch": {
    "l": 0.42371,
    "c": 0.112,
    "h": 139.7
  },
  "luminance": 0.0818
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #285C1A

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

Preview Lab → · Contrast checker → · Palette generator →

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