#042B09#042B09

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

Color values

HEX#042B09
RGBrgb(4, 43, 9)
HSLhsl(128, 83%, 9%)
HSVhsv(128, 91%, 17%)
CMYKcmyk(90.7%, 0%, 79.1%, 83.1%)
CIE-LABlab(14.25, -22.18, 16.70)
CIE-LCHlch(14.25, 27.77, 143.02°)
OKLaboklab(25.34% -0.0598 0.0415)
OKLCHoklch(25.34% 0.073 145.2)
XYZxyz(0.9632, 1.7732, 0.5499)
Luminance0.0177 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#042B09 #2B0426
analogous
#132B04 #042B09 #042B1D
triadic
#042B09 #09042B #2B0904
tetradic
#042B09 #04132B #2B0426 #2B1D04
square
#042B09 #04132B #2B0426 #2B1D04
split-complementary
#042B09 #1D042B #2B0413
monochromatic
#031C06 #031C06 #042B09 #096315 #0E9B20

Accessibility & contrast

On white

15.50
#042B09 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.35
#042B09 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #042B09
15.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##042B09#FFFFFF#000000##FFFFFF
##042B091.0015.501.3515.50
#FFFFFF15.501.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.501.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #042b09;
/* rgb */ color: rgb(4, 43, 9);
/* oklch */ color: oklch(25.3% 0.073 145.2);
Tailwind
colors: {
  custom: {
    50: '#4a654b',
    500: '#042b09',
    950: '#000000',
  },
}
SCSS
$custom: #042b09;
$custom-light: #4a654b;
$custom-dark: #000000;
JSON
{
  "hex": "#042b09",
  "rgb": {
    "r": 4,
    "g": 43,
    "b": 9
  },
  "hsl": {
    "h": 127.692,
    "s": 82.979,
    "l": 9.216
  },
  "oklch": {
    "l": 0.25344,
    "c": 0.07285,
    "h": 145.2
  },
  "luminance": 0.01773
}

Semantic roles & 50–950 ramp

primary
#042B09
secondary
#6E1D63
accent
#2EDFF9
background
#F4F6F4
surface
#E7EBE7
border
#C3C6C3
text
#010501
muted
#777A77

Preview Lab

Preview with #042B09

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

Preview Lab → · Contrast checker → · Palette generator →

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