#013218#013218

#013218 is a dark, moderate green. Relative luminance 0.024; OKLCH L 27.9% C 0.069 H 154.1°. Best body text is #FFFFFF at 14.28:1 contrast (WCAG AA passes).

Color values

HEX#013218
RGBrgb(1, 50, 24)
HSLhsl(148, 96%, 10%)
HSVhsv(148, 98%, 20%)
CMYKcmyk(98%, 0%, 52%, 80.4%)
CIE-LABlab(17.24, -23.16, 12.21)
CIE-LCHlch(17.24, 26.19, 152.20°)
OKLaboklab(27.88% -0.0622 0.0302)
OKLCHoklch(27.88% 0.069 154.1)
XYZxyz(1.3179, 2.3534, 1.2488)
Luminance0.0235 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#013218 #32011B
analogous
#033201 #013218 #013230
triadic
#013218 #180132 #321801
tetradic
#013218 #010332 #32011B #323001
square
#013218 #010332 #32011B #323001
split-complementary
#013218 #300132 #320103
monochromatic
#011E0E #011E0E #013218 #026E35 #03AA52

Accessibility & contrast

On white

14.28
#013218 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#013218 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #013218
14.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##013218#FFFFFF#000000##FFFFFF
##0132181.0014.281.4714.28
#FFFFFF14.281.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#322D16
Deuteranopia (green-blind)
#2C291A
Tritanopia (blue-blind)
#00312C
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #013218;
/* rgb */ color: rgb(1, 50, 24);
/* oklch */ color: oklch(27.9% 0.069 154.1);
Tailwind
colors: {
  custom: {
    50: '#4b6a55',
    500: '#013218',
    950: '#000000',
  },
}
SCSS
$custom: #013218;
$custom-light: #4b6a55;
$custom-dark: #000000;
JSON
{
  "hex": "#013218",
  "rgb": {
    "r": 1,
    "g": 50,
    "b": 24
  },
  "hsl": {
    "h": 148.163,
    "s": 96.078,
    "l": 10
  },
  "oklch": {
    "l": 0.27875,
    "c": 0.06911,
    "h": 154.1
  },
  "luminance": 0.02354
}

Semantic roles & 50–950 ramp

primary
#013218
secondary
#77174A
accent
#299AFF
background
#F4F6F4
surface
#E7EBE7
border
#C3C6C3
text
#010603
muted
#777A78

Preview Lab

Preview with #013218

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

Preview Lab → · Contrast checker → · Palette generator →

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