#283A2C#283A2C

#283A2C is a dark, muted green. Relative luminance 0.037; OKLCH L 32.8% C 0.034 H 151.0°. Best body text is #FFFFFF at 12.13:1 contrast (WCAG AA passes).

Color values

HEX#283A2C
RGBrgb(40, 58, 44)
HSLhsl(133, 18%, 19%)
HSVhsv(133, 31%, 23%)
CMYKcmyk(31%, 0%, 24.1%, 77.3%)
CIE-LABlab(22.51, -10.79, 6.40)
CIE-LCHlch(22.51, 12.55, 149.32°)
OKLaboklab(32.81% -0.0297 0.0164)
OKLCHoklch(32.81% 0.034 151)
XYZxyz(2.8426, 3.6590, 2.9389)
Luminance0.0366 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283A2C #3A2836
analogous
#2D3A28 #283A2C #283A35
triadic
#283A2C #2C283A #3A2C28
tetradic
#283A2C #282D3A #3A2836 #3A3528
square
#283A2C #282D3A #3A2836 #3A3528
split-complementary
#283A2C #35283A #3A282D
monochromatic
#0C120E #0F1611 #283A2C #415E47 #5A8263

Accessibility & contrast

On white

12.13
#283A2C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#283A2C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #283A2C
12.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283A2C#FFFFFF#000000##FFFFFF
##283A2C1.0012.131.7312.13
#FFFFFF12.131.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A372B
Deuteranopia (green-blind)
#37352D
Tritanopia (blue-blind)
#253936
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #283a2c;
/* rgb */ color: rgb(40, 58, 44);
/* oklch */ color: oklch(32.8% 0.034 151.0);
Tailwind
colors: {
  custom: {
    50: '#627065',
    500: '#283a2c',
    950: '#000000',
  },
}
SCSS
$custom: #283a2c;
$custom-light: #627065;
$custom-dark: #000000;
JSON
{
  "hex": "#283a2c",
  "rgb": {
    "r": 40,
    "g": 58,
    "b": 44
  },
  "hsl": {
    "h": 133.333,
    "s": 18.367,
    "l": 19.216
  },
  "oklch": {
    "l": 0.32812,
    "c": 0.03393,
    "h": 151
  },
  "luminance": 0.03659
}

Semantic roles & 50–950 ramp

primary
#283A2C
secondary
#6B5366
accent
#6DAABB
background
#F5F6F6
surface
#EAECEB
border
#C6C7C6
text
#050705
muted
#797A7A

Preview Lab

Preview with #283A2C

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

Preview Lab → · Contrast checker → · Palette generator →

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