#011F0C#011F0C

#011F0C is a very dark, muted green. Relative luminance 0.010; OKLCH L 21.1% C 0.052 H 152.9°. Best body text is #FFFFFF at 17.46:1 contrast (WCAG AA passes).

Color values

HEX#011F0C
RGBrgb(1, 31, 12)
HSLhsl(142, 94%, 6%)
HSVhsv(142, 97%, 12%)
CMYKcmyk(96.8%, 0%, 61.3%, 87.8%)
CIE-LABlab(9.10, -15.92, 8.35)
CIE-LCHlch(9.10, 17.97, 152.33°)
OKLaboklab(21.05% -0.0467 0.024)
OKLCHoklch(21.05% 0.052 152.9)
XYZxyz(0.5688, 1.0129, 0.5133)
Luminance0.0101 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#011F0C #1F0114
analogous
#051F01 #011F0C #011F1B
triadic
#011F0C #0C011F #1F0C01
tetradic
#011F0C #01051F #1F0114 #1F1B01
square
#011F0C #01051F #1F0114 #1F1B01
split-complementary
#011F0C #1B011F #1F0105
monochromatic
#011E0B #011E0B #011F0C #035A23 #05963A

Accessibility & contrast

On white

17.46
#011F0C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.20
#011F0C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #011F0C
17.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##011F0C#FFFFFF#000000##FFFFFF
##011F0C1.0017.461.2017.46
#FFFFFF17.461.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F1B0B
Deuteranopia (green-blind)
#1B190D
Tritanopia (blue-blind)
#001E1A
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #011f0c;
/* rgb */ color: rgb(1, 31, 12);
/* oklch */ color: oklch(21.1% 0.052 152.9);
Tailwind
colors: {
  custom: {
    50: '#465a4c',
    500: '#011f0c',
    950: '#000000',
  },
}
SCSS
$custom: #011f0c;
$custom-light: #465a4c;
$custom-dark: #000000;
JSON
{
  "hex": "#011f0c",
  "rgb": {
    "r": 1,
    "g": 31,
    "b": 12
  },
  "hsl": {
    "h": 142,
    "s": 93.75,
    "l": 6.275
  },
  "oklch": {
    "l": 0.2105,
    "c": 0.05249,
    "h": 152.9
  },
  "luminance": 0.01013
}

Semantic roles & 50–950 ramp

primary
#011F0C
secondary
#671549
accent
#29B0FF
background
#F3F5F4
surface
#E5E9E7
border
#C1C5C3
text
#000401
muted
#767977

Preview Lab

Preview with #011F0C

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

Preview Lab → · Contrast checker → · Palette generator →

#011F0C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva