#0A400A#0A400A

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

Color values

HEX#0A400A
RGBrgb(10, 64, 10)
HSLhsl(120, 73%, 15%)
HSVhsv(120, 84%, 25%)
CMYKcmyk(84.4%, 0%, 84.4%, 74.9%)
CIE-LABlab(22.84, -29.06, 26.42)
CIE-LCHlch(22.84, 39.28, 137.72°)
OKLaboklab(32.53% -0.0789 0.0597)
OKLCHoklch(32.53% 0.099 142.9)
XYZxyz(2.0132, 3.7530, 0.9054)
Luminance0.0375 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0A400A #400A40
analogous
#25400A #0A400A #0A4025
triadic
#0A400A #0A0A40 #400A0A
tetradic
#0A400A #0A2540 #400A40 #40250A
square
#0A400A #0A2540 #400A40 #40250A
split-complementary
#0A400A #250A40 #400A25
monochromatic
#041A04 #041A04 #0A400A #127512 #1BAA1B

Accessibility & contrast

On white

12.00
#0A400A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0A400A
12.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0A400A#FFFFFF#000000##FFFFFF
##0A400A1.0012.001.7512.00
#FFFFFF12.001.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#423902
Deuteranopia (green-blind)
#3C3510
Tritanopia (blue-blind)
#003E36
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #0a400a;
/* rgb */ color: rgb(10, 64, 10);
/* oklch */ color: oklch(32.5% 0.099 142.9);
Tailwind
colors: {
  custom: {
    50: '#54754d',
    500: '#0a400a',
    950: '#000000',
  },
}
SCSS
$custom: #0a400a;
$custom-light: #54754d;
$custom-dark: #000000;
JSON
{
  "hex": "#0a400a",
  "rgb": {
    "r": 10,
    "g": 64,
    "b": 10
  },
  "hsl": {
    "h": 120,
    "s": 72.973,
    "l": 14.51
  },
  "oklch": {
    "l": 0.32527,
    "c": 0.09894,
    "h": 142.9
  },
  "luminance": 0.03753
}

Semantic roles & 50–950 ramp

primary
#0A400A
secondary
#7D297D
accent
#38F0F0
background
#F5F7F4
surface
#E9EDE7
border
#C5C8C3
text
#030801
muted
#787B77

Preview Lab

Preview with #0A400A

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

Preview Lab → · Contrast checker → · Palette generator →

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