#042C00#042C00

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

Color values

HEX#042C00
RGBrgb(4, 44, 0)
HSLhsl(115, 100%, 9%)
HSVhsv(115, 100%, 17%)
CMYKcmyk(90.9%, 0%, 100%, 82.7%)
CIE-LABlab(14.55, -23.96, 20.76)
CIE-LCHlch(14.55, 31.70, 139.09°)
OKLaboklab(25.56% -0.0655 0.0529)
OKLCHoklch(25.56% 0.084 141.1)
XYZxyz(0.9507, 1.8271, 0.3026)
Luminance0.0183 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#042C00 #28002C
analogous
#1A2C00 #042C00 #002C12
triadic
#042C00 #00042C #2C0004
tetradic
#042C00 #001A2C #28002C #2C1200
square
#042C00 #001A2C #28002C #2C1200
split-complementary
#042C00 #12002C #2C001A
monochromatic
#031F00 #031F00 #042C00 #0A6900 #0FA600

Accessibility & contrast

On white

15.38
#042C00 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #042C00
15.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##042C00#FFFFFF#000000##FFFFFF
##042C001.0015.381.3715.38
#FFFFFF15.381.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.381.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #042c00;
/* rgb */ color: rgb(4, 44, 0);
/* oklch */ color: oklch(25.6% 0.084 141.1);
Tailwind
colors: {
  custom: {
    50: '#4b6646',
    500: '#042c00',
    950: '#000000',
  },
}
SCSS
$custom: #042c00;
$custom-light: #4b6646;
$custom-dark: #000000;
JSON
{
  "hex": "#042c00",
  "rgb": {
    "r": 4,
    "g": 44,
    "b": 0
  },
  "hsl": {
    "h": 114.545,
    "s": 100,
    "l": 8.627
  },
  "oklch": {
    "l": 0.2556,
    "c": 0.0842,
    "h": 141.1
  },
  "luminance": 0.01827
}

Semantic roles & 50–950 ramp

primary
#042C00
secondary
#6B1473
accent
#29FFEC
background
#F4F6F3
surface
#E7EBE5
border
#C3C6C1
text
#010600
muted
#777A76

Preview Lab

Preview with #042C00

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

Preview Lab → · Contrast checker → · Palette generator →

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