#031C02#031C02

#031C02 is a very dark, moderate green. Relative luminance 0.009; OKLCH L 19.9% C 0.060 H 142.0°. Best body text is #FFFFFF at 17.94:1 contrast (WCAG AA passes).

Color values

HEX#031C02
RGBrgb(3, 28, 2)
HSLhsl(118, 87%, 6%)
HSVhsv(118, 93%, 11%)
CMYKcmyk(89.3%, 0%, 92.9%, 89%)
CIE-LABlab(7.72, -14.26, 10.47)
CIE-LCHlch(7.72, 17.70, 143.71°)
OKLaboklab(19.87% -0.0474 0.037)
OKLCHoklch(19.87% 0.06 142)
XYZxyz(0.4637, 0.8542, 0.1979)
Luminance0.0085 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#031C02 #1B021C
analogous
#101C02 #031C02 #021C0E
triadic
#031C02 #02031C #1C0203
tetradic
#031C02 #02101C #1B021C #1C0E02
square
#031C02 #02101C #1B021C #1C0E02
split-complementary
#031C02 #0E021C #1C0210
monochromatic
#031D02 #031D02 #031D02 #095506 #0F8E0A

Accessibility & contrast

On white

17.94
#031C02 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #031C02
17.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##031C02#FFFFFF#000000##FFFFFF
##031C021.0017.941.1717.94
#FFFFFF17.941.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D1800
Deuteranopia (green-blind)
#1A1604
Tritanopia (blue-blind)
#001B16
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #031c02;
/* rgb */ color: rgb(3, 28, 2);
/* oklch */ color: oklch(19.9% 0.060 142.0);
Tailwind
colors: {
  custom: {
    50: '#475847',
    500: '#031c02',
    950: '#000000',
  },
}
SCSS
$custom: #031c02;
$custom-light: #475847;
$custom-dark: #000000;
JSON
{
  "hex": "#031c02",
  "rgb": {
    "r": 3,
    "g": 28,
    "b": 2
  },
  "hsl": {
    "h": 117.692,
    "s": 86.667,
    "l": 5.882
  },
  "oklch": {
    "l": 0.19871,
    "c": 0.06014,
    "h": 142
  },
  "luminance": 0.00854
}

Semantic roles & 50–950 ramp

primary
#031C02
secondary
#5F1862
accent
#2BFDF5
background
#F4F5F4
surface
#E6E9E6
border
#C2C5C2
text
#000300
muted
#777877

Preview Lab

Preview with #031C02

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

Preview Lab → · Contrast checker → · Palette generator →

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