#031502#031502

#031502 is a very dark, muted green. Relative luminance 0.006; OKLCH L 17.3% C 0.049 H 141.7°. Best body text is #FFFFFF at 18.88:1 contrast (WCAG AA passes).

Color values

HEX#031502
RGBrgb(3, 21, 2)
HSLhsl(117, 83%, 5%)
HSVhsv(117, 90%, 8%)
CMYKcmyk(85.7%, 0%, 90.5%, 91.8%)
CIE-LABlab(5.06, -8.83, 6.59)
CIE-LCHlch(5.06, 11.02, 143.25°)
OKLaboklab(17.29% -0.0385 0.0304)
OKLCHoklch(17.29% 0.049 141.7)
XYZxyz(0.3167, 0.5600, 0.1488)
Luminance0.0056 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#031502 #140215
analogous
#0D1502 #031502 #02150B
triadic
#031502 #020315 #150203
tetradic
#031502 #020D15 #140215 #150B02
square
#031502 #020D15 #140215 #150B02
split-complementary
#031502 #0B0215 #15020D
monochromatic
#041C03 #041C03 #041C03 #0B4D07 #13850D

Accessibility & contrast

On white

18.88
#031502 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.11
#031502 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #031502
18.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##031502#FFFFFF#000000##FFFFFF
##0315021.0018.881.1118.88
#FFFFFF18.881.0021.001.00
#0000001.1121.001.0021.00
##FFFFFF18.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#161201
Deuteranopia (green-blind)
#131003
Tritanopia (blue-blind)
#021410
Achromatopsia (no color)
#111111

Design tokens & code

CSS
--color: #031502;
/* rgb */ color: rgb(3, 21, 2);
/* oklch */ color: oklch(17.3% 0.049 141.7);
Tailwind
colors: {
  custom: {
    50: '#485247',
    500: '#031502',
    950: '#000000',
  },
}
SCSS
$custom: #031502;
$custom-light: #485247;
$custom-dark: #000000;
JSON
{
  "hex": "#031502",
  "rgb": {
    "r": 3,
    "g": 21,
    "b": 2
  },
  "hsl": {
    "h": 116.842,
    "s": 82.609,
    "l": 4.51
  },
  "oklch": {
    "l": 0.17291,
    "c": 0.04908,
    "h": 141.7
  },
  "luminance": 0.0056
}

Semantic roles & 50–950 ramp

primary
#031502
secondary
#57185B
accent
#2FF9EE
background
#F4F4F4
surface
#E6E7E6
border
#C2C3C2
text
#000200
muted
#777877

Preview Lab

Preview with #031502

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

Preview Lab → · Contrast checker → · Palette generator →

#031502 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva