#0A400D#0A400D

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

Color values

HEX#0A400D
RGBrgb(10, 64, 13)
HSLhsl(123, 73%, 15%)
HSVhsv(123, 84%, 25%)
CMYKcmyk(84.4%, 0%, 79.7%, 74.9%)
CIE-LABlab(22.86, -28.76, 25.13)
CIE-LCHlch(22.86, 38.19, 138.85°)
OKLaboklab(32.56% -0.0779 0.0574)
OKLCHoklch(32.56% 0.097 143.6)
XYZxyz(2.0311, 3.7601, 0.9994)
Luminance0.0376 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0A400D #400A3D
analogous
#22400A #0A400D #0A4028
triadic
#0A400D #0D0A40 #400D0A
tetradic
#0A400D #0A2240 #400A3D #40280A
square
#0A400D #0A2240 #400A3D #40280A
split-complementary
#0A400D #280A40 #400A22
monochromatic
#041A05 #041A05 #0A400D #127518 #1BAA23

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##0A400D#FFFFFF#000000##FFFFFF
##0A400D1.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)
#413906
Deuteranopia (green-blind)
#3B3512
Tritanopia (blue-blind)
#003E36
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #0a400d;
/* rgb */ color: rgb(10, 64, 13);
/* oklch */ color: oklch(32.6% 0.097 143.6);
Tailwind
colors: {
  custom: {
    50: '#54754f',
    500: '#0a400d',
    950: '#000000',
  },
}
SCSS
$custom: #0a400d;
$custom-light: #54754f;
$custom-dark: #000000;
JSON
{
  "hex": "#0a400d",
  "rgb": {
    "r": 10,
    "g": 64,
    "b": 13
  },
  "hsl": {
    "h": 123.333,
    "s": 72.973,
    "l": 14.51
  },
  "oklch": {
    "l": 0.32556,
    "c": 0.09678,
    "h": 143.6
  },
  "luminance": 0.0376
}

Semantic roles & 50–950 ramp

primary
#0A400D
secondary
#7D2979
accent
#38E5F0
background
#F5F7F4
surface
#E9EDE7
border
#C5C8C3
text
#030802
muted
#787B78

Preview Lab

Preview with #0A400D

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

Preview Lab → · Contrast checker → · Palette generator →

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