#042601#042601

#042601 is a very dark, moderate green. Relative luminance 0.014; OKLCH L 23.5% C 0.075 H 141.2°. Best body text is #FFFFFF at 16.37:1 contrast (WCAG AA passes).

Color values

HEX#042601
RGBrgb(4, 38, 1)
HSLhsl(115, 95%, 8%)
HSVhsv(115, 97%, 15%)
CMYKcmyk(89.5%, 0%, 97.4%, 85.1%)
CIE-LABlab(12.05, -21.28, 17.03)
CIE-LCHlch(12.05, 27.25, 141.33°)
OKLaboklab(23.48% -0.0585 0.0471)
OKLCHoklch(23.48% 0.075 141.2)
XYZxyz(0.7486, 1.4141, 0.2622)
Luminance0.0141 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#042601 #230126
analogous
#162601 #042601 #012610
triadic
#042601 #010426 #260104
tetradic
#042601 #011626 #230126 #261001
square
#042601 #011626 #230126 #261001
split-complementary
#042601 #100126 #260116
monochromatic
#031E01 #031E01 #042601 #0A6203 #119D04

Accessibility & contrast

On white

16.37
#042601 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.28
#042601 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #042601
16.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##042601#FFFFFF#000000##FFFFFF
##0426011.0016.371.2816.37
#FFFFFF16.371.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#272100
Deuteranopia (green-blind)
#231F04
Tritanopia (blue-blind)
#00241F
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #042601;
/* rgb */ color: rgb(4, 38, 1);
/* oklch */ color: oklch(23.5% 0.075 141.2);
Tailwind
colors: {
  custom: {
    50: '#486147',
    500: '#042601',
    950: '#000000',
  },
}
SCSS
$custom: #042601;
$custom-light: #486147;
$custom-dark: #000000;
JSON
{
  "hex": "#042601",
  "rgb": {
    "r": 4,
    "g": 38,
    "b": 1
  },
  "hsl": {
    "h": 115.135,
    "s": 94.872,
    "l": 7.647
  },
  "oklch": {
    "l": 0.23484,
    "c": 0.07515,
    "h": 141.2
  },
  "luminance": 0.01414
}

Semantic roles & 50–950 ramp

primary
#042601
secondary
#66166D
accent
#29FFEE
background
#F4F5F4
surface
#E7E9E6
border
#C3C5C2
text
#010500
muted
#777977

Preview Lab

Preview with #042601

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

Preview Lab → · Contrast checker → · Palette generator →

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