#041F08#041F08

#041F08 is a very dark, muted green. Relative luminance 0.010; OKLCH L 21.1% C 0.055 H 146.6°. Best body text is #FFFFFF at 17.43:1 contrast (WCAG AA passes).

Color values

HEX#041F08
RGBrgb(4, 31, 8)
HSLhsl(129, 77%, 7%)
HSVhsv(129, 87%, 12%)
CMYKcmyk(87.1%, 0%, 74.2%, 87.8%)
CIE-LABlab(9.18, -15.67, 10.16)
CIE-LCHlch(9.18, 18.68, 147.03°)
OKLaboklab(21.14% -0.0458 0.0302)
OKLCHoklch(21.14% 0.055 146.6)
XYZxyz(0.5838, 1.0233, 0.3964)
Luminance0.0102 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#041F08 #1F041B
analogous
#0E1F04 #041F08 #041F16
triadic
#041F08 #08041F #1F0804
tetradic
#041F08 #040E1F #1F041B #1F1604
square
#041F08 #040E1F #1F041B #1F1604
split-complementary
#041F08 #16041F #1F040E
monochromatic
#031B07 #031B07 #041F08 #0B5516 #128B24

Accessibility & contrast

On white

17.43
#041F08 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #041F08
17.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##041F08#FFFFFF#000000##FFFFFF
##041F081.0017.431.2017.43
#FFFFFF17.431.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#201B06
Deuteranopia (green-blind)
#1C190A
Tritanopia (blue-blind)
#001E1A
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #041f08;
/* rgb */ color: rgb(4, 31, 8);
/* oklch */ color: oklch(21.1% 0.055 146.6);
Tailwind
colors: {
  custom: {
    50: '#475a4a',
    500: '#041f08',
    950: '#000000',
  },
}
SCSS
$custom: #041f08;
$custom-light: #475a4a;
$custom-dark: #000000;
JSON
{
  "hex": "#041f08",
  "rgb": {
    "r": 4,
    "g": 31,
    "b": 8
  },
  "hsl": {
    "h": 128.889,
    "s": 77.143,
    "l": 6.863
  },
  "oklch": {
    "l": 0.21142,
    "c": 0.05488,
    "h": 146.6
  },
  "luminance": 0.01023
}

Semantic roles & 50–950 ramp

primary
#041F08
secondary
#621D57
accent
#34D7F4
background
#F4F5F4
surface
#E6E9E7
border
#C2C5C3
text
#000401
muted
#777977

Preview Lab

Preview with #041F08

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

Preview Lab → · Contrast checker → · Palette generator →

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