#283C2E#283C2E

#283C2E is a dark, muted green. Relative luminance 0.039; OKLCH L 33.4% C 0.036 H 153.6°. Best body text is #FFFFFF at 11.82:1 contrast (WCAG AA passes).

Color values

HEX#283C2E
RGBrgb(40, 60, 46)
HSLhsl(138, 20%, 20%)
HSVhsv(138, 33%, 24%)
CMYKcmyk(33.3%, 0%, 23.3%, 76.5%)
CIE-LABlab(23.27, -11.54, 6.14)
CIE-LCHlch(23.27, 13.07, 151.97°)
OKLaboklab(33.44% -0.0318 0.0158)
OKLCHoklch(33.44% 0.036 153.6)
XYZxyz(2.9839, 3.8800, 3.1759)
Luminance0.0388 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283C2E #3C2836
analogous
#2C3C28 #283C2E #283C38
triadic
#283C2E #2E283C #3C2E28
tetradic
#283C2E #282C3C #3C2836 #3C3828
square
#283C2E #282C3C #3C2836 #3C3828
split-complementary
#283C2E #38283C #3C282C
monochromatic
#0C120E #101712 #283C2E #40614A #598566

Accessibility & contrast

On white

11.82
#283C2E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#283C2E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #283C2E
11.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283C2E#FFFFFF#000000##FFFFFF
##283C2E1.0011.821.7811.82
#FFFFFF11.821.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C392D
Deuteranopia (green-blind)
#39372F
Tritanopia (blue-blind)
#253B38
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #283c2e;
/* rgb */ color: rgb(40, 60, 46);
/* oklch */ color: oklch(33.4% 0.036 153.6);
Tailwind
colors: {
  custom: {
    50: '#627166',
    500: '#283c2e',
    950: '#000000',
  },
}
SCSS
$custom: #283c2e;
$custom-light: #627166;
$custom-dark: #000000;
JSON
{
  "hex": "#283c2e",
  "rgb": {
    "r": 40,
    "g": 60,
    "b": 46
  },
  "hsl": {
    "h": 138,
    "s": 20,
    "l": 19.608
  },
  "oklch": {
    "l": 0.3344,
    "c": 0.03554,
    "h": 153.6
  },
  "luminance": 0.0388
}

Semantic roles & 50–950 ramp

primary
#283C2E
secondary
#6D5265
accent
#6BA4BD
background
#F5F6F6
surface
#EAECEB
border
#C6C7C6
text
#050706
muted
#797A7A

Preview Lab

Preview with #283C2E

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

Preview Lab → · Contrast checker → · Palette generator →

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