#283128#283128

#283128 is a dark, muted green. Relative luminance 0.028; OKLCH L 30.1% C 0.020 H 145.1°. Best body text is #FFFFFF at 13.46:1 contrast (WCAG AA passes).

Color values

HEX#283128
RGBrgb(40, 49, 40)
HSLhsl(120, 10%, 17%)
HSVhsv(120, 18%, 19%)
CMYKcmyk(18.4%, 0%, 18.4%, 80.8%)
CIE-LABlab(19.23, -6.05, 4.48)
CIE-LCHlch(19.23, 7.53, 143.51°)
OKLaboklab(30.15% -0.0166 0.0116)
OKLCHoklch(30.15% 0.02 145.1)
XYZxyz(2.3563, 2.8009, 2.4236)
Luminance0.0280 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283128 #312831
analogous
#2D3128 #283128 #28312D
triadic
#283128 #282831 #312828
tetradic
#283128 #282D31 #312831 #312D28
square
#283128 #282D31 #312831 #312D28
split-complementary
#283128 #2D2831 #31282D
monochromatic
#0E110E #0E110E #283128 #445344 #5F745F

Accessibility & contrast

On white

13.46
#283128 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#283128 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #283128
13.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283128#FFFFFF#000000##FFFFFF
##2831281.0013.461.5613.46
#FFFFFF13.461.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#312F28
Deuteranopia (green-blind)
#302E28
Tritanopia (blue-blind)
#27302E
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #283128;
/* rgb */ color: rgb(40, 49, 40);
/* oklch */ color: oklch(30.1% 0.020 145.1);
Tailwind
colors: {
  custom: {
    50: '#626961',
    500: '#283128',
    950: '#000000',
  },
}
SCSS
$custom: #283128;
$custom-light: #626961;
$custom-dark: #000000;
JSON
{
  "hex": "#283128",
  "rgb": {
    "r": 40,
    "g": 49,
    "b": 40
  },
  "hsl": {
    "h": 120,
    "s": 10.112,
    "l": 17.451
  },
  "oklch": {
    "l": 0.30149,
    "c": 0.02022,
    "h": 145.1
  },
  "luminance": 0.02801
}

Semantic roles & 50–950 ramp

primary
#283128
secondary
#615461
accent
#75B3B3
background
#F5F6F5
surface
#EAEBE9
border
#C6C6C5
text
#050605
muted
#797A79

Preview Lab

Preview with #283128

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

Preview Lab → · Contrast checker → · Palette generator →

#283128 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva