#031802#031802

#031802 is a very dark, muted green. Relative luminance 0.007; OKLCH L 18.4% C 0.054 H 141.9°. Best body text is #FFFFFF at 18.50:1 contrast (WCAG AA passes).

Color values

HEX#031802
RGBrgb(3, 24, 2)
HSLhsl(117, 85%, 5%)
HSVhsv(117, 92%, 9%)
CMYKcmyk(87.5%, 0%, 91.7%, 90.6%)
CIE-LABlab(6.12, -10.99, 8.14)
CIE-LCHlch(6.12, 13.68, 143.49°)
OKLaboklab(18.4% -0.0424 0.0333)
OKLCHoklch(18.4% 0.054 141.9)
XYZxyz(0.3751, 0.6770, 0.1683)
Luminance0.0068 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#031802 #170218
analogous
#0E1802 #031802 #02180C
triadic
#031802 #020318 #180203
tetradic
#031802 #020E18 #170218 #180C02
square
#031802 #020E18 #170218 #180C02
split-complementary
#031802 #0C0218 #18020E
monochromatic
#041C02 #041C02 #041C02 #0A5007 #11890B

Accessibility & contrast

On white

18.50
#031802 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.14
#031802 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #031802
18.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##031802#FFFFFF#000000##FFFFFF
##0318021.0018.501.1418.50
#FFFFFF18.501.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#191501
Deuteranopia (green-blind)
#161303
Tritanopia (blue-blind)
#011713
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #031802;
/* rgb */ color: rgb(3, 24, 2);
/* oklch */ color: oklch(18.4% 0.054 141.9);
Tailwind
colors: {
  custom: {
    50: '#475447',
    500: '#031802',
    950: '#000000',
  },
}
SCSS
$custom: #031802;
$custom-light: #475447;
$custom-dark: #000000;
JSON
{
  "hex": "#031802",
  "rgb": {
    "r": 3,
    "g": 24,
    "b": 2
  },
  "hsl": {
    "h": 117.273,
    "s": 84.615,
    "l": 5.098
  },
  "oklch": {
    "l": 0.18404,
    "c": 0.05396,
    "h": 141.9
  },
  "luminance": 0.00677
}

Semantic roles & 50–950 ramp

primary
#031802
secondary
#5B185E
accent
#2DFBF2
background
#F4F4F4
surface
#E6E7E6
border
#C2C3C2
text
#000200
muted
#777877

Preview Lab

Preview with #031802

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

Preview Lab → · Contrast checker → · Palette generator →

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