#283F2D#283F2D

#283F2D is a dark, muted green. Relative luminance 0.042; OKLCH L 34.3% C 0.043 H 150.5°. Best body text is #FFFFFF at 11.42:1 contrast (WCAG AA passes).

Color values

HEX#283F2D
RGBrgb(40, 63, 45)
HSLhsl(133, 22%, 20%)
HSVhsv(133, 37%, 25%)
CMYKcmyk(36.5%, 0%, 28.6%, 75.3%)
CIE-LABlab(24.31, -13.54, 8.25)
CIE-LCHlch(24.31, 15.85, 148.66°)
OKLaboklab(34.27% -0.0371 0.021)
OKLCHoklch(34.27% 0.043 150.5)
XYZxyz(3.1261, 4.1954, 3.1272)
Luminance0.0420 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283F2D #3F283A
analogous
#2F3F28 #283F2D #283F38
triadic
#283F2D #2D283F #3F2D28
tetradic
#283F2D #282F3F #3F283A #3F3828
square
#283F2D #282F3F #3F283A #3F3828
split-complementary
#283F2D #38283F #3F282F
monochromatic
#0C130D #101A12 #283F2D #406448 #588A62

Accessibility & contrast

On white

11.42
#283F2D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #283F2D
11.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283F2D#FFFFFF#000000##FFFFFF
##283F2D1.0011.421.8411.42
#FFFFFF11.421.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F3B2C
Deuteranopia (green-blind)
#3C392E
Tritanopia (blue-blind)
#253E3A
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #283f2d;
/* rgb */ color: rgb(40, 63, 45);
/* oklch */ color: oklch(34.3% 0.043 150.5);
Tailwind
colors: {
  custom: {
    50: '#637466',
    500: '#283f2d',
    950: '#000000',
  },
}
SCSS
$custom: #283f2d;
$custom-light: #637466;
$custom-dark: #000000;
JSON
{
  "hex": "#283f2d",
  "rgb": {
    "r": 40,
    "g": 63,
    "b": 45
  },
  "hsl": {
    "h": 133.043,
    "s": 22.33,
    "l": 20.196
  },
  "oklch": {
    "l": 0.34267,
    "c": 0.04267,
    "h": 150.5
  },
  "luminance": 0.04196
}

Semantic roles & 50–950 ramp

primary
#283F2D
secondary
#71526A
accent
#69ACBF
background
#F5F7F6
surface
#EAEDEB
border
#C6C8C6
text
#050805
muted
#797B7A

Preview Lab

Preview with #283F2D

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

Preview Lab → · Contrast checker → · Palette generator →

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