#031B02#031B02

#031B02 is a very dark, muted green. Relative luminance 0.008; OKLCH L 19.5% C 0.059 H 142.0°. Best body text is #FFFFFF at 18.08:1 contrast (WCAG AA passes).

Color values

HEX#031B02
RGBrgb(3, 27, 2)
HSLhsl(118, 86%, 6%)
HSVhsv(118, 93%, 11%)
CMYKcmyk(88.9%, 0%, 92.6%, 89.4%)
CIE-LABlab(7.29, -13.40, 9.86)
CIE-LCHlch(7.29, 16.64, 143.66°)
OKLaboklab(19.51% -0.0462 0.0361)
OKLCHoklch(19.51% 0.059 142)
XYZxyz(0.4404, 0.8076, 0.1901)
Luminance0.0081 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#031B02 #1A021B
analogous
#0F1B02 #031B02 #021B0D
triadic
#031B02 #02031B #1B0203
tetradic
#031B02 #020F1B #1A021B #1B0D02
square
#031B02 #020F1B #1A021B #1B0D02
split-complementary
#031B02 #0D021B #1B020F
monochromatic
#031C02 #031C02 #031C02 #095406 #108D0A

Accessibility & contrast

On white

18.08
#031B02 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #031B02
18.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##031B02#FFFFFF#000000##FFFFFF
##031B021.0018.081.1618.08
#FFFFFF18.081.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.081.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #031b02;
/* rgb */ color: rgb(3, 27, 2);
/* oklch */ color: oklch(19.5% 0.059 142.0);
Tailwind
colors: {
  custom: {
    50: '#475747',
    500: '#031b02',
    950: '#000000',
  },
}
SCSS
$custom: #031b02;
$custom-light: #475747;
$custom-dark: #000000;
JSON
{
  "hex": "#031b02",
  "rgb": {
    "r": 3,
    "g": 27,
    "b": 2
  },
  "hsl": {
    "h": 117.6,
    "s": 86.207,
    "l": 5.686
  },
  "oklch": {
    "l": 0.19506,
    "c": 0.05863,
    "h": 142
  },
  "luminance": 0.00808
}

Semantic roles & 50–950 ramp

primary
#031B02
secondary
#5E1861
accent
#2BFCF4
background
#F4F5F4
surface
#E6E9E6
border
#C2C5C2
text
#000300
muted
#777877

Preview Lab

Preview with #031B02

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

Preview Lab → · Contrast checker → · Palette generator →

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