#0D1F00#0D1F00

#0D1F00 is a very dark, moderate yellow-green. Relative luminance 0.011; OKLCH L 21.5% C 0.061 H 133.4°. Best body text is #FFFFFF at 17.31:1 contrast (WCAG AA passes).

Color values

HEX#0D1F00
RGBrgb(13, 31, 0)
HSLhsl(95, 100%, 6%)
HSVhsv(95, 100%, 12%)
CMYKcmyk(58.1%, 0%, 100%, 87.8%)
CIE-LABlab(9.53, -14.19, 13.98)
CIE-LCHlch(9.53, 19.91, 135.43°)
OKLaboklab(21.51% -0.042 0.0444)
OKLCHoklch(21.51% 0.061 133.4)
XYZxyz(0.6560, 1.0655, 0.1711)
Luminance0.0107 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D1F00 #12001F
analogous
#1C1F00 #0D1F00 #001F02
triadic
#0D1F00 #000D1F #1F000D
tetradic
#0D1F00 #001C1F #12001F #1F0200
square
#0D1F00 #001C1F #12001F #1F0200
split-complementary
#0D1F00 #02001F #1F001C
monochromatic
#0D1F00 #0D1F00 #0D1F00 #275C00 #409900

Accessibility & contrast

On white

17.31
#0D1F00 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.21
#0D1F00 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0D1F00
17.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D1F00#FFFFFF#000000##FFFFFF
##0D1F001.0017.311.2117.31
#FFFFFF17.311.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#211B00
Deuteranopia (green-blind)
#1E1A02
Tritanopia (blue-blind)
#0D1D19
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #0d1f00;
/* rgb */ color: rgb(13, 31, 0);
/* oklch */ color: oklch(21.5% 0.061 133.4);
Tailwind
colors: {
  custom: {
    50: '#4c5a46',
    500: '#0d1f00',
    950: '#000000',
  },
}
SCSS
$custom: #0d1f00;
$custom-light: #4c5a46;
$custom-dark: #000000;
JSON
{
  "hex": "#0d1f00",
  "rgb": {
    "r": 13,
    "g": 31,
    "b": 0
  },
  "hsl": {
    "h": 94.839,
    "s": 100,
    "l": 6.078
  },
  "oklch": {
    "l": 0.21513,
    "c": 0.06111,
    "h": 133.4
  },
  "luminance": 0.01066
}

Semantic roles & 50–950 ramp

primary
#0D1F00
secondary
#441268
accent
#29FFA5
background
#F4F5F3
surface
#E7E9E5
border
#C3C5C1
text
#010400
muted
#777977

Preview Lab

Preview with #0D1F00

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

Preview Lab → · Contrast checker → · Palette generator →

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