#031B00#031B00

#031B00 is a very dark, moderate green. Relative luminance 0.008; OKLCH L 19.5% C 0.063 H 140.0°. Best body text is #FFFFFF at 18.09:1 contrast (WCAG AA passes).

Color values

HEX#031B00
RGBrgb(3, 27, 0)
HSLhsl(113, 100%, 5%)
HSVhsv(113, 100%, 11%)
CMYKcmyk(88.9%, 0%, 100%, 89.4%)
CIE-LABlab(7.26, -13.68, 10.62)
CIE-LCHlch(7.26, 17.31, 142.19°)
OKLaboklab(19.46% -0.048 0.0403)
OKLCHoklch(19.46% 0.063 140)
XYZxyz(0.4295, 0.8032, 0.1324)
Luminance0.0080 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#031B00 #18001B
analogous
#101B00 #031B00 #001B0A
triadic
#031B00 #00031B #1B0003
tetradic
#031B00 #00101B #18001B #1B0A00
square
#031B00 #00101B #18001B #1B0A00
split-complementary
#031B00 #0A001B #1B0010
monochromatic
#031F00 #031F00 #031F00 #0A5800 #119500

Accessibility & contrast

On white

18.09
#031B00 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #031B00
18.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##031B00#FFFFFF#000000##FFFFFF
##031B001.0018.091.1618.09
#FFFFFF18.091.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C1700
Deuteranopia (green-blind)
#191502
Tritanopia (blue-blind)
#011A15
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #031b00;
/* rgb */ color: rgb(3, 27, 0);
/* oklch */ color: oklch(19.5% 0.063 140.0);
Tailwind
colors: {
  custom: {
    50: '#475746',
    500: '#031b00',
    950: '#000000',
  },
}
SCSS
$custom: #031b00;
$custom-light: #475746;
$custom-dark: #000000;
JSON
{
  "hex": "#031b00",
  "rgb": {
    "r": 3,
    "g": 27,
    "b": 0
  },
  "hsl": {
    "h": 113.333,
    "s": 100,
    "l": 5.294
  },
  "oklch": {
    "l": 0.19457,
    "c": 0.06265,
    "h": 140
  },
  "luminance": 0.00803
}

Semantic roles & 50–950 ramp

primary
#031B00
secondary
#5C1265
accent
#29FFE7
background
#F4F5F3
surface
#E6E9E5
border
#C2C5C1
text
#000300
muted
#777877

Preview Lab

Preview with #031B00

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

Preview Lab → · Contrast checker → · Palette generator →

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