#042B0B#042B0B

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

Color values

HEX#042B0B
RGBrgb(4, 43, 11)
HSLhsl(131, 83%, 9%)
HSVhsv(131, 91%, 17%)
CMYKcmyk(90.7%, 0%, 74.4%, 83.1%)
CIE-LABlab(14.27, -21.88, 15.91)
CIE-LCHlch(14.27, 27.05, 143.97°)
OKLaboklab(25.37% -0.0589 0.0394)
OKLCHoklch(25.37% 0.071 146.3)
XYZxyz(0.9743, 1.7776, 0.6083)
Luminance0.0178 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#042B0B #2B0424
analogous
#112B04 #042B0B #042B1F
triadic
#042B0B #0B042B #2B0B04
tetradic
#042B0B #04112B #2B0424 #2B1F04
square
#042B0B #04112B #2B0424 #2B1F04
split-complementary
#042B0B #1F042B #2B0411
monochromatic
#031C07 #031C07 #042B0B #096319 #0E9B28

Accessibility & contrast

On white

15.49
#042B0B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #042B0B
15.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##042B0B#FFFFFF#000000##FFFFFF
##042B0B1.0015.491.3615.49
#FFFFFF15.491.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.491.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #042b0b;
/* rgb */ color: rgb(4, 43, 11);
/* oklch */ color: oklch(25.4% 0.071 146.3);
Tailwind
colors: {
  custom: {
    50: '#4a654c',
    500: '#042b0b',
    950: '#000000',
  },
}
SCSS
$custom: #042b0b;
$custom-light: #4a654c;
$custom-dark: #000000;
JSON
{
  "hex": "#042b0b",
  "rgb": {
    "r": 4,
    "g": 43,
    "b": 11
  },
  "hsl": {
    "h": 130.769,
    "s": 82.979,
    "l": 9.216
  },
  "oklch": {
    "l": 0.25373,
    "c": 0.07086,
    "h": 146.3
  },
  "luminance": 0.01778
}

Semantic roles & 50–950 ramp

primary
#042B0B
secondary
#6E1D5F
accent
#2ED5F9
background
#F4F6F4
surface
#E7EBE7
border
#C3C6C3
text
#010501
muted
#777A77

Preview Lab

Preview with #042B0B

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

Preview Lab → · Contrast checker → · Palette generator →

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