#042B0D#042B0D

#042B0D is a dark, moderate green. Relative luminance 0.018; OKLCH L 25.4% C 0.069 H 147.4°. Best body text is #FFFFFF at 15.48:1 contrast (WCAG AA passes).

Color values

HEX#042B0D
RGBrgb(4, 43, 13)
HSLhsl(134, 83%, 9%)
HSVhsv(134, 91%, 17%)
CMYKcmyk(90.7%, 0%, 69.8%, 83.1%)
CIE-LABlab(14.30, -21.55, 15.03)
CIE-LCHlch(14.30, 26.27, 145.09°)
OKLaboklab(25.41% -0.0579 0.037)
OKLCHoklch(25.41% 0.069 147.4)
XYZxyz(0.9865, 1.7825, 0.6728)
Luminance0.0178 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#042B0D #2B0422
analogous
#0F2B04 #042B0D #042B21
triadic
#042B0D #0D042B #2B0D04
tetradic
#042B0D #040F2B #2B0422 #2B2104
square
#042B0D #040F2B #2B0422 #2B2104
split-complementary
#042B0D #21042B #2B040F
monochromatic
#031C08 #031C08 #042B0D #09631E #0E9B2F

Accessibility & contrast

On white

15.48
#042B0D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.36
#042B0D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #042B0D
15.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##042B0D#FFFFFF#000000##FFFFFF
##042B0D1.0015.481.3615.48
#FFFFFF15.481.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C260A
Deuteranopia (green-blind)
#27230F
Tritanopia (blue-blind)
#002A24
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #042b0d;
/* rgb */ color: rgb(4, 43, 13);
/* oklch */ color: oklch(25.4% 0.069 147.4);
Tailwind
colors: {
  custom: {
    50: '#4b654d',
    500: '#042b0d',
    950: '#000000',
  },
}
SCSS
$custom: #042b0d;
$custom-light: #4b654d;
$custom-dark: #000000;
JSON
{
  "hex": "#042b0d",
  "rgb": {
    "r": 4,
    "g": 43,
    "b": 13
  },
  "hsl": {
    "h": 133.846,
    "s": 82.979,
    "l": 9.216
  },
  "oklch": {
    "l": 0.25405,
    "c": 0.06877,
    "h": 147.4
  },
  "luminance": 0.01783
}

Semantic roles & 50–950 ramp

primary
#042B0D
secondary
#6E1D5B
accent
#2ECBF9
background
#F4F6F4
surface
#E7EBE7
border
#C3C6C3
text
#010501
muted
#777A77

Preview Lab

Preview with #042B0D

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

Preview Lab → · Contrast checker → · Palette generator →

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