#042F19#042F19

#042F19 is a dark, moderate green. Relative luminance 0.021; OKLCH L 27.0% C 0.062 H 155.7°. Best body text is #FFFFFF at 14.73:1 contrast (WCAG AA passes).

Color values

HEX#042F19
RGBrgb(4, 47, 25)
HSLhsl(149, 84%, 10%)
HSVhsv(149, 91%, 18%)
CMYKcmyk(91.5%, 0%, 46.8%, 81.6%)
CIE-LABlab(16.15, -20.81, 10.13)
CIE-LCHlch(16.15, 23.15, 154.04°)
OKLaboklab(27.01% -0.0561 0.0253)
OKLCHoklch(27.01% 0.062 155.7)
XYZxyz(1.2419, 2.1289, 1.2650)
Luminance0.0213 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#042F19 #2F041A
analogous
#052F04 #042F19 #042F2E
triadic
#042F19 #19042F #2F1904
tetradic
#042F19 #04052F #2F041A #2F2E04
square
#042F19 #04052F #2F041A #2F2E04
split-complementary
#042F19 #2E042F #2F0405
monochromatic
#021C0F #021C0F #042F19 #096737 #0EA055

Accessibility & contrast

On white

14.73
#042F19 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#042F19 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #042F19
14.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##042F19#FFFFFF#000000##FFFFFF
##042F191.0014.731.4314.73
#FFFFFF14.731.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F2A18
Deuteranopia (green-blind)
#2A271A
Tritanopia (blue-blind)
#002E29
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #042f19;
/* rgb */ color: rgb(4, 47, 25);
/* oklch */ color: oklch(27.0% 0.062 155.7);
Tailwind
colors: {
  custom: {
    50: '#4c6855',
    500: '#042f19',
    950: '#000000',
  },
}
SCSS
$custom: #042f19;
$custom-light: #4c6855;
$custom-dark: #000000;
JSON
{
  "hex": "#042f19",
  "rgb": {
    "r": 4,
    "g": 47,
    "b": 25
  },
  "hsl": {
    "h": 149.302,
    "s": 84.314,
    "l": 10
  },
  "oklch": {
    "l": 0.27005,
    "c": 0.06155,
    "h": 155.7
  },
  "luminance": 0.02129
}

Semantic roles & 50–950 ramp

primary
#042F19
secondary
#721D48
accent
#2D96FB
background
#F4F6F5
surface
#E7EBE8
border
#C3C6C4
text
#010603
muted
#777A78

Preview Lab

Preview with #042F19

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

Preview Lab → · Contrast checker → · Palette generator →

#042F19 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva