#282F2A#282F2A

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

Color values

HEX#282F2A
RGBrgb(40, 47, 42)
HSLhsl(137, 8%, 17%)
HSVhsv(137, 15%, 18%)
CMYKcmyk(14.9%, 0%, 10.6%, 81.6%)
CIE-LABlab(18.59, -4.27, 2.19)
CIE-LCHlch(18.59, 4.80, 152.85°)
OKLaboklab(29.66% -0.0119 0.0057)
OKLCHoklch(29.66% 0.013 154.5)
XYZxyz(2.3094, 2.6513, 2.5801)
Luminance0.0265 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282F2A #2F282D
analogous
#2A2F28 #282F2A #282F2E
triadic
#282F2A #2A282F #2F2A28
tetradic
#282F2A #282A2F #2F282D #2F2E28
square
#282F2A #282A2F #2F282D #2F2E28
split-complementary
#282F2A #2E282F #2F282A
monochromatic
#0E110F #0E110F #282F2A #445048 #607165

Accessibility & contrast

On white

13.72
#282F2A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #282F2A
13.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282F2A#FFFFFF#000000##FFFFFF
##282F2A1.0013.721.5313.72
#FFFFFF13.721.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.721.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #282f2a;
/* rgb */ color: rgb(40, 47, 42);
/* oklch */ color: oklch(29.7% 0.013 154.5);
Tailwind
colors: {
  custom: {
    50: '#616763',
    500: '#282f2a',
    950: '#000000',
  },
}
SCSS
$custom: #282f2a;
$custom-light: #616763;
$custom-dark: #000000;
JSON
{
  "hex": "#282f2a",
  "rgb": {
    "r": 40,
    "g": 47,
    "b": 42
  },
  "hsl": {
    "h": 137.143,
    "s": 8.046,
    "l": 17.059
  },
  "oklch": {
    "l": 0.29661,
    "c": 0.01322,
    "h": 154.5
  },
  "luminance": 0.02651
}

Semantic roles & 50–950 ramp

primary
#282F2A
secondary
#5E545C
accent
#77A0B1
background
#F5F6F5
surface
#E9EBEA
border
#C5C6C6
text
#050605
muted
#797A79

Preview Lab

Preview with #282F2A

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

Preview Lab → · Contrast checker → · Palette generator →

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