#042707#042707

#042707 is a very dark, moderate green. Relative luminance 0.015; OKLCH L 23.9% C 0.069 H 144.6°. Best body text is #FFFFFF at 16.17:1 contrast (WCAG AA passes).

Color values

HEX#042707
RGBrgb(4, 39, 7)
HSLhsl(125, 81%, 8%)
HSVhsv(125, 90%, 15%)
CMYKcmyk(89.7%, 0%, 82.1%, 84.7%)
CIE-LABlab(12.56, -20.79, 15.27)
CIE-LCHlch(12.56, 25.79, 143.70°)
OKLaboklab(23.93% -0.0562 0.04)
OKLCHoklch(23.93% 0.069 144.6)
XYZxyz(0.8139, 1.4921, 0.4461)
Luminance0.0149 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#042707 #270424
analogous
#122704 #042707 #042718
triadic
#042707 #070427 #270704
tetradic
#042707 #041227 #270424 #271804
square
#042707 #041227 #270424 #271804
split-complementary
#042707 #180427 #270412
monochromatic
#031C05 #031C05 #042707 #0A5F11 #0F961B

Accessibility & contrast

On white

16.17
#042707 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.30
#042707 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #042707
16.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##042707#FFFFFF#000000##FFFFFF
##0427071.0016.171.3016.17
#FFFFFF16.171.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#282204
Deuteranopia (green-blind)
#24200A
Tritanopia (blue-blind)
#002620
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #042707;
/* rgb */ color: rgb(4, 39, 7);
/* oklch */ color: oklch(23.9% 0.069 144.6);
Tailwind
colors: {
  custom: {
    50: '#49614a',
    500: '#042707',
    950: '#000000',
  },
}
SCSS
$custom: #042707;
$custom-light: #49614a;
$custom-dark: #000000;
JSON
{
  "hex": "#042707",
  "rgb": {
    "r": 4,
    "g": 39,
    "b": 7
  },
  "hsl": {
    "h": 125.143,
    "s": 81.395,
    "l": 8.431
  },
  "oklch": {
    "l": 0.23932,
    "c": 0.06896,
    "h": 144.6
  },
  "luminance": 0.01492
}

Semantic roles & 50–950 ramp

primary
#042707
secondary
#6A1D63
accent
#30E7F8
background
#F4F5F4
surface
#E7EAE7
border
#C3C6C3
text
#010501
muted
#777977

Preview Lab

Preview with #042707

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

Preview Lab → · Contrast checker → · Palette generator →

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