#283B2F#283B2F

#283B2F is a dark, muted green. Relative luminance 0.038; OKLCH L 33.2% C 0.032 H 156.5°. Best body text is #FFFFFF at 11.95:1 contrast (WCAG AA passes).

Color values

HEX#283B2F
RGBrgb(40, 59, 47)
HSLhsl(142, 19%, 19%)
HSVhsv(142, 32%, 23%)
CMYKcmyk(32.2%, 0%, 20.3%, 76.9%)
CIE-LABlab(22.94, -10.70, 5.02)
CIE-LCHlch(22.94, 11.82, 154.86°)
OKLaboklab(33.19% -0.0297 0.0129)
OKLCHoklch(33.19% 0.032 156.5)
XYZxyz(2.9520, 3.7842, 3.2636)
Luminance0.0378 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283B2F #3B2834
analogous
#2B3B28 #283B2F #283B39
triadic
#283B2F #2F283B #3B2F28
tetradic
#283B2F #282B3B #3B2834 #3B3928
square
#283B2F #282B3B #3B2834 #3B3928
split-complementary
#283B2F #39283B #3B282B
monochromatic
#0C120F #0F1712 #283B2F #415F4C #598469

Accessibility & contrast

On white

11.95
#283B2F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#283B2F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #283B2F
11.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283B2F#FFFFFF#000000##FFFFFF
##283B2F1.0011.951.7611.95
#FFFFFF11.951.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B382E
Deuteranopia (green-blind)
#383630
Tritanopia (blue-blind)
#253B38
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #283b2f;
/* rgb */ color: rgb(40, 59, 47);
/* oklch */ color: oklch(33.2% 0.032 156.5);
Tailwind
colors: {
  custom: {
    50: '#627167',
    500: '#283b2f',
    950: '#000000',
  },
}
SCSS
$custom: #283b2f;
$custom-light: #627167;
$custom-dark: #000000;
JSON
{
  "hex": "#283b2f",
  "rgb": {
    "r": 40,
    "g": 59,
    "b": 47
  },
  "hsl": {
    "h": 142.105,
    "s": 19.192,
    "l": 19.412
  },
  "oklch": {
    "l": 0.33187,
    "c": 0.03239,
    "h": 156.5
  },
  "luminance": 0.03784
}

Semantic roles & 50–950 ramp

primary
#283B2F
secondary
#6C5363
accent
#6C9EBC
background
#F5F6F6
surface
#EAECEB
border
#C6C7C6
text
#050706
muted
#797A7A

Preview Lab

Preview with #283B2F

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

Preview Lab → · Contrast checker → · Palette generator →

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