#042B06#042B06

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

Color values

HEX#042B06
RGBrgb(4, 43, 6)
HSLhsl(123, 83%, 9%)
HSVhsv(123, 91%, 17%)
CMYKcmyk(90.7%, 0%, 86%, 83.1%)
CIE-LABlab(14.21, -22.64, 17.87)
CIE-LCHlch(14.21, 28.84, 141.71°)
OKLaboklab(25.3% -0.0613 0.0449)
OKLCHoklch(25.3% 0.076 143.8)
XYZxyz(0.9468, 1.7666, 0.4634)
Luminance0.0177 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#042B06 #2B0429
analogous
#162B04 #042B06 #042B1A
triadic
#042B06 #06042B #2B0604
tetradic
#042B06 #04162B #2B0429 #2B1A04
square
#042B06 #04162B #2B0429 #2B1A04
split-complementary
#042B06 #1A042B #2B0416
monochromatic
#031C04 #031C04 #042B06 #09630E #0E9B16

Accessibility & contrast

On white

15.52
#042B06 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #042B06
15.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##042B06#FFFFFF#000000##FFFFFF
##042B061.0015.521.3515.52
#FFFFFF15.521.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C2602
Deuteranopia (green-blind)
#282309
Tritanopia (blue-blind)
#002924
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #042b06;
/* rgb */ color: rgb(4, 43, 6);
/* oklch */ color: oklch(25.3% 0.076 143.8);
Tailwind
colors: {
  custom: {
    50: '#4a6549',
    500: '#042b06',
    950: '#000000',
  },
}
SCSS
$custom: #042b06;
$custom-light: #4a6549;
$custom-dark: #000000;
JSON
{
  "hex": "#042b06",
  "rgb": {
    "r": 4,
    "g": 43,
    "b": 6
  },
  "hsl": {
    "h": 123.077,
    "s": 82.979,
    "l": 9.216
  },
  "oklch": {
    "l": 0.25301,
    "c": 0.07597,
    "h": 143.8
  },
  "luminance": 0.01767
}

Semantic roles & 50–950 ramp

primary
#042B06
secondary
#6E1D6A
accent
#2EEFF9
background
#F4F6F4
surface
#E7EBE7
border
#C3C6C3
text
#010501
muted
#777A77

Preview Lab

Preview with #042B06

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

Preview Lab → · Contrast checker → · Palette generator →

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