#031D02#031D02

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

Color values

HEX#031D02
RGBrgb(3, 29, 2)
HSLhsl(118, 87%, 6%)
HSVhsv(118, 93%, 11%)
CMYKcmyk(89.7%, 0%, 93.1%, 88.6%)
CIE-LABlab(8.15, -15.15, 11.11)
CIE-LCHlch(8.15, 18.78, 143.75°)
OKLaboklab(20.23% -0.0486 0.0379)
OKLCHoklch(20.23% 0.062 142)
XYZxyz(0.4878, 0.9024, 0.2059)
Luminance0.0090 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#031D02 #1C021D
analogous
#101D02 #031D02 #021D0E
triadic
#031D02 #02031D #1D0203
tetradic
#031D02 #02101D #1C021D #1D0E02
square
#031D02 #02101D #1C021D #1D0E02
split-complementary
#031D02 #0E021D #1D0210
monochromatic
#031D02 #031D02 #031D02 #095606 #0F900A

Accessibility & contrast

On white

17.79
#031D02 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.18
#031D02 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #031D02
17.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##031D02#FFFFFF#000000##FFFFFF
##031D021.0017.791.1817.79
#FFFFFF17.791.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E1900
Deuteranopia (green-blind)
#1B1704
Tritanopia (blue-blind)
#001C17
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #031d02;
/* rgb */ color: rgb(3, 29, 2);
/* oklch */ color: oklch(20.2% 0.062 142.0);
Tailwind
colors: {
  custom: {
    50: '#475847',
    500: '#031d02',
    950: '#000000',
  },
}
SCSS
$custom: #031d02;
$custom-light: #475847;
$custom-dark: #000000;
JSON
{
  "hex": "#031d02",
  "rgb": {
    "r": 3,
    "g": 29,
    "b": 2
  },
  "hsl": {
    "h": 117.778,
    "s": 87.097,
    "l": 6.078
  },
  "oklch": {
    "l": 0.20234,
    "c": 0.06164,
    "h": 142
  },
  "luminance": 0.00902
}

Semantic roles & 50–950 ramp

primary
#031D02
secondary
#601863
accent
#2BFDF5
background
#F4F5F4
surface
#E6E9E6
border
#C2C5C2
text
#000300
muted
#777877

Preview Lab

Preview with #031D02

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

Preview Lab → · Contrast checker → · Palette generator →

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