#282E22#282E22

#282E22 is a dark, muted yellow-green. Relative luminance 0.025; OKLCH L 29.1% C 0.023 H 129.4°. Best body text is #FFFFFF at 13.96:1 contrast (WCAG AA passes).

Color values

HEX#282E22
RGBrgb(40, 46, 34)
HSLhsl(90, 15%, 16%)
HSVhsv(90, 26%, 18%)
CMYKcmyk(13%, 0%, 26.1%, 82%)
CIE-LABlab(18.01, -5.40, 6.89)
CIE-LCHlch(18.01, 8.75, 128.09°)
OKLaboklab(29.13% -0.0144 0.0176)
OKLCHoklch(29.13% 0.023 129.4)
XYZxyz(2.1408, 2.5206, 1.8868)
Luminance0.0252 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282E22 #28222E
analogous
#2E2E22 #282E22 #222E22
triadic
#282E22 #22282E #2E2228
tetradic
#282E22 #222E2E #28222E #2E2222
square
#282E22 #222E2E #28222E #2E2222
split-complementary
#282E22 #22222E #2E222E
monochromatic
#0F120D #0F120D #282E22 #47513C #657456

Accessibility & contrast

On white

13.96
#282E22 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#282E22 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282E22
13.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282E22#FFFFFF#000000##FFFFFF
##282E221.0013.961.5013.96
#FFFFFF13.961.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF13.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F2C21
Deuteranopia (green-blind)
#2E2C23
Tritanopia (blue-blind)
#282D2B
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #282e22;
/* rgb */ color: rgb(40, 46, 34);
/* oklch */ color: oklch(29.1% 0.023 129.4);
Tailwind
colors: {
  custom: {
    50: '#62665d',
    500: '#282e22',
    950: '#000000',
  },
}
SCSS
$custom: #282e22;
$custom-light: #62665d;
$custom-dark: #000000;
JSON
{
  "hex": "#282e22",
  "rgb": {
    "r": 40,
    "g": 46,
    "b": 34
  },
  "hsl": {
    "h": 90,
    "s": 15,
    "l": 15.686
  },
  "oklch": {
    "l": 0.29127,
    "c": 0.02275,
    "h": 129.4
  },
  "luminance": 0.02521
}

Semantic roles & 50–950 ramp

primary
#282E22
secondary
#564D5F
accent
#70B894
background
#F5F6F5
surface
#EAEBE9
border
#C6C6C5
text
#050604
muted
#797A79

Preview Lab

Preview with #282E22

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

Preview Lab → · Contrast checker → · Palette generator →

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