#042B0A#042B0A

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

Color values

HEX#042B0A
RGBrgb(4, 43, 10)
HSLhsl(129, 83%, 9%)
HSVhsv(129, 91%, 17%)
CMYKcmyk(90.7%, 0%, 76.7%, 83.1%)
CIE-LABlab(14.26, -22.03, 16.31)
CIE-LCHlch(14.26, 27.41, 143.48°)
OKLaboklab(25.36% -0.0594 0.0405)
OKLCHoklch(25.36% 0.072 145.7)
XYZxyz(0.9687, 1.7754, 0.5787)
Luminance0.0177 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#042B0A #2B0425
analogous
#122B04 #042B0A #042B1E
triadic
#042B0A #0A042B #2B0A04
tetradic
#042B0A #04122B #2B0425 #2B1E04
square
#042B0A #04122B #2B0425 #2B1E04
split-complementary
#042B0A #1E042B #2B0412
monochromatic
#031C07 #031C07 #042B0A #096317 #0E9B24

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##042B0A#FFFFFF#000000##FFFFFF
##042B0A1.0015.501.3615.50
#FFFFFF15.501.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.501.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #042b0a;
/* rgb */ color: rgb(4, 43, 10);
/* oklch */ color: oklch(25.4% 0.072 145.7);
Tailwind
colors: {
  custom: {
    50: '#4a654b',
    500: '#042b0a',
    950: '#000000',
  },
}
SCSS
$custom: #042b0a;
$custom-light: #4a654b;
$custom-dark: #000000;
JSON
{
  "hex": "#042b0a",
  "rgb": {
    "r": 4,
    "g": 43,
    "b": 10
  },
  "hsl": {
    "h": 129.231,
    "s": 82.979,
    "l": 9.216
  },
  "oklch": {
    "l": 0.25358,
    "c": 0.07185,
    "h": 145.7
  },
  "luminance": 0.01775
}

Semantic roles & 50–950 ramp

primary
#042B0A
secondary
#6E1D61
accent
#2EDAF9
background
#F4F6F4
surface
#E7EBE7
border
#C3C6C3
text
#010501
muted
#777A77

Preview Lab

Preview with #042B0A

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

Preview Lab → · Contrast checker → · Palette generator →

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