#283F2E#283F2E

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

Color values

HEX#283F2E
RGBrgb(40, 63, 46)
HSLhsl(136, 22%, 20%)
HSVhsv(136, 37%, 25%)
CMYKcmyk(36.5%, 0%, 27%, 75.3%)
CIE-LABlab(24.33, -13.31, 7.63)
CIE-LCHlch(24.33, 15.34, 150.19°)
OKLaboklab(34.29% -0.0366 0.0195)
OKLCHoklch(34.29% 0.041 151.9)
XYZxyz(3.1456, 4.2032, 3.2298)
Luminance0.0420 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283F2E #3F2839
analogous
#2D3F28 #283F2E #283F39
triadic
#283F2E #2E283F #3F2E28
tetradic
#283F2E #282D3F #3F2839 #3F3928
square
#283F2E #282D3F #3F2839 #3F3928
split-complementary
#283F2E #39283F #3F282D
monochromatic
#0C130E #101A13 #283F2E #406449 #588A65

Accessibility & contrast

On white

11.41
#283F2E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #283F2E
11.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283F2E#FFFFFF#000000##FFFFFF
##283F2E1.0011.411.8411.41
#FFFFFF11.411.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F3B2D
Deuteranopia (green-blind)
#3B392F
Tritanopia (blue-blind)
#243E3A
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #283f2e;
/* rgb */ color: rgb(40, 63, 46);
/* oklch */ color: oklch(34.3% 0.041 151.9);
Tailwind
colors: {
  custom: {
    50: '#637466',
    500: '#283f2e',
    950: '#000000',
  },
}
SCSS
$custom: #283f2e;
$custom-light: #637466;
$custom-dark: #000000;
JSON
{
  "hex": "#283f2e",
  "rgb": {
    "r": 40,
    "g": 63,
    "b": 46
  },
  "hsl": {
    "h": 135.652,
    "s": 22.33,
    "l": 20.196
  },
  "oklch": {
    "l": 0.34295,
    "c": 0.04146,
    "h": 151.9
  },
  "luminance": 0.04203
}

Semantic roles & 50–950 ramp

primary
#283F2E
secondary
#715269
accent
#69A8BF
background
#F5F7F6
surface
#EAEDEB
border
#C6C8C6
text
#050806
muted
#797B7A

Preview Lab

Preview with #283F2E

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

Preview Lab → · Contrast checker → · Palette generator →

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