#042201#042201

#042201 is a very dark, moderate green. Relative luminance 0.012; OKLCH L 22.1% C 0.070 H 140.9°. Best body text is #FFFFFF at 17.01:1 contrast (WCAG AA passes).

Color values

HEX#042201
RGBrgb(4, 34, 1)
HSLhsl(115, 94%, 7%)
HSVhsv(115, 97%, 13%)
CMYKcmyk(88.2%, 0%, 97.1%, 86.7%)
CIE-LABlab(10.35, -18.90, 14.67)
CIE-LCHlch(10.35, 23.93, 142.19°)
OKLaboklab(22.07% -0.0541 0.044)
OKLCHoklch(22.07% 0.07 140.9)
XYZxyz(0.6275, 1.1720, 0.2219)
Luminance0.0117 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#042201 #1F0122
analogous
#152201 #042201 #01220F
triadic
#042201 #010422 #220104
tetradic
#042201 #011522 #1F0122 #220F01
square
#042201 #011522 #1F0122 #220F01
split-complementary
#042201 #0F0122 #220115
monochromatic
#031E01 #031E01 #042201 #0B5D03 #129904

Accessibility & contrast

On white

17.01
#042201 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.23
#042201 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #042201
17.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##042201#FFFFFF#000000##FFFFFF
##0422011.0017.011.2317.01
#FFFFFF17.011.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#231E00
Deuteranopia (green-blind)
#201B03
Tritanopia (blue-blind)
#01211B
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #042201;
/* rgb */ color: rgb(4, 34, 1);
/* oklch */ color: oklch(22.1% 0.070 140.9);
Tailwind
colors: {
  custom: {
    50: '#475d47',
    500: '#042201',
    950: '#000000',
  },
}
SCSS
$custom: #042201;
$custom-light: #475d47;
$custom-dark: #000000;
JSON
{
  "hex": "#042201",
  "rgb": {
    "r": 4,
    "g": 34,
    "b": 1
  },
  "hsl": {
    "h": 114.545,
    "s": 94.286,
    "l": 6.863
  },
  "oklch": {
    "l": 0.22069,
    "c": 0.06971,
    "h": 140.9
  },
  "luminance": 0.01172
}

Semantic roles & 50–950 ramp

primary
#042201
secondary
#621669
accent
#29FFEC
background
#F4F5F3
surface
#E6E9E5
border
#C2C5C1
text
#000400
muted
#777977

Preview Lab

Preview with #042201

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

Preview Lab → · Contrast checker → · Palette generator →

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