#283F2A#283F2A

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

Color values

HEX#283F2A
RGBrgb(40, 63, 42)
HSLhsl(125, 22%, 20%)
HSVhsv(125, 37%, 25%)
CMYKcmyk(36.5%, 0%, 33.3%, 75.3%)
CIE-LABlab(24.24, -14.19, 10.10)
CIE-LCHlch(24.24, 17.42, 144.55°)
OKLaboklab(34.19% -0.0387 0.0256)
OKLCHoklch(34.19% 0.046 146.6)
XYZxyz(3.0704, 4.1732, 2.8338)
Luminance0.0417 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283F2A #3F283D
analogous
#313F28 #283F2A #283F35
triadic
#283F2A #2A283F #3F2A28
tetradic
#283F2A #28313F #3F283D #3F3528
square
#283F2A #28313F #3F283D #3F3528
split-complementary
#283F2A #35283F #3F2831
monochromatic
#0C130C #101A11 #283F2A #406443 #588A5C

Accessibility & contrast

On white

11.45
#283F2A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#283F2A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #283F2A
11.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283F2A#FFFFFF#000000##FFFFFF
##283F2A1.0011.451.8311.45
#FFFFFF11.451.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#403B29
Deuteranopia (green-blind)
#3C392B
Tritanopia (blue-blind)
#253E39
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #283f2a;
/* rgb */ color: rgb(40, 63, 42);
/* oklch */ color: oklch(34.2% 0.046 146.6);
Tailwind
colors: {
  custom: {
    50: '#637463',
    500: '#283f2a',
    950: '#000000',
  },
}
SCSS
$custom: #283f2a;
$custom-light: #637463;
$custom-dark: #000000;
JSON
{
  "hex": "#283f2a",
  "rgb": {
    "r": 40,
    "g": 63,
    "b": 42
  },
  "hsl": {
    "h": 125.217,
    "s": 22.33,
    "l": 20.196
  },
  "oklch": {
    "l": 0.34185,
    "c": 0.04642,
    "h": 146.6
  },
  "luminance": 0.04173
}

Semantic roles & 50–950 ramp

primary
#283F2A
secondary
#71526E
accent
#69B7BF
background
#F5F7F5
surface
#EAEDEA
border
#C6C8C6
text
#050805
muted
#797B79

Preview Lab

Preview with #283F2A

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

Preview Lab → · Contrast checker → · Palette generator →

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