#031F00#031F00

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

Color values

HEX#031F00
RGBrgb(3, 31, 0)
HSLhsl(114, 100%, 6%)
HSVhsv(114, 100%, 12%)
CMYKcmyk(90.3%, 0%, 100%, 87.8%)
CIE-LABlab(8.99, -17.12, 13.13)
CIE-LCHlch(8.99, 21.58, 142.52°)
OKLaboklab(20.92% -0.0525 0.0433)
OKLCHoklch(20.92% 0.068 140.5)
XYZxyz(0.5275, 0.9993, 0.1651)
Luminance0.0100 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#031F00 #1C001F
analogous
#121F00 #031F00 #001F0C
triadic
#031F00 #00031F #1F0003
tetradic
#031F00 #00121F #1C001F #1F0C00
square
#031F00 #00121F #1C001F #1F0C00
split-complementary
#031F00 #0C001F #1F0012
monochromatic
#031F00 #031F00 #031F00 #095C00 #0F9900

Accessibility & contrast

On white

17.50
#031F00 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #031F00
17.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##031F00#FFFFFF#000000##FFFFFF
##031F001.0017.501.2017.50
#FFFFFF17.501.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.501.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #031f00;
/* rgb */ color: rgb(3, 31, 0);
/* oklch */ color: oklch(20.9% 0.068 140.5);
Tailwind
colors: {
  custom: {
    50: '#475a46',
    500: '#031f00',
    950: '#000000',
  },
}
SCSS
$custom: #031f00;
$custom-light: #475a46;
$custom-dark: #000000;
JSON
{
  "hex": "#031f00",
  "rgb": {
    "r": 3,
    "g": 31,
    "b": 0
  },
  "hsl": {
    "h": 114.194,
    "s": 100,
    "l": 6.078
  },
  "oklch": {
    "l": 0.20916,
    "c": 0.06808,
    "h": 140.5
  },
  "luminance": 0.00999
}

Semantic roles & 50–950 ramp

primary
#031F00
secondary
#601268
accent
#29FFEA
background
#F4F5F3
surface
#E6E9E5
border
#C2C5C1
text
#000400
muted
#777977

Preview Lab

Preview with #031F00

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

Preview Lab → · Contrast checker → · Palette generator →

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