#041A02#041A02

#041A02 is a very dark, muted green. Relative luminance 0.008; OKLCH L 19.2% C 0.056 H 141.0°. Best body text is #FFFFFF at 18.20:1 contrast (WCAG AA passes).

Color values

HEX#041A02
RGBrgb(4, 26, 2)
HSLhsl(115, 86%, 5%)
HSVhsv(115, 92%, 10%)
CMYKcmyk(84.6%, 0%, 92.3%, 89.8%)
CIE-LABlab(6.95, -12.31, 9.35)
CIE-LCHlch(6.95, 15.46, 142.76°)
OKLaboklab(19.21% -0.0437 0.0354)
OKLCHoklch(19.21% 0.056 141)
XYZxyz(0.4304, 0.7689, 0.1832)
Luminance0.0077 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#041A02 #18021A
analogous
#101A02 #041A02 #021A0C
triadic
#041A02 #02041A #1A0204
tetradic
#041A02 #02101A #18021A #1A0C02
square
#041A02 #02101A #18021A #1A0C02
split-complementary
#041A02 #0C021A #1A0210
monochromatic
#041C02 #041C02 #041C02 #0D5306 #158C0B

Accessibility & contrast

On white

18.20
#041A02 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.15
#041A02 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #041A02
18.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##041A02#FFFFFF#000000##FFFFFF
##041A021.0018.201.1518.20
#FFFFFF18.201.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B1700
Deuteranopia (green-blind)
#181503
Tritanopia (blue-blind)
#021915
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #041a02;
/* rgb */ color: rgb(4, 26, 2);
/* oklch */ color: oklch(19.2% 0.056 141.0);
Tailwind
colors: {
  custom: {
    50: '#485647',
    500: '#041a02',
    950: '#000000',
  },
}
SCSS
$custom: #041a02;
$custom-light: #485647;
$custom-dark: #000000;
JSON
{
  "hex": "#041a02",
  "rgb": {
    "r": 4,
    "g": 26,
    "b": 2
  },
  "hsl": {
    "h": 115,
    "s": 85.714,
    "l": 5.49
  },
  "oklch": {
    "l": 0.19211,
    "c": 0.05618,
    "h": 141
  },
  "luminance": 0.00769
}

Semantic roles & 50–950 ramp

primary
#041A02
secondary
#5A1860
accent
#2CFCEB
background
#F4F5F4
surface
#E6E9E6
border
#C2C5C2
text
#000300
muted
#777877

Preview Lab

Preview with #041A02

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

Preview Lab → · Contrast checker → · Palette generator →

#041A02 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva