#043A18#043A18

#043A18 is a dark, moderate green. Relative luminance 0.031; OKLCH L 30.6% C 0.080 H 150.3°. Best body text is #FFFFFF at 12.93:1 contrast (WCAG AA passes).

Color values

HEX#043A18
RGBrgb(4, 58, 24)
HSLhsl(142, 87%, 12%)
HSVhsv(142, 93%, 23%)
CMYKcmyk(93.1%, 0%, 58.6%, 77.3%)
CIE-LABlab(20.51, -25.90, 16.38)
CIE-LCHlch(20.51, 30.64, 147.69°)
OKLaboklab(30.61% -0.0695 0.0397)
OKLCHoklch(30.61% 0.08 150.3)
XYZxyz(1.7278, 3.1177, 1.3747)
Luminance0.0312 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#043A18 #3A0426
analogous
#0B3A04 #043A18 #043A33
triadic
#043A18 #18043A #3A1804
tetradic
#043A18 #040B3A #3A0426 #3A3304
square
#043A18 #040B3A #3A0426 #3A3304
split-complementary
#043A18 #33043A #3A040B
monochromatic
#021D0C #021D0C #043A18 #087330 #0CAD47

Accessibility & contrast

On white

12.93
#043A18 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#043A18 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #043A18
12.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##043A18#FFFFFF#000000##FFFFFF
##043A181.0012.931.6212.93
#FFFFFF12.931.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A3415
Deuteranopia (green-blind)
#34301B
Tritanopia (blue-blind)
#003932
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #043a18;
/* rgb */ color: rgb(4, 58, 24);
/* oklch */ color: oklch(30.6% 0.080 150.3);
Tailwind
colors: {
  custom: {
    50: '#4f7155',
    500: '#043a18',
    950: '#000000',
  },
}
SCSS
$custom: #043a18;
$custom-light: #4f7155;
$custom-dark: #000000;
JSON
{
  "hex": "#043a18",
  "rgb": {
    "r": 4,
    "g": 58,
    "b": 24
  },
  "hsl": {
    "h": 142.222,
    "s": 87.097,
    "l": 12.157
  },
  "oklch": {
    "l": 0.30606,
    "c": 0.08001,
    "h": 150.3
  },
  "luminance": 0.03118
}

Semantic roles & 50–950 ramp

primary
#043A18
secondary
#7C1E59
accent
#2BAFFD
background
#F4F6F5
surface
#E7ECE9
border
#C3C7C5
text
#020703
muted
#787A78

Preview Lab

Preview with #043A18

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

Preview Lab → · Contrast checker → · Palette generator →

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