#1A281C#1A281C

#1A281C is a dark, muted green. Relative luminance 0.018; OKLCH L 26.0% C 0.029 H 148.4°. Best body text is #FFFFFF at 15.39:1 contrast (WCAG AA passes).

Color values

HEX#1A281C
RGBrgb(26, 40, 28)
HSLhsl(129, 21%, 13%)
HSVhsv(129, 35%, 16%)
CMYKcmyk(35%, 0%, 30%, 84.3%)
CIE-LABlab(14.52, -9.15, 6.03)
CIE-LCHlch(14.52, 10.95, 146.61°)
OKLaboklab(25.98% -0.0251 0.0154)
OKLCHoklch(25.98% 0.029 148.4)
XYZxyz(1.3943, 1.8210, 1.3764)
Luminance0.0182 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A281C #281A26
analogous
#1F281A #1A281C #1A2823
triadic
#1A281C #1C1A28 #281C1A
tetradic
#1A281C #1A1F28 #281A26 #28231A
square
#1A281C #1A1F28 #281A26 #28231A
split-complementary
#1A281C #231A28 #281A1F
monochromatic
#0C130D #0C130D #1A281C #324D36 #4A7250

Accessibility & contrast

On white

15.39
#1A281C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.36
#1A281C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A281C
15.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A281C#FFFFFF#000000##FFFFFF
##1A281C1.0015.391.3615.39
#FFFFFF15.391.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#28261B
Deuteranopia (green-blind)
#26241D
Tritanopia (blue-blind)
#182725
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #1a281c;
/* rgb */ color: rgb(26, 40, 28);
/* oklch */ color: oklch(26.0% 0.029 148.4);
Tailwind
colors: {
  custom: {
    50: '#576258',
    500: '#1a281c',
    950: '#000000',
  },
}
SCSS
$custom: #1a281c;
$custom-light: #576258;
$custom-dark: #000000;
JSON
{
  "hex": "#1a281c",
  "rgb": {
    "r": 26,
    "g": 40,
    "b": 28
  },
  "hsl": {
    "h": 128.571,
    "s": 21.212,
    "l": 12.941
  },
  "oklch": {
    "l": 0.25983,
    "c": 0.02941,
    "h": 148.4
  },
  "luminance": 0.01821
}

Semantic roles & 50–950 ramp

primary
#1A281C
secondary
#5B4357
accent
#6AB2BE
background
#F5F5F5
surface
#E9EAE9
border
#C5C6C5
text
#030503
muted
#787978

Preview Lab

Preview with #1A281C

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

Preview Lab → · Contrast checker → · Palette generator →

#1A281C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva