#031A0C#031A0C

#031A0C is a very dark, muted green. Relative luminance 0.008; OKLCH L 19.4% C 0.042 H 154.9°. Best body text is #FFFFFF at 18.15:1 contrast (WCAG AA passes).

Color values

HEX#031A0C
RGBrgb(3, 26, 12)
HSLhsl(143, 79%, 6%)
HSVhsv(143, 88%, 10%)
CMYKcmyk(88.5%, 0%, 53.8%, 89.8%)
CIE-LABlab(7.09, -11.16, 5.44)
CIE-LCHlch(7.09, 12.41, 154.03°)
OKLaboklab(19.39% -0.0378 0.0177)
OKLCHoklch(19.39% 0.042 154.9)
XYZxyz(0.4733, 0.7846, 0.4743)
Luminance0.0078 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#031A0C #1A0311
analogous
#051A03 #031A0C #031A17
triadic
#031A0C #0C031A #1A0C03
tetradic
#031A0C #03051A #1A0311 #1A1703
square
#031A0C #03051A #1A0311 #1A1703
split-complementary
#031A0C #17031A #1A0305
monochromatic
#031B0D #031B0D #031B0D #095125 #10883F

Accessibility & contrast

On white

18.15
#031A0C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.16
#031A0C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #031A0C
18.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##031A0C#FFFFFF#000000##FFFFFF
##031A0C1.0018.151.1618.15
#FFFFFF18.151.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A170B
Deuteranopia (green-blind)
#17150D
Tritanopia (blue-blind)
#001A16
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #031a0c;
/* rgb */ color: rgb(3, 26, 12);
/* oklch */ color: oklch(19.4% 0.042 154.9);
Tailwind
colors: {
  custom: {
    50: '#47564c',
    500: '#031a0c',
    950: '#000000',
  },
}
SCSS
$custom: #031a0c;
$custom-light: #47564c;
$custom-dark: #000000;
JSON
{
  "hex": "#031a0c",
  "rgb": {
    "r": 3,
    "g": 26,
    "b": 12
  },
  "hsl": {
    "h": 143.478,
    "s": 79.31,
    "l": 5.686
  },
  "oklch": {
    "l": 0.19392,
    "c": 0.04173,
    "h": 154.9
  },
  "luminance": 0.00785
}

Semantic roles & 50–950 ramp

primary
#031A0C
secondary
#5E1B44
accent
#32A9F6
background
#F4F5F4
surface
#E6E9E7
border
#C2C5C3
text
#000301
muted
#777877

Preview Lab

Preview with #031A0C

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

Preview Lab → · Contrast checker → · Palette generator →

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