#042B01#042B01

#042B01 is a dark, moderate green. Relative luminance 0.018; OKLCH L 25.2% C 0.082 H 141.4°. Best body text is #FFFFFF at 15.54:1 contrast (WCAG AA passes).

Color values

HEX#042B01
RGBrgb(4, 43, 1)
HSLhsl(116, 95%, 9%)
HSVhsv(116, 98%, 17%)
CMYKcmyk(90.7%, 0%, 97.7%, 83.1%)
CIE-LABlab(14.15, -23.42, 19.83)
CIE-LCHlch(14.15, 30.68, 139.74°)
OKLaboklab(25.23% -0.0639 0.0509)
OKLCHoklch(25.23% 0.082 141.4)
XYZxyz(0.9194, 1.7556, 0.3191)
Luminance0.0176 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#042B01 #28012B
analogous
#192B01 #042B01 #012B13
triadic
#042B01 #01042B #2B0104
tetradic
#042B01 #01192B #28012B #2B1301
square
#042B01 #01192B #28012B #2B1301
split-complementary
#042B01 #13012B #2B0119
monochromatic
#031E01 #031E01 #042B01 #0A6702 #0FA304

Accessibility & contrast

On white

15.54
#042B01 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.35
#042B01 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #042B01
15.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##042B01#FFFFFF#000000##FFFFFF
##042B011.0015.541.3515.54
#FFFFFF15.541.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C2600
Deuteranopia (green-blind)
#282304
Tritanopia (blue-blind)
#002923
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #042b01;
/* rgb */ color: rgb(4, 43, 1);
/* oklch */ color: oklch(25.2% 0.082 141.4);
Tailwind
colors: {
  custom: {
    50: '#4a6547',
    500: '#042b01',
    950: '#000000',
  },
}
SCSS
$custom: #042b01;
$custom-light: #4a6547;
$custom-dark: #000000;
JSON
{
  "hex": "#042b01",
  "rgb": {
    "r": 4,
    "g": 43,
    "b": 1
  },
  "hsl": {
    "h": 115.714,
    "s": 95.455,
    "l": 8.627
  },
  "oklch": {
    "l": 0.25229,
    "c": 0.08171,
    "h": 141.4
  },
  "luminance": 0.01756
}

Semantic roles & 50–950 ramp

primary
#042B01
secondary
#6B1771
accent
#29FFF0
background
#F4F6F4
surface
#E7EBE6
border
#C3C6C2
text
#010500
muted
#777A77

Preview Lab

Preview with #042B01

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

Preview Lab → · Contrast checker → · Palette generator →

#042B01 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva