#043F12#043F12

#043F12 is a dark, moderate green. Relative luminance 0.036; OKLCH L 32.1% C 0.093 H 146.4°. Best body text is #FFFFFF at 12.18:1 contrast (WCAG AA passes).

Color values

HEX#043F12
RGBrgb(4, 63, 18)
HSLhsl(134, 88%, 13%)
HSVhsv(134, 94%, 25%)
CMYKcmyk(93.7%, 0%, 71.4%, 75.3%)
CIE-LABlab(22.39, -28.90, 22.06)
CIE-LCHlch(22.39, 36.36, 142.65°)
OKLaboklab(32.14% -0.0777 0.0516)
OKLCHoklch(32.14% 0.093 146.4)
XYZxyz(1.9366, 3.6243, 1.1696)
Luminance0.0362 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#043F12 #3F0431
analogous
#133F04 #043F12 #043F2F
triadic
#043F12 #12043F #3F1204
tetradic
#043F12 #04133F #3F0431 #3F2F04
square
#043F12 #04133F #3F0431 #3F2F04
split-complementary
#043F12 #2F043F #3F0413
monochromatic
#021D08 #021D08 #043F12 #087922 #0BB233

Accessibility & contrast

On white

12.18
#043F12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#043F12 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #043F12
12.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##043F12#FFFFFF#000000##FFFFFF
##043F121.0012.181.7212.18
#FFFFFF12.181.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#40380D
Deuteranopia (green-blind)
#3A3416
Tritanopia (blue-blind)
#003D35
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #043f12;
/* rgb */ color: rgb(4, 63, 18);
/* oklch */ color: oklch(32.1% 0.093 146.4);
Tailwind
colors: {
  custom: {
    50: '#517552',
    500: '#043f12',
    950: '#000000',
  },
}
SCSS
$custom: #043f12;
$custom-light: #517552;
$custom-dark: #000000;
JSON
{
  "hex": "#043f12",
  "rgb": {
    "r": 4,
    "g": 63,
    "b": 18
  },
  "hsl": {
    "h": 134.237,
    "s": 88.06,
    "l": 13.137
  },
  "oklch": {
    "l": 0.32139,
    "c": 0.09329,
    "h": 146.4
  },
  "luminance": 0.03624
}

Semantic roles & 50–950 ramp

primary
#043F12
secondary
#801E69
accent
#2ACCFE
background
#F4F7F4
surface
#E7EDE7
border
#C3C8C3
text
#030802
muted
#787B78

Preview Lab

Preview with #043F12

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

Preview Lab → · Contrast checker → · Palette generator →

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