#042C05#042C05

#042C05 is a dark, moderate green. Relative luminance 0.018; OKLCH L 25.6% C 0.078 H 143.3°. Best body text is #FFFFFF at 15.36:1 contrast (WCAG AA passes).

Color values

HEX#042C05
RGBrgb(4, 44, 5)
HSLhsl(122, 83%, 9%)
HSVhsv(122, 91%, 17%)
CMYKcmyk(90.9%, 0%, 88.6%, 82.7%)
CIE-LABlab(14.61, -23.20, 18.80)
CIE-LCHlch(14.61, 29.86, 140.97°)
OKLaboklab(25.63% -0.0629 0.0469)
OKLCHoklch(25.63% 0.078 143.3)
XYZxyz(0.9781, 1.8380, 0.4468)
Luminance0.0184 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#042C05 #2C042B
analogous
#172C04 #042C05 #042C19
triadic
#042C05 #05042C #2C0504
tetradic
#042C05 #04172C #2C042B #2C1904
square
#042C05 #04172C #2C042B #2C1904
split-complementary
#042C05 #19042C #2C0417
monochromatic
#031C03 #031C03 #042C05 #09640B #0E9C12

Accessibility & contrast

On white

15.36
#042C05 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #042C05
15.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##042C05#FFFFFF#000000##FFFFFF
##042C051.0015.361.3715.36
#FFFFFF15.361.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D2701
Deuteranopia (green-blind)
#292408
Tritanopia (blue-blind)
#002A24
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #042c05;
/* rgb */ color: rgb(4, 44, 5);
/* oklch */ color: oklch(25.6% 0.078 143.3);
Tailwind
colors: {
  custom: {
    50: '#4b6649',
    500: '#042c05',
    950: '#000000',
  },
}
SCSS
$custom: #042c05;
$custom-light: #4b6649;
$custom-dark: #000000;
JSON
{
  "hex": "#042c05",
  "rgb": {
    "r": 4,
    "g": 44,
    "b": 5
  },
  "hsl": {
    "h": 121.5,
    "s": 83.333,
    "l": 9.412
  },
  "oklch": {
    "l": 0.25631,
    "c": 0.07847,
    "h": 143.3
  },
  "luminance": 0.01838
}

Semantic roles & 50–950 ramp

primary
#042C05
secondary
#6F1D6D
accent
#2EF5FA
background
#F4F6F4
surface
#E7EBE6
border
#C3C6C2
text
#010601
muted
#777A77

Preview Lab

Preview with #042C05

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

Preview Lab → · Contrast checker → · Palette generator →

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