#042F13#042F13

#042F13 is a dark, moderate green. Relative luminance 0.021; OKLCH L 26.9% C 0.068 H 150.4°. Best body text is #FFFFFF at 14.78:1 contrast (WCAG AA passes).

Color values

HEX#042F13
RGBrgb(4, 47, 19)
HSLhsl(141, 84%, 10%)
HSVhsv(141, 91%, 18%)
CMYKcmyk(91.5%, 0%, 59.6%, 81.6%)
CIE-LABlab(16.03, -22.16, 13.91)
CIE-LCHlch(16.03, 26.17, 147.89°)
OKLaboklab(26.87% -0.0595 0.0338)
OKLCHoklch(26.87% 0.068 150.4)
XYZxyz(1.1840, 2.1057, 0.9600)
Luminance0.0211 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#042F13 #2F0420
analogous
#0B2F04 #042F13 #042F28
triadic
#042F13 #13042F #2F1304
tetradic
#042F13 #040B2F #2F0420 #2F2804
square
#042F13 #040B2F #2F0420 #2F2804
split-complementary
#042F13 #28042F #2F040B
monochromatic
#021C0B #021C0B #042F13 #09672A #0EA041

Accessibility & contrast

On white

14.78
#042F13 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#042F13 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #042F13
14.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##042F13#FFFFFF#000000##FFFFFF
##042F131.0014.781.4214.78
#FFFFFF14.781.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F2A11
Deuteranopia (green-blind)
#2A2615
Tritanopia (blue-blind)
#002E28
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #042f13;
/* rgb */ color: rgb(4, 47, 19);
/* oklch */ color: oklch(26.9% 0.068 150.4);
Tailwind
colors: {
  custom: {
    50: '#4c6851',
    500: '#042f13',
    950: '#000000',
  },
}
SCSS
$custom: #042f13;
$custom-light: #4c6851;
$custom-dark: #000000;
JSON
{
  "hex": "#042f13",
  "rgb": {
    "r": 4,
    "g": 47,
    "b": 19
  },
  "hsl": {
    "h": 140.93,
    "s": 84.314,
    "l": 10
  },
  "oklch": {
    "l": 0.2687,
    "c": 0.06847,
    "h": 150.4
  },
  "luminance": 0.02106
}

Semantic roles & 50–950 ramp

primary
#042F13
secondary
#721D54
accent
#2DB3FB
background
#F4F6F4
surface
#E7EBE7
border
#C3C6C3
text
#010602
muted
#777A78

Preview Lab

Preview with #042F13

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

Preview Lab → · Contrast checker → · Palette generator →

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