#283C2D#283C2D

#283C2D is a dark, muted green. Relative luminance 0.039; OKLCH L 33.4% C 0.037 H 151.8°. Best body text is #FFFFFF at 11.83:1 contrast (WCAG AA passes).

Color values

HEX#283C2D
RGBrgb(40, 60, 45)
HSLhsl(135, 20%, 20%)
HSVhsv(135, 33%, 24%)
CMYKcmyk(33.3%, 0%, 25%, 76.5%)
CIE-LABlab(23.24, -11.77, 6.77)
CIE-LCHlch(23.24, 13.58, 150.10°)
OKLaboklab(33.41% -0.0324 0.0174)
OKLCHoklch(33.41% 0.037 151.8)
XYZxyz(2.9644, 3.8722, 3.0733)
Luminance0.0387 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283C2D #3C2837
analogous
#2D3C28 #283C2D #283C37
triadic
#283C2D #2D283C #3C2D28
tetradic
#283C2D #282D3C #3C2837 #3C3728
square
#283C2D #282D3C #3C2837 #3C3728
split-complementary
#283C2D #37283C #3C282D
monochromatic
#0C120E #101711 #283C2D #406149 #598564

Accessibility & contrast

On white

11.83
#283C2D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#283C2D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #283C2D
11.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283C2D#FFFFFF#000000##FFFFFF
##283C2D1.0011.831.7711.83
#FFFFFF11.831.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C392C
Deuteranopia (green-blind)
#39372E
Tritanopia (blue-blind)
#253B38
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #283c2d;
/* rgb */ color: rgb(40, 60, 45);
/* oklch */ color: oklch(33.4% 0.037 151.8);
Tailwind
colors: {
  custom: {
    50: '#627165',
    500: '#283c2d',
    950: '#000000',
  },
}
SCSS
$custom: #283c2d;
$custom-light: #627165;
$custom-dark: #000000;
JSON
{
  "hex": "#283c2d",
  "rgb": {
    "r": 40,
    "g": 60,
    "b": 45
  },
  "hsl": {
    "h": 135,
    "s": 20,
    "l": 19.608
  },
  "oklch": {
    "l": 0.3341,
    "c": 0.03674,
    "h": 151.8
  },
  "luminance": 0.03872
}

Semantic roles & 50–950 ramp

primary
#283C2D
secondary
#6D5267
accent
#6BA8BD
background
#F5F6F6
surface
#EAECEB
border
#C6C7C6
text
#050705
muted
#797A7A

Preview Lab

Preview with #283C2D

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

Preview Lab → · Contrast checker → · Palette generator →

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