#031B07#031B07

#031B07 is a very dark, muted green. Relative luminance 0.008; OKLCH L 19.6% C 0.050 H 147.5°. Best body text is #FFFFFF at 18.04:1 contrast (WCAG AA passes).

Color values

HEX#031B07
RGBrgb(3, 27, 7)
HSLhsl(130, 80%, 6%)
HSVhsv(130, 89%, 11%)
CMYKcmyk(88.9%, 0%, 74.1%, 89.4%)
CIE-LABlab(7.39, -12.71, 7.97)
CIE-LCHlch(7.39, 15.00, 147.91°)
OKLaboklab(19.63% -0.0423 0.027)
OKLCHoklch(19.63% 0.05 147.5)
XYZxyz(0.4678, 0.8185, 0.3343)
Luminance0.0082 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#031B07 #1B0317
analogous
#0B1B03 #031B07 #031B13
triadic
#031B07 #07031B #1B0703
tetradic
#031B07 #030B1B #1B0317 #1B1303
square
#031B07 #030B1B #1B0317 #1B1303
split-complementary
#031B07 #13031B #1B030B
monochromatic
#031C07 #031C07 #031C07 #095215 #0F8924

Accessibility & contrast

On white

18.04
#031B07 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.16
#031B07 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #031B07
18.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##031B07#FFFFFF#000000##FFFFFF
##031B071.0018.041.1618.04
#FFFFFF18.041.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B1806
Deuteranopia (green-blind)
#181508
Tritanopia (blue-blind)
#001A16
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #031b07;
/* rgb */ color: rgb(3, 27, 7);
/* oklch */ color: oklch(19.6% 0.050 147.5);
Tailwind
colors: {
  custom: {
    50: '#47574a',
    500: '#031b07',
    950: '#000000',
  },
}
SCSS
$custom: #031b07;
$custom-light: #47574a;
$custom-dark: #000000;
JSON
{
  "hex": "#031b07",
  "rgb": {
    "r": 3,
    "g": 27,
    "b": 7
  },
  "hsl": {
    "h": 130,
    "s": 80,
    "l": 5.882
  },
  "oklch": {
    "l": 0.19626,
    "c": 0.05022,
    "h": 147.5
  },
  "luminance": 0.00819
}

Semantic roles & 50–950 ramp

primary
#031B07
secondary
#5F1B54
accent
#31D6F6
background
#F4F5F4
surface
#E6E9E7
border
#C2C5C3
text
#000301
muted
#777877

Preview Lab

Preview with #031B07

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

Preview Lab → · Contrast checker → · Palette generator →

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