#283F31#283F31

#283F31 is a dark, muted green. Relative luminance 0.042; OKLCH L 34.4% C 0.038 H 157.0°. Best body text is #FFFFFF at 11.38:1 contrast (WCAG AA passes).

Color values

HEX#283F31
RGBrgb(40, 63, 49)
HSLhsl(143, 22%, 20%)
HSVhsv(143, 37%, 25%)
CMYKcmyk(36.5%, 0%, 22.2%, 75.3%)
CIE-LABlab(24.41, -12.62, 5.77)
CIE-LCHlch(24.41, 13.87, 155.44°)
OKLaboklab(34.38% -0.035 0.0148)
OKLCHoklch(34.38% 0.038 157)
XYZxyz(3.2068, 4.2277, 3.5522)
Luminance0.0423 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283F31 #3F2836
analogous
#2A3F28 #283F31 #283F3C
triadic
#283F31 #31283F #3F3128
tetradic
#283F31 #282A3F #3F2836 #3F3C28
square
#283F31 #282A3F #3F2836 #3F3C28
split-complementary
#283F31 #3C283F #3F282A
monochromatic
#0C130F #101A14 #283F31 #40644E #588A6B

Accessibility & contrast

On white

11.38
#283F31 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#283F31 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #283F31
11.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283F31#FFFFFF#000000##FFFFFF
##283F311.0011.381.8511.38
#FFFFFF11.381.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F3C30
Deuteranopia (green-blind)
#3B3932
Tritanopia (blue-blind)
#243F3B
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #283f31;
/* rgb */ color: rgb(40, 63, 49);
/* oklch */ color: oklch(34.4% 0.038 157.0);
Tailwind
colors: {
  custom: {
    50: '#637469',
    500: '#283f31',
    950: '#000000',
  },
}
SCSS
$custom: #283f31;
$custom-light: #637469;
$custom-dark: #000000;
JSON
{
  "hex": "#283f31",
  "rgb": {
    "r": 40,
    "g": 63,
    "b": 49
  },
  "hsl": {
    "h": 143.478,
    "s": 22.33,
    "l": 20.196
  },
  "oklch": {
    "l": 0.34384,
    "c": 0.03798,
    "h": 157
  },
  "luminance": 0.04228
}

Semantic roles & 50–950 ramp

primary
#283F31
secondary
#715265
accent
#699DBF
background
#F5F7F6
surface
#EAEDEB
border
#C6C8C6
text
#050806
muted
#797B7A

Preview Lab

Preview with #283F31

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

Preview Lab → · Contrast checker → · Palette generator →

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