#0A401C#0A401C

#0A401C is a dark, moderate green. Relative luminance 0.038; OKLCH L 32.8% C 0.083 H 149.7°. Best body text is #FFFFFF at 11.91:1 contrast (WCAG AA passes).

Color values

HEX#0A401C
RGBrgb(10, 64, 28)
HSLhsl(140, 73%, 15%)
HSVhsv(140, 84%, 25%)
CMYKcmyk(84.4%, 0%, 56.2%, 74.9%)
CIE-LABlab(23.05, -26.52, 17.14)
CIE-LCHlch(23.05, 31.57, 147.12°)
OKLaboklab(32.77% -0.0713 0.0416)
OKLCHoklch(32.77% 0.083 149.7)
XYZxyz(2.1680, 3.8149, 1.7205)
Luminance0.0382 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0A401C #400A2E
analogous
#13400A #0A401C #0A4037
triadic
#0A401C #1C0A40 #401C0A
tetradic
#0A401C #0A1340 #400A2E #40370A
square
#0A401C #0A1340 #400A2E #40370A
split-complementary
#0A401C #370A40 #400A13
monochromatic
#041A0C #041A0C #0A401C #127533 #1BAA4A

Accessibility & contrast

On white

11.91
#0A401C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#0A401C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0A401C
11.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0A401C#FFFFFF#000000##FFFFFF
##0A401C1.0011.911.7611.91
#FFFFFF11.911.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#403A19
Deuteranopia (green-blind)
#3A351F
Tritanopia (blue-blind)
#003F38
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #0a401c;
/* rgb */ color: rgb(10, 64, 28);
/* oklch */ color: oklch(32.8% 0.083 149.7);
Tailwind
colors: {
  custom: {
    50: '#537559',
    500: '#0a401c',
    950: '#000000',
  },
}
SCSS
$custom: #0a401c;
$custom-light: #537559;
$custom-dark: #000000;
JSON
{
  "hex": "#0a401c",
  "rgb": {
    "r": 10,
    "g": 64,
    "b": 28
  },
  "hsl": {
    "h": 140,
    "s": 72.973,
    "l": 14.51
  },
  "oklch": {
    "l": 0.32772,
    "c": 0.08257,
    "h": 149.7
  },
  "luminance": 0.03815
}

Semantic roles & 50–950 ramp

primary
#0A401C
secondary
#7D2961
accent
#38B2F0
background
#F5F7F5
surface
#E9EDE9
border
#C5C8C5
text
#030803
muted
#787B78

Preview Lab

Preview with #0A401C

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

Preview Lab → · Contrast checker → · Palette generator →

#0A401C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva