#031B0C#031B0C

#031B0C is a very dark, muted green. Relative luminance 0.008; OKLCH L 19.7% C 0.044 H 154.0°. Best body text is #FFFFFF at 18.01:1 contrast (WCAG AA passes).

Color values

HEX#031B0C
RGBrgb(3, 27, 12)
HSLhsl(143, 80%, 6%)
HSVhsv(143, 89%, 11%)
CMYKcmyk(88.9%, 0%, 55.6%, 89.4%)
CIE-LABlab(7.49, -11.99, 6.03)
CIE-LCHlch(7.49, 13.43, 153.31°)
OKLaboklab(19.75% -0.0392 0.0191)
OKLCHoklch(19.75% 0.044 154)
XYZxyz(0.4958, 0.8297, 0.4818)
Luminance0.0083 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#031B0C #1B0312
analogous
#061B03 #031B0C #031B18
triadic
#031B0C #0C031B #1B0C03
tetradic
#031B0C #03061B #1B0312 #1B1803
square
#031B0C #03061B #1B0312 #1B1803
split-complementary
#031B0C #18031B #1B0306
monochromatic
#031C0C #031C0C #031C0C #095224 #0F893D

Accessibility & contrast

On white

18.01
#031B0C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.17
#031B0C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #031B0C
18.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##031B0C#FFFFFF#000000##FFFFFF
##031B0C1.0018.011.1718.01
#FFFFFF18.011.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF18.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B180B
Deuteranopia (green-blind)
#18160D
Tritanopia (blue-blind)
#001B17
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #031b0c;
/* rgb */ color: rgb(3, 27, 12);
/* oklch */ color: oklch(19.7% 0.044 154.0);
Tailwind
colors: {
  custom: {
    50: '#47574c',
    500: '#031b0c',
    950: '#000000',
  },
}
SCSS
$custom: #031b0c;
$custom-light: #47574c;
$custom-dark: #000000;
JSON
{
  "hex": "#031b0c",
  "rgb": {
    "r": 3,
    "g": 27,
    "b": 12
  },
  "hsl": {
    "h": 142.5,
    "s": 80,
    "l": 5.882
  },
  "oklch": {
    "l": 0.19748,
    "c": 0.04358,
    "h": 154
  },
  "luminance": 0.0083
}

Semantic roles & 50–950 ramp

primary
#031B0C
secondary
#5F1B45
accent
#31ADF6
background
#F4F5F4
surface
#E6E9E7
border
#C2C5C3
text
#000301
muted
#777877

Preview Lab

Preview with #031B0C

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

Preview Lab → · Contrast checker → · Palette generator →

#031B0C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva