#031F09#031F09

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

Color values

HEX#031F09
RGBrgb(3, 31, 9)
HSLhsl(133, 82%, 7%)
HSVhsv(133, 90%, 12%)
CMYKcmyk(90.3%, 0%, 71%, 87.8%)
CIE-LABlab(9.15, -15.81, 9.70)
CIE-LCHlch(9.15, 18.54, 148.47°)
OKLaboklab(21.1% -0.0463 0.0286)
OKLCHoklch(21.1% 0.054 148.3)
XYZxyz(0.5768, 1.0190, 0.4247)
Luminance0.0102 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#031F09 #1F0319
analogous
#0B1F03 #031F09 #031F17
triadic
#031F09 #09031F #1F0903
tetradic
#031F09 #030B1F #1F0319 #1F1703
square
#031F09 #030B1F #1F0319 #1F1703
split-complementary
#031F09 #17031F #1F030B
monochromatic
#031C08 #031C08 #031F09 #085719 #0E8F29

Accessibility & contrast

On white

17.44
#031F09 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #031F09
17.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##031F09#FFFFFF#000000##FFFFFF
##031F091.0017.441.2017.44
#FFFFFF17.441.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F1B07
Deuteranopia (green-blind)
#1C190B
Tritanopia (blue-blind)
#001E1A
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #031f09;
/* rgb */ color: rgb(3, 31, 9);
/* oklch */ color: oklch(21.1% 0.054 148.3);
Tailwind
colors: {
  custom: {
    50: '#475a4a',
    500: '#031f09',
    950: '#000000',
  },
}
SCSS
$custom: #031f09;
$custom-light: #475a4a;
$custom-dark: #000000;
JSON
{
  "hex": "#031f09",
  "rgb": {
    "r": 3,
    "g": 31,
    "b": 9
  },
  "hsl": {
    "h": 132.857,
    "s": 82.353,
    "l": 6.667
  },
  "oklch": {
    "l": 0.21104,
    "c": 0.05441,
    "h": 148.3
  },
  "luminance": 0.01019
}

Semantic roles & 50–950 ramp

primary
#031F09
secondary
#631B54
accent
#2FCEF9
background
#F4F5F4
surface
#E6E9E7
border
#C2C5C3
text
#000401
muted
#777977

Preview Lab

Preview with #031F09

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

Preview Lab → · Contrast checker → · Palette generator →

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