#282E18#282E18

#282E18 is a dark, muted yellow-green. Relative luminance 0.025; OKLCH L 28.9% C 0.038 H 121.3°. Best body text is #FFFFFF at 14.05:1 contrast (WCAG AA passes).

Color values

HEX#282E18
RGBrgb(40, 46, 24)
HSLhsl(76, 31%, 14%)
HSVhsv(76, 48%, 18%)
CMYKcmyk(13%, 0%, 47.8%, 82%)
CIE-LABlab(17.79, -7.21, 13.32)
CIE-LCHlch(17.79, 15.15, 118.42°)
OKLaboklab(28.87% -0.0198 0.0326)
OKLCHoklch(28.87% 0.038 121.3)
XYZxyz(2.0169, 2.4711, 1.2347)
Luminance0.0247 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282E18 #1E182E
analogous
#2E2918 #282E18 #1D2E18
triadic
#282E18 #18282E #2E1828
tetradic
#282E18 #182E29 #1E182E #2E181D
square
#282E18 #182E29 #1E182E #2E181D
split-complementary
#282E18 #181D2E #29182E
monochromatic
#11140A #11140A #282E18 #4B562D #6E7E42

Accessibility & contrast

On white

14.05
#282E18 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#282E18 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282E18
14.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282E18#FFFFFF#000000##FFFFFF
##282E181.0014.051.4914.05
#FFFFFF14.051.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#302C16
Deuteranopia (green-blind)
#302C19
Tritanopia (blue-blind)
#2A2C29
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #282e18;
/* rgb */ color: rgb(40, 46, 24);
/* oklch */ color: oklch(28.9% 0.038 121.3);
Tailwind
colors: {
  custom: {
    50: '#626655',
    500: '#282e18',
    950: '#000000',
  },
}
SCSS
$custom: #282e18;
$custom-light: #626655;
$custom-dark: #000000;
JSON
{
  "hex": "#282e18",
  "rgb": {
    "r": 40,
    "g": 46,
    "b": 24
  },
  "hsl": {
    "h": 76.364,
    "s": 31.429,
    "l": 13.725
  },
  "oklch": {
    "l": 0.28874,
    "c": 0.03816,
    "h": 121.3
  },
  "luminance": 0.02471
}

Semantic roles & 50–950 ramp

primary
#282E18
secondary
#493F63
accent
#60C87C
background
#F5F6F4
surface
#EAEBE7
border
#C6C6C3
text
#050603
muted
#797A78

Preview Lab

Preview with #282E18

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

Preview Lab → · Contrast checker → · Palette generator →

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