#042501#042501

#042501 is a very dark, moderate green. Relative luminance 0.014; OKLCH L 23.1% C 0.074 H 141.1°. Best body text is #FFFFFF at 16.53:1 contrast (WCAG AA passes).

Color values

HEX#042501
RGBrgb(4, 37, 1)
HSLhsl(115, 95%, 7%)
HSVhsv(115, 97%, 15%)
CMYKcmyk(89.2%, 0%, 97.3%, 85.5%)
CIE-LABlab(11.63, -20.75, 16.45)
CIE-LCHlch(11.63, 26.48, 141.59°)
OKLaboklab(23.13% -0.0574 0.0463)
OKLCHoklch(23.13% 0.074 141.1)
XYZxyz(0.7171, 1.3511, 0.2517)
Luminance0.0135 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#042501 #220125
analogous
#162501 #042501 #012510
triadic
#042501 #010425 #250104
tetradic
#042501 #011625 #220125 #251001
square
#042501 #011625 #220125 #251001
split-complementary
#042501 #100125 #250116
monochromatic
#031E01 #031E01 #042501 #0A6103 #119C04

Accessibility & contrast

On white

16.53
#042501 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #042501
16.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##042501#FFFFFF#000000##FFFFFF
##0425011.0016.531.2716.53
#FFFFFF16.531.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#262000
Deuteranopia (green-blind)
#221E04
Tritanopia (blue-blind)
#00231E
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #042501;
/* rgb */ color: rgb(4, 37, 1);
/* oklch */ color: oklch(23.1% 0.074 141.1);
Tailwind
colors: {
  custom: {
    50: '#486047',
    500: '#042501',
    950: '#000000',
  },
}
SCSS
$custom: #042501;
$custom-light: #486047;
$custom-dark: #000000;
JSON
{
  "hex": "#042501",
  "rgb": {
    "r": 4,
    "g": 37,
    "b": 1
  },
  "hsl": {
    "h": 115,
    "s": 94.737,
    "l": 7.451
  },
  "oklch": {
    "l": 0.23132,
    "c": 0.0738,
    "h": 141.1
  },
  "luminance": 0.01351
}

Semantic roles & 50–950 ramp

primary
#042501
secondary
#65166C
accent
#29FFED
background
#F4F5F3
surface
#E7E9E5
border
#C3C5C1
text
#010500
muted
#777977

Preview Lab

Preview with #042501

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

Preview Lab → · Contrast checker → · Palette generator →

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