#283F2F#283F2F

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

Color values

HEX#283F2F
RGBrgb(40, 63, 47)
HSLhsl(138, 22%, 20%)
HSVhsv(138, 37%, 25%)
CMYKcmyk(36.5%, 0%, 25.4%, 75.3%)
CIE-LABlab(24.36, -13.09, 7.01)
CIE-LCHlch(24.36, 14.85, 151.83°)
OKLaboklab(34.32% -0.036 0.018)
OKLCHoklch(34.32% 0.04 153.5)
XYZxyz(3.1655, 4.2112, 3.3348)
Luminance0.0421 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283F2F #3F2838
analogous
#2C3F28 #283F2F #283F3A
triadic
#283F2F #2F283F #3F2F28
tetradic
#283F2F #282C3F #3F2838 #3F3A28
square
#283F2F #282C3F #3F2838 #3F3A28
split-complementary
#283F2F #3A283F #3F282C
monochromatic
#0C130E #101A13 #283F2F #40644B #588A67

Accessibility & contrast

On white

11.40
#283F2F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #283F2F
11.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283F2F#FFFFFF#000000##FFFFFF
##283F2F1.0011.401.8411.40
#FFFFFF11.401.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F3B2E
Deuteranopia (green-blind)
#3B3930
Tritanopia (blue-blind)
#243E3B
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #283f2f;
/* rgb */ color: rgb(40, 63, 47);
/* oklch */ color: oklch(34.3% 0.040 153.5);
Tailwind
colors: {
  custom: {
    50: '#637467',
    500: '#283f2f',
    950: '#000000',
  },
}
SCSS
$custom: #283f2f;
$custom-light: #637467;
$custom-dark: #000000;
JSON
{
  "hex": "#283f2f",
  "rgb": {
    "r": 40,
    "g": 63,
    "b": 47
  },
  "hsl": {
    "h": 138.261,
    "s": 22.33,
    "l": 20.196
  },
  "oklch": {
    "l": 0.34324,
    "c": 0.04026,
    "h": 153.5
  },
  "luminance": 0.04211
}

Semantic roles & 50–950 ramp

primary
#283F2F
secondary
#715267
accent
#69A5BF
background
#F5F7F6
surface
#EAEDEB
border
#C6C8C6
text
#050806
muted
#797B7A

Preview Lab

Preview with #283F2F

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

Preview Lab → · Contrast checker → · Palette generator →

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