#042701#042701

#042701 is a very dark, moderate green. Relative luminance 0.015; OKLCH L 23.8% C 0.076 H 141.2°. Best body text is #FFFFFF at 16.21:1 contrast (WCAG AA passes).

Color values

HEX#042701
RGBrgb(4, 39, 1)
HSLhsl(115, 95%, 8%)
HSVhsv(115, 97%, 15%)
CMYKcmyk(89.7%, 0%, 97.4%, 84.7%)
CIE-LABlab(12.47, -21.77, 17.60)
CIE-LCHlch(12.47, 28.00, 141.05°)
OKLaboklab(23.84% -0.0596 0.0479)
OKLCHoklch(23.84% 0.076 141.2)
XYZxyz(0.7810, 1.4790, 0.2730)
Luminance0.0148 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#042701 #240127
analogous
#172701 #042701 #012711
triadic
#042701 #010427 #270104
tetradic
#042701 #011727 #240127 #271101
square
#042701 #011727 #240127 #271101
split-complementary
#042701 #110127 #270117
monochromatic
#031E01 #031E01 #042701 #0A6303 #109E04

Accessibility & contrast

On white

16.21
#042701 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.30
#042701 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #042701
16.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##042701#FFFFFF#000000##FFFFFF
##0427011.0016.211.3016.21
#FFFFFF16.211.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#282200
Deuteranopia (green-blind)
#241F04
Tritanopia (blue-blind)
#002520
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #042701;
/* rgb */ color: rgb(4, 39, 1);
/* oklch */ color: oklch(23.8% 0.076 141.2);
Tailwind
colors: {
  custom: {
    50: '#496247',
    500: '#042701',
    950: '#000000',
  },
}
SCSS
$custom: #042701;
$custom-light: #496247;
$custom-dark: #000000;
JSON
{
  "hex": "#042701",
  "rgb": {
    "r": 4,
    "g": 39,
    "b": 1
  },
  "hsl": {
    "h": 115.263,
    "s": 95,
    "l": 7.843
  },
  "oklch": {
    "l": 0.23835,
    "c": 0.07648,
    "h": 141.2
  },
  "luminance": 0.01479
}

Semantic roles & 50–950 ramp

primary
#042701
secondary
#67166E
accent
#29FFEE
background
#F4F5F4
surface
#E7EAE6
border
#C3C6C2
text
#010500
muted
#777977

Preview Lab

Preview with #042701

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

Preview Lab → · Contrast checker → · Palette generator →

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