#0D421F#0D421F

#0D421F is a dark, moderate green. Relative luminance 0.041; OKLCH L 33.5% C 0.081 H 150.3°. Best body text is #FFFFFF at 11.56:1 contrast (WCAG AA passes).

Color values

HEX#0D421F
RGBrgb(13, 66, 31)
HSLhsl(140, 67%, 15%)
HSVhsv(140, 80%, 26%)
CMYKcmyk(80.3%, 0%, 53%, 74.1%)
CIE-LABlab(23.94, -26.24, 16.45)
CIE-LCHlch(23.94, 30.97, 147.93°)
OKLaboklab(33.54% -0.0706 0.0402)
OKLCHoklch(33.54% 0.081 150.3)
XYZxyz(2.3613, 4.0807, 1.9593)
Luminance0.0408 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D421F #420D30
analogous
#15420D #0D421F #0D4239
triadic
#0D421F #1F0D42 #421F0D
tetradic
#0D421F #0D1542 #420D30 #42390D
square
#0D421F #0D1542 #420D30 #42390D
split-complementary
#0D421F #390D42 #420D15
monochromatic
#051A0C #051A0C #0D421F #177537 #21A84F

Accessibility & contrast

On white

11.56
#0D421F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#0D421F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0D421F
11.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D421F#FFFFFF#000000##FFFFFF
##0D421F1.0011.561.8211.56
#FFFFFF11.561.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#423C1C
Deuteranopia (green-blind)
#3C3721
Tritanopia (blue-blind)
#00413A
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #0d421f;
/* rgb */ color: rgb(13, 66, 31);
/* oklch */ color: oklch(33.5% 0.081 150.3);
Tailwind
colors: {
  custom: {
    50: '#55775b',
    500: '#0d421f',
    950: '#000000',
  },
}
SCSS
$custom: #0d421f;
$custom-light: #55775b;
$custom-dark: #000000;
JSON
{
  "hex": "#0d421f",
  "rgb": {
    "r": 13,
    "g": 66,
    "b": 31
  },
  "hsl": {
    "h": 140.377,
    "s": 67.089,
    "l": 15.49
  },
  "oklch": {
    "l": 0.33541,
    "c": 0.08129,
    "h": 150.3
  },
  "luminance": 0.04081
}

Semantic roles & 50–950 ramp

primary
#0D421F
secondary
#7E2D62
accent
#3EB0EA
background
#F5F7F5
surface
#E9EDE9
border
#C5C8C5
text
#030804
muted
#787B79

Preview Lab

Preview with #0D421F

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

Preview Lab → · Contrast checker → · Palette generator →

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