#282C1A#282C1A

#282C1A is a dark, muted yellow-green. Relative luminance 0.023; OKLCH L 28.4% C 0.031 H 118.6°. Best body text is #FFFFFF at 14.33:1 contrast (WCAG AA passes).

Color values

HEX#282C1A
RGBrgb(40, 44, 26)
HSLhsl(73, 26%, 14%)
HSVhsv(73, 41%, 17%)
CMYKcmyk(9.1%, 0%, 40.9%, 82.7%)
CIE-LABlab(17.12, -5.59, 11.12)
CIE-LCHlch(17.12, 12.45, 116.67°)
OKLaboklab(28.35% -0.0151 0.0276)
OKLCHoklch(28.35% 0.031 118.6)
XYZxyz(1.9622, 2.3271, 1.3229)
Luminance0.0233 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282C1A #1E1A2C
analogous
#2C271A #282C1A #1F2C1A
triadic
#282C1A #1A282C #2C1A28
tetradic
#282C1A #1A2C27 #1E1A2C #2C1A1F
square
#282C1A #1A2C27 #1E1A2C #2C1A1F
split-complementary
#282C1A #1A1F2C #271A2C
monochromatic
#11130B #11130B #282C1A #4B5231 #6E7947

Accessibility & contrast

On white

14.33
#282C1A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#282C1A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282C1A
14.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282C1A#FFFFFF#000000##FFFFFF
##282C1A1.0014.331.4714.33
#FFFFFF14.331.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E2A19
Deuteranopia (green-blind)
#2E2A1B
Tritanopia (blue-blind)
#2A2A27
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #282c1a;
/* rgb */ color: rgb(40, 44, 26);
/* oklch */ color: oklch(28.4% 0.031 118.6);
Tailwind
colors: {
  custom: {
    50: '#626556',
    500: '#282c1a',
    950: '#000000',
  },
}
SCSS
$custom: #282c1a;
$custom-light: #626556;
$custom-dark: #000000;
JSON
{
  "hex": "#282c1a",
  "rgb": {
    "r": 40,
    "g": 44,
    "b": 26
  },
  "hsl": {
    "h": 73.333,
    "s": 25.714,
    "l": 13.725
  },
  "oklch": {
    "l": 0.28353,
    "c": 0.03147,
    "h": 118.6
  },
  "luminance": 0.02327
}

Semantic roles & 50–950 ramp

primary
#282C1A
secondary
#49425F
accent
#66C27A
background
#F5F6F5
surface
#EAEBE9
border
#C6C6C5
text
#050503
muted
#797A78

Preview Lab

Preview with #282C1A

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

Preview Lab → · Contrast checker → · Palette generator →

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