#283D2D#283D2D

#283D2D is a dark, muted green. Relative luminance 0.040; OKLCH L 33.7% C 0.039 H 151.3°. Best body text is #FFFFFF at 11.70:1 contrast (WCAG AA passes).

Color values

HEX#283D2D
RGBrgb(40, 61, 45)
HSLhsl(134, 21%, 20%)
HSVhsv(134, 34%, 24%)
CMYKcmyk(34.4%, 0%, 26.2%, 76.1%)
CIE-LABlab(23.60, -12.36, 7.26)
CIE-LCHlch(23.60, 14.34, 149.57°)
OKLaboklab(33.7% -0.034 0.0186)
OKLCHoklch(33.7% 0.039 151.3)
XYZxyz(3.0173, 3.9779, 3.0909)
Luminance0.0398 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283D2D #3D2838
analogous
#2E3D28 #283D2D #283D38
triadic
#283D2D #2D283D #3D2D28
tetradic
#283D2D #282E3D #3D2838 #3D3828
square
#283D2D #282E3D #3D2838 #3D3828
split-complementary
#283D2D #38283D #3D282E
monochromatic
#0C120E #101812 #283D2D #406248 #588764

Accessibility & contrast

On white

11.70
#283D2D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#283D2D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #283D2D
11.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283D2D#FFFFFF#000000##FFFFFF
##283D2D1.0011.701.8011.70
#FFFFFF11.701.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D3A2C
Deuteranopia (green-blind)
#3A372E
Tritanopia (blue-blind)
#253C39
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #283d2d;
/* rgb */ color: rgb(40, 61, 45);
/* oklch */ color: oklch(33.7% 0.039 151.3);
Tailwind
colors: {
  custom: {
    50: '#627265',
    500: '#283d2d',
    950: '#000000',
  },
}
SCSS
$custom: #283d2d;
$custom-light: #627265;
$custom-dark: #000000;
JSON
{
  "hex": "#283d2d",
  "rgb": {
    "r": 40,
    "g": 61,
    "b": 45
  },
  "hsl": {
    "h": 134.286,
    "s": 20.792,
    "l": 19.804
  },
  "oklch": {
    "l": 0.33695,
    "c": 0.03873,
    "h": 151.3
  },
  "luminance": 0.03978
}

Semantic roles & 50–950 ramp

primary
#283D2D
secondary
#6E5268
accent
#6AAABD
background
#F5F6F6
surface
#EAECEB
border
#C6C7C6
text
#050805
muted
#797B7A

Preview Lab

Preview with #283D2D

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

Preview Lab → · Contrast checker → · Palette generator →

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