#031B0D#031B0D

#031B0D is a very dark, muted green. Relative luminance 0.008; OKLCH L 19.8% C 0.042 H 155.6°. Best body text is #FFFFFF at 18.00:1 contrast (WCAG AA passes).

Color values

HEX#031B0D
RGBrgb(3, 27, 13)
HSLhsl(145, 80%, 6%)
HSVhsv(145, 89%, 11%)
CMYKcmyk(88.9%, 0%, 51.9%, 89.4%)
CIE-LABlab(7.52, -11.83, 5.60)
CIE-LCHlch(7.52, 13.09, 154.69°)
OKLaboklab(19.78% -0.0385 0.0175)
OKLCHoklch(19.78% 0.042 155.6)
XYZxyz(0.5021, 0.8322, 0.5149)
Luminance0.0083 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#031B0D #1B0311
analogous
#051B03 #031B0D #031B19
triadic
#031B0D #0D031B #1B0D03
tetradic
#031B0D #03051B #1B0311 #1B1903
square
#031B0D #03051B #1B0311 #1B1903
split-complementary
#031B0D #19031B #1B0305
monochromatic
#031C0D #031C0D #031C0D #095228 #0F8942

Accessibility & contrast

On white

18.00
#031B0D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #031B0D
18.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##031B0D#FFFFFF#000000##FFFFFF
##031B0D1.0018.001.1718.00
#FFFFFF18.001.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF18.001.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #031b0d;
/* rgb */ color: rgb(3, 27, 13);
/* oklch */ color: oklch(19.8% 0.042 155.6);
Tailwind
colors: {
  custom: {
    50: '#47574c',
    500: '#031b0d',
    950: '#000000',
  },
}
SCSS
$custom: #031b0d;
$custom-light: #47574c;
$custom-dark: #000000;
JSON
{
  "hex": "#031b0d",
  "rgb": {
    "r": 3,
    "g": 27,
    "b": 13
  },
  "hsl": {
    "h": 145,
    "s": 80,
    "l": 5.882
  },
  "oklch": {
    "l": 0.19776,
    "c": 0.04231,
    "h": 155.6
  },
  "luminance": 0.00832
}

Semantic roles & 50–950 ramp

primary
#031B0D
secondary
#5F1B43
accent
#31A4F6
background
#F4F5F4
surface
#E6E9E7
border
#C2C5C3
text
#000301
muted
#777877

Preview Lab

Preview with #031B0D

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

Preview Lab → · Contrast checker → · Palette generator →

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