#0A401A#0A401A

#0A401A is a dark, moderate green. Relative luminance 0.038; OKLCH L 32.7% C 0.085 H 148.6°. Best body text is #FFFFFF at 11.92:1 contrast (WCAG AA passes).

Color values

HEX#0A401A
RGBrgb(10, 64, 26)
HSLhsl(138, 73%, 15%)
HSVhsv(138, 84%, 25%)
CMYKcmyk(84.4%, 0%, 59.4%, 74.9%)
CIE-LABlab(23.02, -26.89, 18.30)
CIE-LCHlch(23.02, 32.52, 145.76°)
OKLaboklab(32.74% -0.0723 0.0441)
OKLCHoklch(32.74% 0.085 148.6)
XYZxyz(2.1449, 3.8057, 1.5986)
Luminance0.0381 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0A401A #400A30
analogous
#15400A #0A401A #0A4035
triadic
#0A401A #1A0A40 #401A0A
tetradic
#0A401A #0A1540 #400A30 #40350A
square
#0A401A #0A1540 #400A30 #40350A
split-complementary
#0A401A #350A40 #400A15
monochromatic
#041A0B #041A0B #0A401A #127530 #1BAA45

Accessibility & contrast

On white

11.92
#0A401A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0A401A
11.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0A401A#FFFFFF#000000##FFFFFF
##0A401A1.0011.921.7611.92
#FFFFFF11.921.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#413A17
Deuteranopia (green-blind)
#3A351D
Tritanopia (blue-blind)
#003F37
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #0a401a;
/* rgb */ color: rgb(10, 64, 26);
/* oklch */ color: oklch(32.7% 0.085 148.6);
Tailwind
colors: {
  custom: {
    50: '#537557',
    500: '#0a401a',
    950: '#000000',
  },
}
SCSS
$custom: #0a401a;
$custom-light: #537557;
$custom-dark: #000000;
JSON
{
  "hex": "#0a401a",
  "rgb": {
    "r": 10,
    "g": 64,
    "b": 26
  },
  "hsl": {
    "h": 137.778,
    "s": 72.973,
    "l": 14.51
  },
  "oklch": {
    "l": 0.32736,
    "c": 0.08471,
    "h": 148.6
  },
  "luminance": 0.03806
}

Semantic roles & 50–950 ramp

primary
#0A401A
secondary
#7D2964
accent
#38B9F0
background
#F5F7F5
surface
#E9EDE9
border
#C5C8C5
text
#030803
muted
#787B78

Preview Lab

Preview with #0A401A

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

Preview Lab → · Contrast checker → · Palette generator →

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