#043B18#043B18

#043B18 is a dark, moderate green. Relative luminance 0.032; OKLCH L 30.9% C 0.082 H 150.0°. Best body text is #FFFFFF at 12.77:1 contrast (WCAG AA passes).

Color values

HEX#043B18
RGBrgb(4, 59, 24)
HSLhsl(142, 87%, 12%)
HSVhsv(142, 93%, 23%)
CMYKcmyk(93.2%, 0%, 59.3%, 76.9%)
CIE-LABlab(20.90, -26.31, 16.86)
CIE-LCHlch(20.90, 31.25, 147.35°)
OKLaboklab(30.93% -0.0706 0.0408)
OKLCHoklch(30.93% 0.082 150)
XYZxyz(1.7787, 3.2195, 1.3916)
Luminance0.0322 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#043B18 #3B0427
analogous
#0C3B04 #043B18 #043B34
triadic
#043B18 #18043B #3B1804
tetradic
#043B18 #040C3B #3B0427 #3B3404
square
#043B18 #040C3B #3B0427 #3B3404
split-complementary
#043B18 #34043B #3B040C
monochromatic
#021D0C #021D0C #043B18 #08742F #0CAE47

Accessibility & contrast

On white

12.77
#043B18 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#043B18 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #043B18
12.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##043B18#FFFFFF#000000##FFFFFF
##043B181.0012.771.6412.77
#FFFFFF12.771.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B3515
Deuteranopia (green-blind)
#35311B
Tritanopia (blue-blind)
#003A33
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #043b18;
/* rgb */ color: rgb(4, 59, 24);
/* oklch */ color: oklch(30.9% 0.082 150.0);
Tailwind
colors: {
  custom: {
    50: '#507255',
    500: '#043b18',
    950: '#000000',
  },
}
SCSS
$custom: #043b18;
$custom-light: #507255;
$custom-dark: #000000;
JSON
{
  "hex": "#043b18",
  "rgb": {
    "r": 4,
    "g": 59,
    "b": 24
  },
  "hsl": {
    "h": 141.818,
    "s": 87.302,
    "l": 12.353
  },
  "oklch": {
    "l": 0.30932,
    "c": 0.08152,
    "h": 150
  },
  "luminance": 0.0322
}

Semantic roles & 50–950 ramp

primary
#043B18
secondary
#7D1E5A
accent
#2AB1FD
background
#F4F6F5
surface
#E7ECE9
border
#C3C7C5
text
#020803
muted
#787B78

Preview Lab

Preview with #043B18

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

Preview Lab → · Contrast checker → · Palette generator →

#043B18 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva