#012C08#012C08

#012C08 is a dark, moderate green. Relative luminance 0.018; OKLCH L 25.6% C 0.077 H 145.8°. Best body text is #FFFFFF at 15.38:1 contrast (WCAG AA passes).

Color values

HEX#012C08
RGBrgb(1, 44, 8)
HSLhsl(130, 96%, 9%)
HSVhsv(130, 98%, 17%)
CMYKcmyk(97.7%, 0%, 81.8%, 82.7%)
CIE-LABlab(14.54, -23.68, 17.47)
CIE-LCHlch(14.54, 29.43, 143.58°)
OKLaboklab(25.55% -0.0637 0.0433)
OKLCHoklch(25.55% 0.077 145.8)
XYZxyz(0.9570, 1.8252, 0.5315)
Luminance0.0182 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#012C08 #2C0125
analogous
#102C01 #012C08 #012C1E
triadic
#012C08 #08012C #2C0801
tetradic
#012C08 #01102C #2C0125 #2C1E01
square
#012C08 #01102C #2C0125 #2C1E01
split-complementary
#012C08 #1E012C #2C0110
monochromatic
#011E05 #011E05 #012C08 #026813 #04A41E

Accessibility & contrast

On white

15.38
#012C08 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#012C08 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #012C08
15.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##012C08#FFFFFF#000000##FFFFFF
##012C081.0015.381.3715.38
#FFFFFF15.381.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D2704
Deuteranopia (green-blind)
#28230B
Tritanopia (blue-blind)
#002B25
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #012c08;
/* rgb */ color: rgb(1, 44, 8);
/* oklch */ color: oklch(25.6% 0.077 145.8);
Tailwind
colors: {
  custom: {
    50: '#49664a',
    500: '#012c08',
    950: '#000000',
  },
}
SCSS
$custom: #012c08;
$custom-light: #49664a;
$custom-dark: #000000;
JSON
{
  "hex": "#012c08",
  "rgb": {
    "r": 1,
    "g": 44,
    "b": 8
  },
  "hsl": {
    "h": 129.767,
    "s": 95.556,
    "l": 8.824
  },
  "oklch": {
    "l": 0.25552,
    "c": 0.07701,
    "h": 145.8
  },
  "luminance": 0.01825
}

Semantic roles & 50–950 ramp

primary
#012C08
secondary
#721763
accent
#29DCFF
background
#F4F6F4
surface
#E7EBE7
border
#C3C6C3
text
#010601
muted
#777A77

Preview Lab

Preview with #012C08

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

Preview Lab → · Contrast checker → · Palette generator →

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