#012504#012504

#012504 is a very dark, moderate green. Relative luminance 0.013; OKLCH L 23.0% C 0.072 H 144.4°. Best body text is #FFFFFF at 16.57:1 contrast (WCAG AA passes).

Color values

HEX#012504
RGBrgb(1, 37, 4)
HSLhsl(125, 95%, 7%)
HSVhsv(125, 97%, 15%)
CMYKcmyk(97.3%, 0%, 89.2%, 85.5%)
CIE-LABlab(11.54, -21.24, 15.08)
CIE-LCHlch(11.54, 26.05, 144.61°)
OKLaboklab(23.04% -0.0583 0.0417)
OKLCHoklch(23.04% 0.072 144.4)
XYZxyz(0.6959, 1.3383, 0.3365)
Luminance0.0134 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#012504 #250122
analogous
#102501 #012504 #012516
triadic
#012504 #040125 #250401
tetradic
#012504 #011025 #250122 #251601
square
#012504 #011025 #250122 #251601
split-complementary
#012504 #160125 #250110
monochromatic
#011E03 #011E03 #012504 #03610A #049C11

Accessibility & contrast

On white

16.57
#012504 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.27
#012504 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #012504
16.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##012504#FFFFFF#000000##FFFFFF
##0125041.0016.571.2716.57
#FFFFFF16.571.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#262001
Deuteranopia (green-blind)
#221D06
Tritanopia (blue-blind)
#00241E
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #012504;
/* rgb */ color: rgb(1, 37, 4);
/* oklch */ color: oklch(23.0% 0.072 144.4);
Tailwind
colors: {
  custom: {
    50: '#466048',
    500: '#012504',
    950: '#000000',
  },
}
SCSS
$custom: #012504;
$custom-light: #466048;
$custom-dark: #000000;
JSON
{
  "hex": "#012504",
  "rgb": {
    "r": 1,
    "g": 37,
    "b": 4
  },
  "hsl": {
    "h": 125,
    "s": 94.737,
    "l": 7.451
  },
  "oklch": {
    "l": 0.23035,
    "c": 0.07168,
    "h": 144.4
  },
  "luminance": 0.01338
}

Semantic roles & 50–950 ramp

primary
#012504
secondary
#6C1665
accent
#29EDFF
background
#F4F5F4
surface
#E6E9E6
border
#C2C5C2
text
#000500
muted
#777977

Preview Lab

Preview with #012504

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

Preview Lab → · Contrast checker → · Palette generator →

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