#042C0A#042C0A

#042C0A is a dark, moderate green. Relative luminance 0.018; OKLCH L 25.7% C 0.073 H 145.6°. Best body text is #FFFFFF at 15.33:1 contrast (WCAG AA passes).

Color values

HEX#042C0A
RGBrgb(4, 44, 10)
HSLhsl(129, 83%, 9%)
HSVhsv(129, 91%, 17%)
CMYKcmyk(90.9%, 0%, 77.3%, 82.7%)
CIE-LABlab(14.67, -22.45, 16.85)
CIE-LCHlch(14.67, 28.07, 143.12°)
OKLaboklab(25.7% -0.0605 0.0415)
OKLCHoklch(25.7% 0.073 145.6)
XYZxyz(1.0055, 1.8490, 0.5910)
Luminance0.0185 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#042C0A #2C0426
analogous
#122C04 #042C0A #042C1E
triadic
#042C0A #0A042C #2C0A04
tetradic
#042C0A #04122C #2C0426 #2C1E04
square
#042C0A #04122C #2C0426 #2C1E04
split-complementary
#042C0A #1E042C #2C0412
monochromatic
#031C06 #031C06 #042C0A #096417 #0E9C24

Accessibility & contrast

On white

15.33
#042C0A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#042C0A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #042C0A
15.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##042C0A#FFFFFF#000000##FFFFFF
##042C0A1.0015.331.3715.33
#FFFFFF15.331.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D2707
Deuteranopia (green-blind)
#28240D
Tritanopia (blue-blind)
#002B25
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #042c0a;
/* rgb */ color: rgb(4, 44, 10);
/* oklch */ color: oklch(25.7% 0.073 145.6);
Tailwind
colors: {
  custom: {
    50: '#4b664b',
    500: '#042c0a',
    950: '#000000',
  },
}
SCSS
$custom: #042c0a;
$custom-light: #4b664b;
$custom-dark: #000000;
JSON
{
  "hex": "#042c0a",
  "rgb": {
    "r": 4,
    "g": 44,
    "b": 10
  },
  "hsl": {
    "h": 129,
    "s": 83.333,
    "l": 9.412
  },
  "oklch": {
    "l": 0.257,
    "c": 0.07336,
    "h": 145.6
  },
  "luminance": 0.01849
}

Semantic roles & 50–950 ramp

primary
#042C0A
secondary
#6F1D62
accent
#2EDBFA
background
#F4F6F4
surface
#E7EBE7
border
#C3C6C3
text
#010601
muted
#777A77

Preview Lab

Preview with #042C0A

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

Preview Lab → · Contrast checker → · Palette generator →

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