#042907#042907

#042907 is a very dark, moderate green. Relative luminance 0.016; OKLCH L 24.6% C 0.072 H 144.4°. Best body text is #FFFFFF at 15.84:1 contrast (WCAG AA passes).

Color values

HEX#042907
RGBrgb(4, 41, 7)
HSLhsl(125, 82%, 9%)
HSVhsv(125, 90%, 16%)
CMYKcmyk(90.2%, 0%, 82.9%, 83.9%)
CIE-LABlab(13.39, -21.65, 16.39)
CIE-LCHlch(13.39, 27.16, 142.88°)
OKLaboklab(24.63% -0.0585 0.0419)
OKLCHoklch(24.63% 0.072 144.4)
XYZxyz(0.8813, 1.6269, 0.4686)
Luminance0.0163 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#042907 #290426
analogous
#142904 #042907 #04291A
triadic
#042907 #070429 #290704
tetradic
#042907 #041429 #290426 #291A04
square
#042907 #041429 #290426 #291A04
split-complementary
#042907 #1A0429 #290414
monochromatic
#031C05 #031C05 #042907 #096111 #0F991A

Accessibility & contrast

On white

15.84
#042907 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.33
#042907 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #042907
15.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##042907#FFFFFF#000000##FFFFFF
##0429071.0015.841.3315.84
#FFFFFF15.841.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A2404
Deuteranopia (green-blind)
#26210A
Tritanopia (blue-blind)
#002822
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #042907;
/* rgb */ color: rgb(4, 41, 7);
/* oklch */ color: oklch(24.6% 0.072 144.4);
Tailwind
colors: {
  custom: {
    50: '#4a634a',
    500: '#042907',
    950: '#000000',
  },
}
SCSS
$custom: #042907;
$custom-light: #4a634a;
$custom-dark: #000000;
JSON
{
  "hex": "#042907",
  "rgb": {
    "r": 4,
    "g": 41,
    "b": 7
  },
  "hsl": {
    "h": 124.865,
    "s": 82.222,
    "l": 8.824
  },
  "oklch": {
    "l": 0.24625,
    "c": 0.07196,
    "h": 144.4
  },
  "luminance": 0.01627
}

Semantic roles & 50–950 ramp

primary
#042907
secondary
#6C1D65
accent
#2FE8F9
background
#F4F5F4
surface
#E7EAE7
border
#C3C6C3
text
#010501
muted
#777977

Preview Lab

Preview with #042907

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

Preview Lab → · Contrast checker → · Palette generator →

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