#283A2E#283A2E

#283A2E is a dark, muted green. Relative luminance 0.037; OKLCH L 32.9% C 0.032 H 155.1°. Best body text is #FFFFFF at 12.11:1 contrast (WCAG AA passes).

Color values

HEX#283A2E
RGBrgb(40, 58, 46)
HSLhsl(140, 18%, 19%)
HSVhsv(140, 31%, 23%)
CMYKcmyk(31%, 0%, 20.7%, 77.3%)
CIE-LABlab(22.56, -10.33, 5.15)
CIE-LCHlch(22.56, 11.54, 153.51°)
OKLaboklab(32.87% -0.0286 0.0133)
OKLCHoklch(32.87% 0.032 155.1)
XYZxyz(2.8811, 3.6744, 3.1417)
Luminance0.0367 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283A2E #3A2834
analogous
#2B3A28 #283A2E #283A37
triadic
#283A2E #2E283A #3A2E28
tetradic
#283A2E #282B3A #3A2834 #3A3728
square
#283A2E #282B3A #3A2834 #3A3728
split-complementary
#283A2E #37283A #3A282B
monochromatic
#0C120E #0F1611 #283A2E #415E4B #5A8267

Accessibility & contrast

On white

12.11
#283A2E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #283A2E
12.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283A2E#FFFFFF#000000##FFFFFF
##283A2E1.0012.111.7312.11
#FFFFFF12.111.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A372D
Deuteranopia (green-blind)
#37352F
Tritanopia (blue-blind)
#253A37
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #283a2e;
/* rgb */ color: rgb(40, 58, 46);
/* oklch */ color: oklch(32.9% 0.032 155.1);
Tailwind
colors: {
  custom: {
    50: '#627066',
    500: '#283a2e',
    950: '#000000',
  },
}
SCSS
$custom: #283a2e;
$custom-light: #627066;
$custom-dark: #000000;
JSON
{
  "hex": "#283a2e",
  "rgb": {
    "r": 40,
    "g": 58,
    "b": 46
  },
  "hsl": {
    "h": 140,
    "s": 18.367,
    "l": 19.216
  },
  "oklch": {
    "l": 0.32873,
    "c": 0.03154,
    "h": 155.1
  },
  "luminance": 0.03674
}

Semantic roles & 50–950 ramp

primary
#283A2E
secondary
#6B5363
accent
#6DA1BB
background
#F5F6F6
surface
#EAECEB
border
#C6C7C6
text
#050706
muted
#797A7A

Preview Lab

Preview with #283A2E

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

Preview Lab → · Contrast checker → · Palette generator →

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