#283F2B#283F2B

#283F2B is a dark, muted green. Relative luminance 0.042; OKLCH L 34.2% C 0.045 H 147.8°. Best body text is #FFFFFF at 11.44:1 contrast (WCAG AA passes).

Color values

HEX#283F2B
RGBrgb(40, 63, 43)
HSLhsl(128, 22%, 20%)
HSVhsv(128, 37%, 25%)
CMYKcmyk(36.5%, 0%, 31.7%, 75.3%)
CIE-LABlab(24.26, -13.98, 9.48)
CIE-LCHlch(24.26, 16.89, 145.84°)
OKLaboklab(34.21% -0.0382 0.0241)
OKLCHoklch(34.21% 0.045 147.8)
XYZxyz(3.0885, 4.1804, 2.9292)
Luminance0.0418 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283F2B #3F283C
analogous
#303F28 #283F2B #283F36
triadic
#283F2B #2B283F #3F2B28
tetradic
#283F2B #28303F #3F283C #3F3628
square
#283F2B #28303F #3F283C #3F3628
split-complementary
#283F2B #36283F #3F2830
monochromatic
#0C130D #101A11 #283F2B #406445 #588A5E

Accessibility & contrast

On white

11.44
#283F2B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#283F2B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #283F2B
11.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283F2B#FFFFFF#000000##FFFFFF
##283F2B1.0011.441.8411.44
#FFFFFF11.441.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#403B2A
Deuteranopia (green-blind)
#3C392C
Tritanopia (blue-blind)
#253E3A
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #283f2b;
/* rgb */ color: rgb(40, 63, 43);
/* oklch */ color: oklch(34.2% 0.045 147.8);
Tailwind
colors: {
  custom: {
    50: '#637464',
    500: '#283f2b',
    950: '#000000',
  },
}
SCSS
$custom: #283f2b;
$custom-light: #637464;
$custom-dark: #000000;
JSON
{
  "hex": "#283f2b",
  "rgb": {
    "r": 40,
    "g": 63,
    "b": 43
  },
  "hsl": {
    "h": 127.826,
    "s": 22.33,
    "l": 20.196
  },
  "oklch": {
    "l": 0.34212,
    "c": 0.04515,
    "h": 147.8
  },
  "luminance": 0.04181
}

Semantic roles & 50–950 ramp

primary
#283F2B
secondary
#71526D
accent
#69B4BF
background
#F5F7F5
surface
#EAEDEA
border
#C6C8C6
text
#050805
muted
#797B79

Preview Lab

Preview with #283F2B

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

Preview Lab → · Contrast checker → · Palette generator →

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