#012D02#012D02

#012D02 is a dark, moderate green. Relative luminance 0.019; OKLCH L 25.8% C 0.085 H 143.0°. Best body text is #FFFFFF at 15.24:1 contrast (WCAG AA passes).

Color values

HEX#012D02
RGBrgb(1, 45, 2)
HSLhsl(121, 96%, 9%)
HSVhsv(121, 98%, 18%)
CMYKcmyk(97.8%, 0%, 95.6%, 82.4%)
CIE-LABlab(14.89, -24.98, 20.36)
CIE-LCHlch(14.89, 32.22, 140.82°)
OKLaboklab(25.82% -0.0677 0.051)
OKLCHoklch(25.82% 0.085 143)
XYZxyz(0.9618, 1.8875, 0.3710)
Luminance0.0189 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#012D02 #2D012C
analogous
#162D01 #012D02 #012D18
triadic
#012D02 #02012D #2D0201
tetradic
#012D02 #01162D #2D012C #2D1801
square
#012D02 #01162D #2D012C #2D1801
split-complementary
#012D02 #18012D #2D0116
monochromatic
#011E01 #011E01 #012D02 #026905 #04A507

Accessibility & contrast

On white

15.24
#012D02 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#012D02 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #012D02
15.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##012D02#FFFFFF#000000##FFFFFF
##012D021.0015.241.3815.24
#FFFFFF15.241.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E2700
Deuteranopia (green-blind)
#292406
Tritanopia (blue-blind)
#002B25
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #012d02;
/* rgb */ color: rgb(1, 45, 2);
/* oklch */ color: oklch(25.8% 0.085 143.0);
Tailwind
colors: {
  custom: {
    50: '#4a6747',
    500: '#012d02',
    950: '#000000',
  },
}
SCSS
$custom: #012d02;
$custom-light: #4a6747;
$custom-dark: #000000;
JSON
{
  "hex": "#012d02",
  "rgb": {
    "r": 1,
    "g": 45,
    "b": 2
  },
  "hsl": {
    "h": 121.364,
    "s": 95.652,
    "l": 9.02
  },
  "oklch": {
    "l": 0.25815,
    "c": 0.08474,
    "h": 143
  },
  "luminance": 0.01888
}

Semantic roles & 50–950 ramp

primary
#012D02
secondary
#731771
accent
#29FAFF
background
#F4F6F4
surface
#E7EBE6
border
#C3C6C2
text
#010600
muted
#777A77

Preview Lab

Preview with #012D02

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

Preview Lab → · Contrast checker → · Palette generator →

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