#031F06#031F06

#031F06 is a very dark, muted green. Relative luminance 0.010; OKLCH L 21.0% C 0.058 H 145.5°. Best body text is #FFFFFF at 17.47:1 contrast (WCAG AA passes).

Color values

HEX#031F06
RGBrgb(3, 31, 6)
HSLhsl(126, 82%, 7%)
HSVhsv(126, 90%, 12%)
CMYKcmyk(90.3%, 0%, 80.6%, 87.8%)
CIE-LABlab(9.09, -16.24, 10.84)
CIE-LCHlch(9.09, 19.53, 146.27°)
OKLaboklab(21.04% -0.0481 0.0331)
OKLCHoklch(21.04% 0.058 145.5)
XYZxyz(0.5604, 1.0124, 0.3381)
Luminance0.0101 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#031F06 #1F031C
analogous
#0E1F03 #031F06 #031F14
triadic
#031F06 #06031F #1F0603
tetradic
#031F06 #030E1F #1F031C #1F1403
square
#031F06 #030E1F #1F031C #1F1403
split-complementary
#031F06 #14031F #1F030E
monochromatic
#031C05 #031C05 #031F06 #085711 #0E8F1C

Accessibility & contrast

On white

17.47
#031F06 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #031F06
17.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##031F06#FFFFFF#000000##FFFFFF
##031F061.0017.471.2017.47
#FFFFFF17.471.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#201B04
Deuteranopia (green-blind)
#1C1908
Tritanopia (blue-blind)
#001E1A
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #031f06;
/* rgb */ color: rgb(3, 31, 6);
/* oklch */ color: oklch(21.0% 0.058 145.5);
Tailwind
colors: {
  custom: {
    50: '#475a49',
    500: '#031f06',
    950: '#000000',
  },
}
SCSS
$custom: #031f06;
$custom-light: #475a49;
$custom-dark: #000000;
JSON
{
  "hex": "#031f06",
  "rgb": {
    "r": 3,
    "g": 31,
    "b": 6
  },
  "hsl": {
    "h": 126.429,
    "s": 82.353,
    "l": 6.667
  },
  "oklch": {
    "l": 0.21041,
    "c": 0.05841,
    "h": 145.5
  },
  "luminance": 0.01012
}

Semantic roles & 50–950 ramp

primary
#031F06
secondary
#631B5B
accent
#2FE3F9
background
#F4F5F4
surface
#E6E9E6
border
#C2C5C2
text
#000400
muted
#777977

Preview Lab

Preview with #031F06

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

Preview Lab → · Contrast checker → · Palette generator →

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