#283F2C#283F2C

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

Color values

HEX#283F2C
RGBrgb(40, 63, 44)
HSLhsl(130, 22%, 20%)
HSVhsv(130, 37%, 25%)
CMYKcmyk(36.5%, 0%, 30.2%, 75.3%)
CIE-LABlab(24.28, -13.76, 8.87)
CIE-LCHlch(24.28, 16.37, 147.21°)
OKLaboklab(34.24% -0.0377 0.0226)
OKLCHoklch(34.24% 0.044 149.1)
XYZxyz(3.1070, 4.1878, 3.0270)
Luminance0.0419 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283F2C #3F283B
analogous
#2F3F28 #283F2C #283F37
triadic
#283F2C #2C283F #3F2C28
tetradic
#283F2C #282F3F #3F283B #3F3728
square
#283F2C #282F3F #3F283B #3F3728
split-complementary
#283F2C #37283F #3F282F
monochromatic
#0C130D #101A12 #283F2C #406446 #588A60

Accessibility & contrast

On white

11.43
#283F2C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #283F2C
11.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283F2C#FFFFFF#000000##FFFFFF
##283F2C1.0011.431.8411.43
#FFFFFF11.431.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.431.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #283f2c;
/* rgb */ color: rgb(40, 63, 44);
/* oklch */ color: oklch(34.2% 0.044 149.1);
Tailwind
colors: {
  custom: {
    50: '#637465',
    500: '#283f2c',
    950: '#000000',
  },
}
SCSS
$custom: #283f2c;
$custom-light: #637465;
$custom-dark: #000000;
JSON
{
  "hex": "#283f2c",
  "rgb": {
    "r": 40,
    "g": 63,
    "b": 44
  },
  "hsl": {
    "h": 130.435,
    "s": 22.33,
    "l": 20.196
  },
  "oklch": {
    "l": 0.34239,
    "c": 0.0439,
    "h": 149.1
  },
  "luminance": 0.04188
}

Semantic roles & 50–950 ramp

primary
#283F2C
secondary
#71526B
accent
#69B0BF
background
#F5F7F6
surface
#EAEDEB
border
#C6C8C6
text
#050805
muted
#797B7A

Preview Lab

Preview with #283F2C

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

Preview Lab → · Contrast checker → · Palette generator →

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