#282F28#282F28

#282F28 is a dark, near-neutral green. Relative luminance 0.026; OKLCH L 29.6% C 0.016 H 145.2°. Best body text is #FFFFFF at 13.75:1 contrast (WCAG AA passes).

Color values

HEX#282F28
RGBrgb(40, 47, 40)
HSLhsl(120, 8%, 17%)
HSVhsv(120, 15%, 18%)
CMYKcmyk(14.9%, 0%, 14.9%, 81.6%)
CIE-LABlab(18.53, -4.74, 3.48)
CIE-LCHlch(18.53, 5.89, 143.71°)
OKLaboklab(29.59% -0.013 0.009)
OKLCHoklch(29.59% 0.016 145.2)
XYZxyz(2.2745, 2.6373, 2.3963)
Luminance0.0264 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282F28 #2F282F
analogous
#2C2F28 #282F28 #282F2C
triadic
#282F28 #28282F #2F2828
tetradic
#282F28 #282C2F #2F282F #2F2C28
square
#282F28 #282C2F #2F282F #2F2C28
split-complementary
#282F28 #2C282F #2F282C
monochromatic
#0E110E #0E110E #282F28 #445044 #607160

Accessibility & contrast

On white

13.75
#282F28 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #282F28
13.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282F28#FFFFFF#000000##FFFFFF
##282F281.0013.751.5313.75
#FFFFFF13.751.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F2E28
Deuteranopia (green-blind)
#2E2D28
Tritanopia (blue-blind)
#272F2D
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #282f28;
/* rgb */ color: rgb(40, 47, 40);
/* oklch */ color: oklch(29.6% 0.016 145.2);
Tailwind
colors: {
  custom: {
    50: '#616761',
    500: '#282f28',
    950: '#000000',
  },
}
SCSS
$custom: #282f28;
$custom-light: #616761;
$custom-dark: #000000;
JSON
{
  "hex": "#282f28",
  "rgb": {
    "r": 40,
    "g": 47,
    "b": 40
  },
  "hsl": {
    "h": 120,
    "s": 8.046,
    "l": 17.059
  },
  "oklch": {
    "l": 0.29593,
    "c": 0.01583,
    "h": 145.2
  },
  "luminance": 0.02637
}

Semantic roles & 50–950 ramp

primary
#282F28
secondary
#5E545E
accent
#77B1B1
background
#F5F6F5
surface
#E9EBE9
border
#C5C6C5
text
#050605
muted
#797A79

Preview Lab

Preview with #282F28

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

Preview Lab → · Contrast checker → · Palette generator →

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