#031C08#031C08

#031C08 is a very dark, muted green. Relative luminance 0.009; OKLCH L 20.0% C 0.051 H 148.3°. Best body text is #FFFFFF at 17.90:1 contrast (WCAG AA passes).

Color values

HEX#031C08
RGBrgb(3, 28, 8)
HSLhsl(132, 81%, 6%)
HSVhsv(132, 89%, 11%)
CMYKcmyk(89.3%, 0%, 71.4%, 89%)
CIE-LABlab(7.83, -13.43, 8.20)
CIE-LCHlch(7.83, 15.73, 148.58°)
OKLaboklab(20.01% -0.043 0.0266)
OKLCHoklch(20.01% 0.051 148.3)
XYZxyz(0.4966, 0.8673, 0.3709)
Luminance0.0087 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#031C08 #1C0317
analogous
#0A1C03 #031C08 #031C14
triadic
#031C08 #08031C #1C0803
tetradic
#031C08 #030A1C #1C0317 #1C1403
square
#031C08 #030A1C #1C0317 #1C1403
split-complementary
#031C08 #14031C #1C030A
monochromatic
#031C08 #031C08 #031C08 #095318 #0F8B28

Accessibility & contrast

On white

17.90
#031C08 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #031C08
17.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##031C08#FFFFFF#000000##FFFFFF
##031C081.0017.901.1717.90
#FFFFFF17.901.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C1907
Deuteranopia (green-blind)
#191609
Tritanopia (blue-blind)
#001B17
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #031c08;
/* rgb */ color: rgb(3, 28, 8);
/* oklch */ color: oklch(20.0% 0.051 148.3);
Tailwind
colors: {
  custom: {
    50: '#47584a',
    500: '#031c08',
    950: '#000000',
  },
}
SCSS
$custom: #031c08;
$custom-light: #47584a;
$custom-dark: #000000;
JSON
{
  "hex": "#031c08",
  "rgb": {
    "r": 3,
    "g": 28,
    "b": 8
  },
  "hsl": {
    "h": 132,
    "s": 80.645,
    "l": 6.078
  },
  "oklch": {
    "l": 0.2001,
    "c": 0.05056,
    "h": 148.3
  },
  "luminance": 0.00867
}

Semantic roles & 50–950 ramp

primary
#031C08
secondary
#601B52
accent
#31CFF7
background
#F4F5F4
surface
#E6E9E7
border
#C2C5C3
text
#000301
muted
#777877

Preview Lab

Preview with #031C08

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

Preview Lab → · Contrast checker → · Palette generator →

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