#043F18#043F18

#043F18 is a dark, moderate green. Relative luminance 0.036; OKLCH L 32.2% C 0.087 H 149.0°. Best body text is #FFFFFF at 12.14:1 contrast (WCAG AA passes).

Color values

HEX#043F18
RGBrgb(4, 63, 24)
HSLhsl(140, 88%, 13%)
HSVhsv(140, 94%, 25%)
CMYKcmyk(93.7%, 0%, 61.9%, 75.3%)
CIE-LABlab(22.47, -27.94, 18.78)
CIE-LCHlch(22.47, 33.67, 146.10°)
OKLaboklab(32.23% -0.0749 0.0451)
OKLCHoklch(32.23% 0.087 149)
XYZxyz(1.9923, 3.6465, 1.4628)
Luminance0.0365 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#043F18 #3F042B
analogous
#0D3F04 #043F18 #043F35
triadic
#043F18 #18043F #3F1804
tetradic
#043F18 #040D3F #3F042B #3F3504
square
#043F18 #040D3F #3F042B #3F3504
split-complementary
#043F18 #35043F #3F040D
monochromatic
#021D0B #021D0B #043F18 #08792E #0BB244

Accessibility & contrast

On white

12.14
#043F18 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#043F18 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #043F18
12.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##043F18#FFFFFF#000000##FFFFFF
##043F181.0012.141.7312.14
#FFFFFF12.141.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#403814
Deuteranopia (green-blind)
#39341B
Tritanopia (blue-blind)
#003E36
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #043f18;
/* rgb */ color: rgb(4, 63, 24);
/* oklch */ color: oklch(32.2% 0.087 149.0);
Tailwind
colors: {
  custom: {
    50: '#517556',
    500: '#043f18',
    950: '#000000',
  },
}
SCSS
$custom: #043f18;
$custom-light: #517556;
$custom-dark: #000000;
JSON
{
  "hex": "#043f18",
  "rgb": {
    "r": 4,
    "g": 63,
    "b": 24
  },
  "hsl": {
    "h": 140.339,
    "s": 88.06,
    "l": 13.137
  },
  "oklch": {
    "l": 0.3223,
    "c": 0.08745,
    "h": 149
  },
  "luminance": 0.03647
}

Semantic roles & 50–950 ramp

primary
#043F18
secondary
#801E5F
accent
#2AB6FE
background
#F4F7F5
surface
#E7EDE9
border
#C3C8C5
text
#020803
muted
#787B78

Preview Lab

Preview with #043F18

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

Preview Lab → · Contrast checker → · Palette generator →

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