#0A400E#0A400E

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

Color values

HEX#0A400E
RGBrgb(10, 64, 14)
HSLhsl(124, 73%, 15%)
HSVhsv(124, 84%, 25%)
CMYKcmyk(84.4%, 0%, 78.1%, 74.9%)
CIE-LABlab(22.87, -28.65, 24.66)
CIE-LCHlch(22.87, 37.80, 139.28°)
OKLaboklab(32.57% -0.0775 0.0566)
OKLCHoklch(32.57% 0.096 143.9)
XYZxyz(2.0377, 3.7628, 1.0343)
Luminance0.0376 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0A400E #400A3C
analogous
#21400A #0A400E #0A4029
triadic
#0A400E #0E0A40 #400E0A
tetradic
#0A400E #0A2140 #400A3C #40290A
square
#0A400E #0A2140 #400A3C #40290A
split-complementary
#0A400E #290A40 #400A21
monochromatic
#041A06 #041A06 #0A400E #12751A #1BAA25

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##0A400E#FFFFFF#000000##FFFFFF
##0A400E1.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)
#413907
Deuteranopia (green-blind)
#3B3513
Tritanopia (blue-blind)
#003E36
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #0a400e;
/* rgb */ color: rgb(10, 64, 14);
/* oklch */ color: oklch(32.6% 0.096 143.9);
Tailwind
colors: {
  custom: {
    50: '#54754f',
    500: '#0a400e',
    950: '#000000',
  },
}
SCSS
$custom: #0a400e;
$custom-light: #54754f;
$custom-dark: #000000;
JSON
{
  "hex": "#0a400e",
  "rgb": {
    "r": 10,
    "g": 64,
    "b": 14
  },
  "hsl": {
    "h": 124.444,
    "s": 72.973,
    "l": 14.51
  },
  "oklch": {
    "l": 0.32566,
    "c": 0.09599,
    "h": 143.9
  },
  "luminance": 0.03763
}

Semantic roles & 50–950 ramp

primary
#0A400E
secondary
#7D2977
accent
#38E2F0
background
#F5F7F4
surface
#E9EDE7
border
#C5C8C3
text
#030802
muted
#787B78

Preview Lab

Preview with #0A400E

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

Preview Lab → · Contrast checker → · Palette generator →

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