#031F07#031F07

#031F07 is a very dark, muted green. Relative luminance 0.010; OKLCH L 21.1% C 0.057 H 146.4°. Best body text is #FFFFFF at 17.46:1 contrast (WCAG AA passes).

Color values

HEX#031F07
RGBrgb(3, 31, 7)
HSLhsl(129, 82%, 7%)
HSVhsv(129, 90%, 12%)
CMYKcmyk(90.3%, 0%, 77.4%, 87.8%)
CIE-LABlab(9.11, -16.10, 10.46)
CIE-LCHlch(9.11, 19.20, 146.99°)
OKLaboklab(21.06% -0.0475 0.0316)
OKLCHoklch(21.06% 0.057 146.4)
XYZxyz(0.5658, 1.0146, 0.3670)
Luminance0.0101 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#031F07 #1F031B
analogous
#0D1F03 #031F07 #031F15
triadic
#031F07 #07031F #1F0703
tetradic
#031F07 #030D1F #1F031B #1F1503
square
#031F07 #030D1F #1F031B #1F1503
split-complementary
#031F07 #15031F #1F030D
monochromatic
#031C06 #031C06 #031F07 #085714 #0E8F20

Accessibility & contrast

On white

17.46
#031F07 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #031F07
17.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##031F07#FFFFFF#000000##FFFFFF
##031F071.0017.461.2017.46
#FFFFFF17.461.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.461.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #031f07;
/* rgb */ color: rgb(3, 31, 7);
/* oklch */ color: oklch(21.1% 0.057 146.4);
Tailwind
colors: {
  custom: {
    50: '#475a4a',
    500: '#031f07',
    950: '#000000',
  },
}
SCSS
$custom: #031f07;
$custom-light: #475a4a;
$custom-dark: #000000;
JSON
{
  "hex": "#031f07",
  "rgb": {
    "r": 3,
    "g": 31,
    "b": 7
  },
  "hsl": {
    "h": 128.571,
    "s": 82.353,
    "l": 6.667
  },
  "oklch": {
    "l": 0.21062,
    "c": 0.05702,
    "h": 146.4
  },
  "luminance": 0.01015
}

Semantic roles & 50–950 ramp

primary
#031F07
secondary
#631B59
accent
#2FDCF9
background
#F4F5F4
surface
#E6E9E7
border
#C2C5C3
text
#000401
muted
#777977

Preview Lab

Preview with #031F07

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

Preview Lab → · Contrast checker → · Palette generator →

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