#0A401B#0A401B

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

Color values

HEX#0A401B
RGBrgb(10, 64, 27)
HSLhsl(139, 73%, 15%)
HSVhsv(139, 84%, 25%)
CMYKcmyk(84.4%, 0%, 57.8%, 74.9%)
CIE-LABlab(23.03, -26.71, 17.72)
CIE-LCHlch(23.03, 32.05, 146.43°)
OKLaboklab(32.75% -0.0718 0.0429)
OKLCHoklch(32.75% 0.084 149.2)
XYZxyz(2.1562, 3.8102, 1.6585)
Luminance0.0381 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0A401B #400A2F
analogous
#14400A #0A401B #0A4036
triadic
#0A401B #1B0A40 #401B0A
tetradic
#0A401B #0A1440 #400A2F #40360A
square
#0A401B #0A1440 #400A2F #40360A
split-complementary
#0A401B #360A40 #400A14
monochromatic
#041A0B #041A0B #0A401B #127531 #1BAA48

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##0A401B#FFFFFF#000000##FFFFFF
##0A401B1.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)
#413A18
Deuteranopia (green-blind)
#3A351E
Tritanopia (blue-blind)
#003F37
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #0a401b;
/* rgb */ color: rgb(10, 64, 27);
/* oklch */ color: oklch(32.8% 0.084 149.2);
Tailwind
colors: {
  custom: {
    50: '#537558',
    500: '#0a401b',
    950: '#000000',
  },
}
SCSS
$custom: #0a401b;
$custom-light: #537558;
$custom-dark: #000000;
JSON
{
  "hex": "#0a401b",
  "rgb": {
    "r": 10,
    "g": 64,
    "b": 27
  },
  "hsl": {
    "h": 138.889,
    "s": 72.973,
    "l": 14.51
  },
  "oklch": {
    "l": 0.32754,
    "c": 0.08364,
    "h": 149.2
  },
  "luminance": 0.0381
}

Semantic roles & 50–950 ramp

primary
#0A401B
secondary
#7D2963
accent
#38B6F0
background
#F5F7F5
surface
#E9EDE9
border
#C5C8C5
text
#030803
muted
#787B78

Preview Lab

Preview with #0A401B

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

Preview Lab → · Contrast checker → · Palette generator →

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