#0A400F#0A400F

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

Color values

HEX#0A400F
RGBrgb(10, 64, 15)
HSLhsl(126, 73%, 15%)
HSVhsv(126, 84%, 25%)
CMYKcmyk(84.4%, 0%, 76.6%, 74.9%)
CIE-LABlab(22.88, -28.53, 24.19)
CIE-LCHlch(22.88, 37.40, 139.71°)
OKLaboklab(32.58% -0.0772 0.0557)
OKLCHoklch(32.58% 0.095 144.2)
XYZxyz(2.0447, 3.7656, 1.0709)
Luminance0.0377 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0A400F #400A3B
analogous
#20400A #0A400F #0A402A
triadic
#0A400F #0F0A40 #400F0A
tetradic
#0A400F #0A2040 #400A3B #402A0A
square
#0A400F #0A2040 #400A3B #402A0A
split-complementary
#0A400F #2A0A40 #400A20
monochromatic
#041A06 #041A06 #0A400F #12751B #1BAA28

Accessibility & contrast

On white

11.98
#0A400F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0A400F
11.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0A400F#FFFFFF#000000##FFFFFF
##0A400F1.0011.981.7511.98
#FFFFFF11.981.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF11.981.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0a400f;
/* rgb */ color: rgb(10, 64, 15);
/* oklch */ color: oklch(32.6% 0.095 144.2);
Tailwind
colors: {
  custom: {
    50: '#547550',
    500: '#0a400f',
    950: '#000000',
  },
}
SCSS
$custom: #0a400f;
$custom-light: #547550;
$custom-dark: #000000;
JSON
{
  "hex": "#0a400f",
  "rgb": {
    "r": 10,
    "g": 64,
    "b": 15
  },
  "hsl": {
    "h": 125.556,
    "s": 72.973,
    "l": 14.51
  },
  "oklch": {
    "l": 0.32577,
    "c": 0.09518,
    "h": 144.2
  },
  "luminance": 0.03766
}

Semantic roles & 50–950 ramp

primary
#0A400F
secondary
#7D2975
accent
#38DFF0
background
#F5F7F4
surface
#E9EDE7
border
#C5C8C3
text
#030802
muted
#787B78

Preview Lab

Preview with #0A400F

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

Preview Lab → · Contrast checker → · Palette generator →

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