#031E02#031E02

#031E02 is a very dark, moderate green. Relative luminance 0.010; OKLCH L 20.6% C 0.063 H 142.1°. Best body text is #FFFFFF at 17.64:1 contrast (WCAG AA passes).

Color values

HEX#031E02
RGBrgb(3, 30, 2)
HSLhsl(118, 88%, 6%)
HSVhsv(118, 93%, 12%)
CMYKcmyk(90%, 0%, 93.3%, 88.2%)
CIE-LABlab(8.59, -16.01, 11.74)
CIE-LCHlch(8.59, 19.85, 143.74°)
OKLaboklab(20.6% -0.0498 0.0388)
OKLCHoklch(20.6% 0.063 142.1)
XYZxyz(0.5128, 0.9522, 0.2142)
Luminance0.0095 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#031E02 #1D021E
analogous
#111E02 #031E02 #021E0F
triadic
#031E02 #02031E #1E0203
tetradic
#031E02 #02111E #1D021E #1E0F02
square
#031E02 #02111E #1D021E #1E0F02
split-complementary
#031E02 #0F021E #1E0211
monochromatic
#031D02 #031D02 #031E02 #095706 #0E910A

Accessibility & contrast

On white

17.64
#031E02 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.19
#031E02 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #031E02
17.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##031E02#FFFFFF#000000##FFFFFF
##031E021.0017.641.1917.64
#FFFFFF17.641.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F1A00
Deuteranopia (green-blind)
#1C1804
Tritanopia (blue-blind)
#001D18
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #031e02;
/* rgb */ color: rgb(3, 30, 2);
/* oklch */ color: oklch(20.6% 0.063 142.1);
Tailwind
colors: {
  custom: {
    50: '#475947',
    500: '#031e02',
    950: '#000000',
  },
}
SCSS
$custom: #031e02;
$custom-light: #475947;
$custom-dark: #000000;
JSON
{
  "hex": "#031e02",
  "rgb": {
    "r": 3,
    "g": 30,
    "b": 2
  },
  "hsl": {
    "h": 117.857,
    "s": 87.5,
    "l": 6.275
  },
  "oklch": {
    "l": 0.20596,
    "c": 0.06312,
    "h": 142.1
  },
  "luminance": 0.00952
}

Semantic roles & 50–950 ramp

primary
#031E02
secondary
#611864
accent
#2AFEF6
background
#F4F5F4
surface
#E6E9E6
border
#C2C5C2
text
#000300
muted
#777877

Preview Lab

Preview with #031E02

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

Preview Lab → · Contrast checker → · Palette generator →

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