#283D2A#283D2A

#283D2A is a dark, muted green. Relative luminance 0.040; OKLCH L 33.6% C 0.042 H 146.9°. Best body text is #FFFFFF at 11.72:1 contrast (WCAG AA passes).

Color values

HEX#283D2A
RGBrgb(40, 61, 42)
HSLhsl(126, 21%, 20%)
HSVhsv(126, 34%, 24%)
CMYKcmyk(34.4%, 0%, 31.1%, 76.1%)
CIE-LABlab(23.52, -13.02, 9.13)
CIE-LCHlch(23.52, 15.91, 144.97°)
OKLaboklab(33.61% -0.0356 0.0232)
OKLCHoklch(33.61% 0.042 146.9)
XYZxyz(2.9616, 3.9556, 2.7975)
Luminance0.0396 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283D2A #3D283B
analogous
#313D28 #283D2A #283D35
triadic
#283D2A #2A283D #3D2A28
tetradic
#283D2A #28313D #3D283B #3D3528
square
#283D2A #28313D #3D283B #3D3528
split-complementary
#283D2A #35283D #3D2831
monochromatic
#0C120D #101811 #283D2A #406243 #58875D

Accessibility & contrast

On white

11.72
#283D2A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#283D2A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #283D2A
11.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283D2A#FFFFFF#000000##FFFFFF
##283D2A1.0011.721.7911.72
#FFFFFF11.721.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E3929
Deuteranopia (green-blind)
#3A372B
Tritanopia (blue-blind)
#253C38
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #283d2a;
/* rgb */ color: rgb(40, 61, 42);
/* oklch */ color: oklch(33.6% 0.042 146.9);
Tailwind
colors: {
  custom: {
    50: '#627263',
    500: '#283d2a',
    950: '#000000',
  },
}
SCSS
$custom: #283d2a;
$custom-light: #627263;
$custom-dark: #000000;
JSON
{
  "hex": "#283d2a",
  "rgb": {
    "r": 40,
    "g": 61,
    "b": 42
  },
  "hsl": {
    "h": 125.714,
    "s": 20.792,
    "l": 19.804
  },
  "oklch": {
    "l": 0.33611,
    "c": 0.04249,
    "h": 146.9
  },
  "luminance": 0.03956
}

Semantic roles & 50–950 ramp

primary
#283D2A
secondary
#6E526C
accent
#6AB5BD
background
#F5F6F5
surface
#EAECEA
border
#C6C7C6
text
#050805
muted
#797B79

Preview Lab

Preview with #283D2A

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

Preview Lab → · Contrast checker → · Palette generator →

#283D2A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva