#042710#042710

#042710 is a very dark, muted green. Relative luminance 0.015; OKLCH L 24.1% C 0.059 H 151.0°. Best body text is #FFFFFF at 16.12:1 contrast (WCAG AA passes).

Color values

HEX#042710
RGBrgb(4, 39, 16)
HSLhsl(141, 81%, 8%)
HSVhsv(141, 90%, 15%)
CMYKcmyk(89.7%, 0%, 59%, 84.7%)
CIE-LABlab(12.70, -19.15, 11.36)
CIE-LCHlch(12.70, 22.26, 149.32°)
OKLaboklab(24.09% -0.0515 0.0285)
OKLCHoklch(24.09% 0.059 151)
XYZxyz(0.8690, 1.5142, 0.7366)
Luminance0.0151 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#042710 #27041B
analogous
#092704 #042710 #042721
triadic
#042710 #100427 #271004
tetradic
#042710 #040927 #27041B #272104
square
#042710 #040927 #27041B #272104
split-complementary
#042710 #210427 #270409
monochromatic
#031C0B #031C0B #042710 #0A5F27 #0F963E

Accessibility & contrast

On white

16.12
#042710 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #042710
16.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##042710#FFFFFF#000000##FFFFFF
##0427101.0016.121.3016.12
#FFFFFF16.121.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#27230E
Deuteranopia (green-blind)
#232012
Tritanopia (blue-blind)
#002622
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #042710;
/* rgb */ color: rgb(4, 39, 16);
/* oklch */ color: oklch(24.1% 0.059 151.0);
Tailwind
colors: {
  custom: {
    50: '#49614e',
    500: '#042710',
    950: '#000000',
  },
}
SCSS
$custom: #042710;
$custom-light: #49614e;
$custom-dark: #000000;
JSON
{
  "hex": "#042710",
  "rgb": {
    "r": 4,
    "g": 39,
    "b": 16
  },
  "hsl": {
    "h": 140.571,
    "s": 81.395,
    "l": 8.431
  },
  "oklch": {
    "l": 0.24093,
    "c": 0.05887,
    "h": 151
  },
  "luminance": 0.01514
}

Semantic roles & 50–950 ramp

primary
#042710
secondary
#6A1D4F
accent
#30B3F8
background
#F4F5F4
surface
#E7EAE7
border
#C3C6C3
text
#010501
muted
#777977

Preview Lab

Preview with #042710

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

Preview Lab → · Contrast checker → · Palette generator →

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