#0A400C#0A400C

#0A400C is a dark, moderate green. Relative luminance 0.038; OKLCH L 32.5% C 0.098 H 143.3°. Best body text is #FFFFFF at 11.99:1 contrast (WCAG AA passes).

Color values

HEX#0A400C
RGBrgb(10, 64, 12)
HSLhsl(122, 73%, 15%)
HSVhsv(122, 84%, 25%)
CMYKcmyk(84.4%, 0%, 81.2%, 74.9%)
CIE-LABlab(22.85, -28.86, 25.58)
CIE-LCHlch(22.85, 38.57, 138.45°)
OKLaboklab(32.55% -0.0782 0.0582)
OKLCHoklch(32.55% 0.098 143.3)
XYZxyz(2.0248, 3.7576, 0.9663)
Luminance0.0376 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0A400C #400A3E
analogous
#23400A #0A400C #0A4027
triadic
#0A400C #0C0A40 #400C0A
tetradic
#0A400C #0A2340 #400A3E #40270A
square
#0A400C #0A2340 #400A3E #40270A
split-complementary
#0A400C #270A40 #400A23
monochromatic
#041A05 #041A05 #0A400C #127516 #1BAA20

Accessibility & contrast

On white

11.99
#0A400C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#0A400C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0A400C
11.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0A400C#FFFFFF#000000##FFFFFF
##0A400C1.0011.991.7511.99
#FFFFFF11.991.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF11.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#423905
Deuteranopia (green-blind)
#3B3511
Tritanopia (blue-blind)
#003E36
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #0a400c;
/* rgb */ color: rgb(10, 64, 12);
/* oklch */ color: oklch(32.5% 0.098 143.3);
Tailwind
colors: {
  custom: {
    50: '#54754e',
    500: '#0a400c',
    950: '#000000',
  },
}
SCSS
$custom: #0a400c;
$custom-light: #54754e;
$custom-dark: #000000;
JSON
{
  "hex": "#0a400c",
  "rgb": {
    "r": 10,
    "g": 64,
    "b": 12
  },
  "hsl": {
    "h": 122.222,
    "s": 72.973,
    "l": 14.51
  },
  "oklch": {
    "l": 0.32546,
    "c": 0.09752,
    "h": 143.3
  },
  "luminance": 0.03758
}

Semantic roles & 50–950 ramp

primary
#0A400C
secondary
#7D297A
accent
#38E9F0
background
#F5F7F4
surface
#E9EDE7
border
#C5C8C3
text
#030802
muted
#787B78

Preview Lab

Preview with #0A400C

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

Preview Lab → · Contrast checker → · Palette generator →

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