#283B2D#283B2D

#283B2D is a dark, muted green. Relative luminance 0.038; OKLCH L 33.1% C 0.035 H 152.4°. Best body text is #FFFFFF at 11.97:1 contrast (WCAG AA passes).

Color values

HEX#283B2D
RGBrgb(40, 59, 45)
HSLhsl(136, 19%, 19%)
HSVhsv(136, 32%, 23%)
CMYKcmyk(32.2%, 0%, 23.7%, 76.9%)
CIE-LABlab(22.89, -11.17, 6.27)
CIE-LCHlch(22.89, 12.81, 150.68°)
OKLaboklab(33.13% -0.0308 0.0161)
OKLCHoklch(33.13% 0.035 152.4)
XYZxyz(2.9125, 3.7684, 3.0560)
Luminance0.0377 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283B2D #3B2836
analogous
#2D3B28 #283B2D #283B37
triadic
#283B2D #2D283B #3B2D28
tetradic
#283B2D #282D3B #3B2836 #3B3728
square
#283B2D #282D3B #3B2836 #3B3728
split-complementary
#283B2D #37283B #3B282D
monochromatic
#0C120E #0F1711 #283B2D #415F49 #598465

Accessibility & contrast

On white

11.97
#283B2D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#283B2D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #283B2D
11.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283B2D#FFFFFF#000000##FFFFFF
##283B2D1.0011.971.7511.97
#FFFFFF11.971.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF11.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B382C
Deuteranopia (green-blind)
#38362E
Tritanopia (blue-blind)
#253A37
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #283b2d;
/* rgb */ color: rgb(40, 59, 45);
/* oklch */ color: oklch(33.1% 0.035 152.4);
Tailwind
colors: {
  custom: {
    50: '#627165',
    500: '#283b2d',
    950: '#000000',
  },
}
SCSS
$custom: #283b2d;
$custom-light: #627165;
$custom-dark: #000000;
JSON
{
  "hex": "#283b2d",
  "rgb": {
    "r": 40,
    "g": 59,
    "b": 45
  },
  "hsl": {
    "h": 135.789,
    "s": 19.192,
    "l": 19.412
  },
  "oklch": {
    "l": 0.33126,
    "c": 0.03473,
    "h": 152.4
  },
  "luminance": 0.03769
}

Semantic roles & 50–950 ramp

primary
#283B2D
secondary
#6C5365
accent
#6CA7BC
background
#F5F6F6
surface
#EAECEB
border
#C6C7C6
text
#050705
muted
#797A7A

Preview Lab

Preview with #283B2D

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

Preview Lab → · Contrast checker → · Palette generator →

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