#042401#042401

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

Color values

HEX#042401
RGBrgb(4, 36, 1)
HSLhsl(115, 95%, 7%)
HSVhsv(115, 97%, 14%)
CMYKcmyk(88.9%, 0%, 97.2%, 85.9%)
CIE-LABlab(11.20, -20.17, 15.86)
CIE-LCHlch(11.20, 25.66, 141.82°)
OKLaboklab(22.78% -0.0563 0.0456)
OKLCHoklch(22.78% 0.072 141)
XYZxyz(0.6864, 1.2897, 0.2415)
Luminance0.0129 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#042401 #210124
analogous
#162401 #042401 #012410
triadic
#042401 #010424 #240104
tetradic
#042401 #011624 #210124 #241001
square
#042401 #011624 #210124 #241001
split-complementary
#042401 #100124 #240116
monochromatic
#031E01 #031E01 #042401 #0B6003 #119B04

Accessibility & contrast

On white

16.69
#042401 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.26
#042401 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #042401
16.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##042401#FFFFFF#000000##FFFFFF
##0424011.0016.691.2616.69
#FFFFFF16.691.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#251F00
Deuteranopia (green-blind)
#211D03
Tritanopia (blue-blind)
#00221D
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #042401;
/* rgb */ color: rgb(4, 36, 1);
/* oklch */ color: oklch(22.8% 0.072 141.0);
Tailwind
colors: {
  custom: {
    50: '#485f47',
    500: '#042401',
    950: '#000000',
  },
}
SCSS
$custom: #042401;
$custom-light: #485f47;
$custom-dark: #000000;
JSON
{
  "hex": "#042401",
  "rgb": {
    "r": 4,
    "g": 36,
    "b": 1
  },
  "hsl": {
    "h": 114.857,
    "s": 94.595,
    "l": 7.255
  },
  "oklch": {
    "l": 0.22779,
    "c": 0.07245,
    "h": 141
  },
  "luminance": 0.0129
}

Semantic roles & 50–950 ramp

primary
#042401
secondary
#64166B
accent
#29FFED
background
#F4F5F3
surface
#E6E9E5
border
#C2C5C1
text
#010400
muted
#777977

Preview Lab

Preview with #042401

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

Preview Lab → · Contrast checker → · Palette generator →

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