#043F0C#043F0C

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

Color values

HEX#043F0C
RGBrgb(4, 63, 12)
HSLhsl(128, 88%, 13%)
HSVhsv(128, 94%, 25%)
CMYKcmyk(93.7%, 0%, 81%, 75.3%)
CIE-LABlab(22.33, -29.65, 24.99)
CIE-LCHlch(22.33, 38.78, 139.88°)
OKLaboklab(32.07% -0.08 0.057)
OKLCHoklch(32.07% 0.098 144.5)
XYZxyz(1.8938, 3.6071, 0.9442)
Luminance0.0361 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#043F0C #3F0437
analogous
#193F04 #043F0C #043F29
triadic
#043F0C #0C043F #3F0C04
tetradic
#043F0C #04193F #3F0437 #3F2904
square
#043F0C #04193F #3F0437 #3F2904
split-complementary
#043F0C #29043F #3F0419
monochromatic
#021D05 #021D05 #043F0C #087917 #0BB222

Accessibility & contrast

On white

12.20
#043F0C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #043F0C
12.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##043F0C#FFFFFF#000000##FFFFFF
##043F0C1.0012.201.7212.20
#FFFFFF12.201.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#403805
Deuteranopia (green-blind)
#3A3411
Tritanopia (blue-blind)
#003D35
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #043f0c;
/* rgb */ color: rgb(4, 63, 12);
/* oklch */ color: oklch(32.1% 0.098 144.5);
Tailwind
colors: {
  custom: {
    50: '#52754e',
    500: '#043f0c',
    950: '#000000',
  },
}
SCSS
$custom: #043f0c;
$custom-light: #52754e;
$custom-dark: #000000;
JSON
{
  "hex": "#043f0c",
  "rgb": {
    "r": 4,
    "g": 63,
    "b": 12
  },
  "hsl": {
    "h": 128.136,
    "s": 88.06,
    "l": 13.137
  },
  "oklch": {
    "l": 0.3207,
    "c": 0.09826,
    "h": 144.5
  },
  "luminance": 0.03607
}

Semantic roles & 50–950 ramp

primary
#043F0C
secondary
#801E73
accent
#2AE1FE
background
#F4F7F4
surface
#E8EDE7
border
#C4C8C3
text
#030802
muted
#787B78

Preview Lab

Preview with #043F0C

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

Preview Lab → · Contrast checker → · Palette generator →

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