#282F2B#282F2B

#282F2B is a dark, near-neutral green. Relative luminance 0.027; OKLCH L 29.7% C 0.012 H 160.6°. Best body text is #FFFFFF at 13.71:1 contrast (WCAG AA passes).

Color values

HEX#282F2B
RGBrgb(40, 47, 43)
HSLhsl(146, 8%, 17%)
HSVhsv(146, 15%, 18%)
CMYKcmyk(14.9%, 0%, 8.5%, 81.6%)
CIE-LABlab(18.62, -4.03, 1.55)
CIE-LCHlch(18.62, 4.32, 159.02°)
OKLaboklab(29.7% -0.0114 0.004)
OKLCHoklch(29.7% 0.012 160.6)
XYZxyz(2.3275, 2.6585, 2.6755)
Luminance0.0266 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282F2B #2F282C
analogous
#292F28 #282F2B #282F2F
triadic
#282F2B #2B282F #2F2B28
tetradic
#282F2B #28292F #2F282C #2F2F28
square
#282F2B #28292F #2F282C #2F2F28
split-complementary
#282F2B #2F282F #2F2829
monochromatic
#0E110F #0E110F #282F2B #445049 #607167

Accessibility & contrast

On white

13.71
#282F2B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#282F2B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282F2B
13.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282F2B#FFFFFF#000000##FFFFFF
##282F2B1.0013.711.5313.71
#FFFFFF13.711.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F2E2B
Deuteranopia (green-blind)
#2D2D2B
Tritanopia (blue-blind)
#272F2E
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #282f2b;
/* rgb */ color: rgb(40, 47, 43);
/* oklch */ color: oklch(29.7% 0.012 160.6);
Tailwind
colors: {
  custom: {
    50: '#616764',
    500: '#282f2b',
    950: '#000000',
  },
}
SCSS
$custom: #282f2b;
$custom-light: #616764;
$custom-dark: #000000;
JSON
{
  "hex": "#282f2b",
  "rgb": {
    "r": 40,
    "g": 47,
    "b": 43
  },
  "hsl": {
    "h": 145.714,
    "s": 8.046,
    "l": 17.059
  },
  "oklch": {
    "l": 0.29697,
    "c": 0.01209,
    "h": 160.6
  },
  "luminance": 0.02659
}

Semantic roles & 50–950 ramp

primary
#282F2B
secondary
#5E545A
accent
#7798B1
background
#F5F6F5
surface
#E9EBEA
border
#C5C6C6
text
#050605
muted
#797A79

Preview Lab

Preview with #282F2B

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

Preview Lab → · Contrast checker → · Palette generator →

#282F2B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva