#031B0A#031B0A

#031B0A is a very dark, muted green. Relative luminance 0.008; OKLCH L 19.7% C 0.046 H 151.2°. Best body text is #FFFFFF at 18.03:1 contrast (WCAG AA passes).

Color values

HEX#031B0A
RGBrgb(3, 27, 10)
HSLhsl(138, 80%, 6%)
HSVhsv(138, 89%, 11%)
CMYKcmyk(88.9%, 0%, 63%, 89.4%)
CIE-LABlab(7.45, -12.29, 6.83)
CIE-LCHlch(7.45, 14.06, 150.93°)
OKLaboklab(19.7% -0.0404 0.0222)
OKLCHoklch(19.7% 0.046 151.2)
XYZxyz(0.4842, 0.8251, 0.4208)
Luminance0.0083 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#031B0A #1B0314
analogous
#081B03 #031B0A #031B16
triadic
#031B0A #0A031B #1B0A03
tetradic
#031B0A #03081B #1B0314 #1B1603
square
#031B0A #03081B #1B0314 #1B1603
split-complementary
#031B0A #16031B #1B0308
monochromatic
#031C0A #031C0A #031C0A #09521E #0F8933

Accessibility & contrast

On white

18.03
#031B0A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.17
#031B0A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #031B0A
18.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##031B0A#FFFFFF#000000##FFFFFF
##031B0A1.0018.031.1718.03
#FFFFFF18.031.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF18.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B1809
Deuteranopia (green-blind)
#18160B
Tritanopia (blue-blind)
#001A17
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #031b0a;
/* rgb */ color: rgb(3, 27, 10);
/* oklch */ color: oklch(19.7% 0.046 151.2);
Tailwind
colors: {
  custom: {
    50: '#47574b',
    500: '#031b0a',
    950: '#000000',
  },
}
SCSS
$custom: #031b0a;
$custom-light: #47574b;
$custom-dark: #000000;
JSON
{
  "hex": "#031b0a",
  "rgb": {
    "r": 3,
    "g": 27,
    "b": 10
  },
  "hsl": {
    "h": 137.5,
    "s": 80,
    "l": 5.882
  },
  "oklch": {
    "l": 0.19698,
    "c": 0.04611,
    "h": 151.2
  },
  "luminance": 0.00825
}

Semantic roles & 50–950 ramp

primary
#031B0A
secondary
#5F1B4B
accent
#31BDF6
background
#F4F5F4
surface
#E6E9E7
border
#C2C5C3
text
#000301
muted
#777877

Preview Lab

Preview with #031B0A

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

Preview Lab → · Contrast checker → · Palette generator →

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