#0A401D#0A401D

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

Color values

HEX#0A401D
RGBrgb(10, 64, 29)
HSLhsl(141, 73%, 15%)
HSVhsv(141, 84%, 25%)
CMYKcmyk(84.4%, 0%, 54.7%, 74.9%)
CIE-LABlab(23.07, -26.32, 16.55)
CIE-LCHlch(23.07, 31.10, 147.84°)
OKLaboklab(32.79% -0.0708 0.0404)
OKLCHoklch(32.79% 0.081 150.3)
XYZxyz(2.1802, 3.8198, 1.7845)
Luminance0.0382 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0A401D #400A2D
analogous
#12400A #0A401D #0A4038
triadic
#0A401D #1D0A40 #401D0A
tetradic
#0A401D #0A1240 #400A2D #40380A
square
#0A401D #0A1240 #400A2D #40380A
split-complementary
#0A401D #380A40 #400A12
monochromatic
#041A0C #041A0C #0A401D #127535 #1BAA4D

Accessibility & contrast

On white

11.90
#0A401D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0A401D
11.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0A401D#FFFFFF#000000##FFFFFF
##0A401D1.0011.901.7611.90
#FFFFFF11.901.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.901.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0a401d;
/* rgb */ color: rgb(10, 64, 29);
/* oklch */ color: oklch(32.8% 0.081 150.3);
Tailwind
colors: {
  custom: {
    50: '#537559',
    500: '#0a401d',
    950: '#000000',
  },
}
SCSS
$custom: #0a401d;
$custom-light: #537559;
$custom-dark: #000000;
JSON
{
  "hex": "#0a401d",
  "rgb": {
    "r": 10,
    "g": 64,
    "b": 29
  },
  "hsl": {
    "h": 141.111,
    "s": 72.973,
    "l": 14.51
  },
  "oklch": {
    "l": 0.32791,
    "c": 0.08148,
    "h": 150.3
  },
  "luminance": 0.0382
}

Semantic roles & 50–950 ramp

primary
#0A401D
secondary
#7D295F
accent
#38AFF0
background
#F5F7F5
surface
#E9EDE9
border
#C5C8C5
text
#030803
muted
#787B78

Preview Lab

Preview with #0A401D

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

Preview Lab → · Contrast checker → · Palette generator →

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