#041F03#041F03

#041F03 is a very dark, moderate green. Relative luminance 0.010; OKLCH L 21.0% C 0.062 H 142.2°. Best body text is #FFFFFF at 17.47:1 contrast (WCAG AA passes).

Color values

HEX#041F03
RGBrgb(4, 31, 3)
HSLhsl(118, 82%, 7%)
HSVhsv(118, 90%, 12%)
CMYKcmyk(87.1%, 0%, 90.3%, 87.8%)
CIE-LABlab(9.09, -16.40, 12.07)
CIE-LCHlch(9.09, 20.36, 143.64°)
OKLaboklab(21.04% -0.0491 0.0381)
OKLCHoklch(21.04% 0.062 142.2)
XYZxyz(0.5565, 1.0123, 0.2522)
Luminance0.0101 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#041F03 #1E031F
analogous
#121F03 #041F03 #031F10
triadic
#041F03 #03041F #1F0304
tetradic
#041F03 #03121F #1E031F #1F1003
square
#041F03 #03121F #1E031F #1F1003
split-complementary
#041F03 #10031F #1F0312
monochromatic
#041C03 #041C03 #041F03 #0B5708 #128F0E

Accessibility & contrast

On white

17.47
#041F03 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.20
#041F03 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #041F03
17.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##041F03#FFFFFF#000000##FFFFFF
##041F031.0017.471.2017.47
#FFFFFF17.471.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#201B01
Deuteranopia (green-blind)
#1D1905
Tritanopia (blue-blind)
#011E19
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #041f03;
/* rgb */ color: rgb(4, 31, 3);
/* oklch */ color: oklch(21.0% 0.062 142.2);
Tailwind
colors: {
  custom: {
    50: '#475a48',
    500: '#041f03',
    950: '#000000',
  },
}
SCSS
$custom: #041f03;
$custom-light: #475a48;
$custom-dark: #000000;
JSON
{
  "hex": "#041f03",
  "rgb": {
    "r": 4,
    "g": 31,
    "b": 3
  },
  "hsl": {
    "h": 117.857,
    "s": 82.353,
    "l": 6.667
  },
  "oklch": {
    "l": 0.21038,
    "c": 0.06215,
    "h": 142.2
  },
  "luminance": 0.01012
}

Semantic roles & 50–950 ramp

primary
#041F03
secondary
#611B63
accent
#2FF9F1
background
#F4F5F4
surface
#E6E9E6
border
#C2C5C2
text
#000400
muted
#777977

Preview Lab

Preview with #041F03

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

Preview Lab → · Contrast checker → · Palette generator →

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