#285D1C#285D1C

#285D1C is a dark, moderate green. Relative luminance 0.084; OKLCH L 42.7% C 0.112 H 140.2°. Best body text is #FFFFFF at 7.86:1 contrast (WCAG AA passes).

Color values

HEX#285D1C
RGBrgb(40, 93, 28)
HSLhsl(109, 54%, 24%)
HSVhsv(109, 70%, 36%)
CMYKcmyk(57%, 0%, 69.9%, 63.5%)
CIE-LABlab(34.73, -31.32, 31.01)
CIE-LCHlch(34.73, 44.07, 135.29°)
OKLaboklab(42.69% -0.0859 0.0716)
OKLCHoklch(42.69% 0.112 140.2)
XYZxyz(4.9988, 8.3633, 2.4492)
Luminance0.0836 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#285D1C #511C5D
analogous
#485D1C #285D1C #1C5D30
triadic
#285D1C #1C285D #5D1C28
tetradic
#285D1C #1C485D #511C5D #5D301C
square
#285D1C #1C485D #511C5D #5D301C
split-complementary
#285D1C #301C5D #5D1C48
monochromatic
#0A1807 #142E0E #285D1C #3C8C2A #50BB38

Accessibility & contrast

On white

7.86
#285D1C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#285D1C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #285D1C
7.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##285D1C#FFFFFF#000000##FFFFFF
##285D1C1.007.862.677.86
#FFFFFF7.861.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#605414
Deuteranopia (green-blind)
#595022
Tritanopia (blue-blind)
#225A50
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #285d1c;
/* rgb */ color: rgb(40, 93, 28);
/* oklch */ color: oklch(42.7% 0.112 140.2);
Tailwind
colors: {
  custom: {
    50: '#688b5b',
    500: '#285d1c',
    950: '#000000',
  },
}
SCSS
$custom: #285d1c;
$custom-light: #688b5b;
$custom-dark: #000000;
JSON
{
  "hex": "#285d1c",
  "rgb": {
    "r": 40,
    "g": 93,
    "b": 28
  },
  "hsl": {
    "h": 108.923,
    "s": 53.719,
    "l": 23.725
  },
  "oklch": {
    "l": 0.42685,
    "c": 0.11179,
    "h": 140.2
  },
  "luminance": 0.08364
}

Semantic roles & 50–950 ramp

primary
#285D1C
secondary
#844292
accent
#4BDDC2
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#060C04
muted
#7A7D79

Preview Lab

Preview with #285D1C

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

Preview Lab → · Contrast checker → · Palette generator →

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