#0A400B#0A400B

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

Color values

HEX#0A400B
RGBrgb(10, 64, 11)
HSLhsl(121, 73%, 15%)
HSVhsv(121, 84%, 25%)
CMYKcmyk(84.4%, 0%, 82.8%, 74.9%)
CIE-LABlab(22.85, -28.97, 26.01)
CIE-LCHlch(22.85, 38.93, 138.07°)
OKLaboklab(32.54% -0.0786 0.059)
OKLCHoklch(32.54% 0.098 143.1)
XYZxyz(2.0188, 3.7553, 0.9350)
Luminance0.0376 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0A400B #400A3F
analogous
#24400A #0A400B #0A4026
triadic
#0A400B #0B0A40 #400B0A
tetradic
#0A400B #0A2440 #400A3F #40260A
square
#0A400B #0A2440 #400A3F #40260A
split-complementary
#0A400B #260A40 #400A24
monochromatic
#041A05 #041A05 #0A400B #127514 #1BAA1D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##0A400B#FFFFFF#000000##FFFFFF
##0A400B1.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)
#423903
Deuteranopia (green-blind)
#3C3511
Tritanopia (blue-blind)
#003E36
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #0a400b;
/* rgb */ color: rgb(10, 64, 11);
/* oklch */ color: oklch(32.5% 0.098 143.1);
Tailwind
colors: {
  custom: {
    50: '#54754e',
    500: '#0a400b',
    950: '#000000',
  },
}
SCSS
$custom: #0a400b;
$custom-light: #54754e;
$custom-dark: #000000;
JSON
{
  "hex": "#0a400b",
  "rgb": {
    "r": 10,
    "g": 64,
    "b": 11
  },
  "hsl": {
    "h": 121.111,
    "s": 72.973,
    "l": 14.51
  },
  "oklch": {
    "l": 0.32536,
    "c": 0.09825,
    "h": 143.1
  },
  "luminance": 0.03755
}

Semantic roles & 50–950 ramp

primary
#0A400B
secondary
#7D297C
accent
#38ECF0
background
#F5F7F4
surface
#E9EDE7
border
#C5C8C3
text
#030801
muted
#787B77

Preview Lab

Preview with #0A400B

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

Preview Lab → · Contrast checker → · Palette generator →

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