#283D2F#283D2F

#283D2F is a dark, muted green. Relative luminance 0.040; OKLCH L 33.8% C 0.036 H 154.8°. Best body text is #FFFFFF at 11.67:1 contrast (WCAG AA passes).

Color values

HEX#283D2F
RGBrgb(40, 61, 47)
HSLhsl(140, 21%, 20%)
HSVhsv(140, 34%, 24%)
CMYKcmyk(34.4%, 0%, 23%, 76.1%)
CIE-LABlab(23.65, -11.90, 6.02)
CIE-LCHlch(23.65, 13.34, 153.19°)
OKLaboklab(33.75% -0.0329 0.0155)
OKLCHoklch(33.75% 0.036 154.8)
XYZxyz(3.0567, 3.9937, 3.2986)
Luminance0.0399 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283D2F #3D2836
analogous
#2C3D28 #283D2F #283D3A
triadic
#283D2F #2F283D #3D2F28
tetradic
#283D2F #282C3D #3D2836 #3D3A28
square
#283D2F #282C3D #3D2836 #3D3A28
split-complementary
#283D2F #3A283D #3D282C
monochromatic
#0C120E #101813 #283D2F #40624B #588768

Accessibility & contrast

On white

11.67
#283D2F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#283D2F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #283D2F
11.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283D2F#FFFFFF#000000##FFFFFF
##283D2F1.0011.671.8011.67
#FFFFFF11.671.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D3A2E
Deuteranopia (green-blind)
#393730
Tritanopia (blue-blind)
#243D39
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #283d2f;
/* rgb */ color: rgb(40, 61, 47);
/* oklch */ color: oklch(33.8% 0.036 154.8);
Tailwind
colors: {
  custom: {
    50: '#627267',
    500: '#283d2f',
    950: '#000000',
  },
}
SCSS
$custom: #283d2f;
$custom-light: #627267;
$custom-dark: #000000;
JSON
{
  "hex": "#283d2f",
  "rgb": {
    "r": 40,
    "g": 61,
    "b": 47
  },
  "hsl": {
    "h": 140,
    "s": 20.792,
    "l": 19.804
  },
  "oklch": {
    "l": 0.33754,
    "c": 0.03634,
    "h": 154.8
  },
  "luminance": 0.03994
}

Semantic roles & 50–950 ramp

primary
#283D2F
secondary
#6E5265
accent
#6AA2BD
background
#F5F6F6
surface
#EAECEB
border
#C6C7C6
text
#050806
muted
#797B7A

Preview Lab

Preview with #283D2F

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

Preview Lab → · Contrast checker → · Palette generator →

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