#031F01#031F01

#031F01 is a very dark, moderate green. Relative luminance 0.010; OKLCH L 20.9% C 0.066 H 141.3°. Best body text is #FFFFFF at 17.49:1 contrast (WCAG AA passes).

Color values

HEX#031F01
RGBrgb(3, 31, 1)
HSLhsl(116, 94%, 6%)
HSVhsv(116, 97%, 12%)
CMYKcmyk(90.3%, 0%, 96.8%, 87.8%)
CIE-LABlab(9.00, -16.98, 12.75)
CIE-LCHlch(9.00, 21.23, 143.09°)
OKLaboklab(20.94% -0.0517 0.0415)
OKLCHoklch(20.94% 0.066 141.3)
XYZxyz(0.5330, 1.0015, 0.1939)
Luminance0.0100 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#031F01 #1D011F
analogous
#121F01 #031F01 #011F0E
triadic
#031F01 #01031F #1F0103
tetradic
#031F01 #01121F #1D011F #1F0E01
square
#031F01 #01121F #1D011F #1F0E01
split-complementary
#031F01 #0E011F #1F0112
monochromatic
#031E01 #031E01 #031F01 #095A03 #0E9605

Accessibility & contrast

On white

17.49
#031F01 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.20
#031F01 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #031F01
17.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##031F01#FFFFFF#000000##FFFFFF
##031F011.0017.491.2017.49
#FFFFFF17.491.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#201B00
Deuteranopia (green-blind)
#1D1903
Tritanopia (blue-blind)
#001E19
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #031f01;
/* rgb */ color: rgb(3, 31, 1);
/* oklch */ color: oklch(20.9% 0.066 141.3);
Tailwind
colors: {
  custom: {
    50: '#475a47',
    500: '#031f01',
    950: '#000000',
  },
}
SCSS
$custom: #031f01;
$custom-light: #475a47;
$custom-dark: #000000;
JSON
{
  "hex": "#031f01",
  "rgb": {
    "r": 3,
    "g": 31,
    "b": 1
  },
  "hsl": {
    "h": 116,
    "s": 93.75,
    "l": 6.275
  },
  "oklch": {
    "l": 0.20937,
    "c": 0.06629,
    "h": 141.3
  },
  "luminance": 0.01002
}

Semantic roles & 50–950 ramp

primary
#031F01
secondary
#611567
accent
#29FFF1
background
#F4F5F3
surface
#E6E9E5
border
#C2C5C1
text
#000400
muted
#777977

Preview Lab

Preview with #031F01

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

Preview Lab → · Contrast checker → · Palette generator →

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