#031F10#031F10

#031F10 is a very dark, muted green. Relative luminance 0.010; OKLCH L 21.3% C 0.046 H 156.8°. Best body text is #FFFFFF at 17.39:1 contrast (WCAG AA passes).

Color values

HEX#031F10
RGBrgb(3, 31, 16)
HSLhsl(148, 82%, 7%)
HSVhsv(148, 90%, 12%)
CMYKcmyk(90.3%, 0%, 48.4%, 87.8%)
CIE-LABlab(9.29, -14.62, 6.62)
CIE-LCHlch(9.29, 16.05, 155.64°)
OKLaboklab(21.27% -0.0421 0.0181)
OKLCHoklch(21.27% 0.046 156.8)
XYZxyz(0.6210, 1.0367, 0.6575)
Luminance0.0104 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#031F10 #1F0312
analogous
#041F03 #031F10 #031F1E
triadic
#031F10 #10031F #1F1003
tetradic
#031F10 #03041F #1F0312 #1F1E03
square
#031F10 #03041F #1F0312 #1F1E03
split-complementary
#031F10 #1E031F #1F0304
monochromatic
#031C0E #031C0E #031F10 #08572D #0E8F4A

Accessibility & contrast

On white

17.39
#031F10 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.21
#031F10 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #031F10
17.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##031F10#FFFFFF#000000##FFFFFF
##031F101.0017.391.2117.39
#FFFFFF17.391.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F1C0F
Deuteranopia (green-blind)
#1B1911
Tritanopia (blue-blind)
#001F1B
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #031f10;
/* rgb */ color: rgb(3, 31, 16);
/* oklch */ color: oklch(21.3% 0.046 156.8);
Tailwind
colors: {
  custom: {
    50: '#475a4e',
    500: '#031f10',
    950: '#000000',
  },
}
SCSS
$custom: #031f10;
$custom-light: #475a4e;
$custom-dark: #000000;
JSON
{
  "hex": "#031f10",
  "rgb": {
    "r": 3,
    "g": 31,
    "b": 16
  },
  "hsl": {
    "h": 147.857,
    "s": 82.353,
    "l": 6.667
  },
  "oklch": {
    "l": 0.2127,
    "c": 0.04579,
    "h": 156.8
  },
  "luminance": 0.01037
}

Semantic roles & 50–950 ramp

primary
#031F10
secondary
#631B41
accent
#2F9BF9
background
#F4F5F4
surface
#E6E9E7
border
#C2C5C3
text
#000401
muted
#777977

Preview Lab

Preview with #031F10

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

Preview Lab → · Contrast checker → · Palette generator →

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