#043F17#043F17

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

Color values

HEX#043F17
RGBrgb(4, 63, 23)
HSLhsl(139, 88%, 13%)
HSVhsv(139, 94%, 25%)
CMYKcmyk(93.7%, 0%, 63.5%, 75.3%)
CIE-LABlab(22.45, -28.12, 19.34)
CIE-LCHlch(22.45, 34.13, 145.47°)
OKLaboklab(32.21% -0.0754 0.0462)
OKLCHoklch(32.21% 0.088 148.5)
XYZxyz(1.9821, 3.6424, 1.4090)
Luminance0.0364 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#043F17 #3F042C
analogous
#0E3F04 #043F17 #043F34
triadic
#043F17 #17043F #3F1704
tetradic
#043F17 #040E3F #3F042C #3F3404
square
#043F17 #040E3F #3F042C #3F3404
split-complementary
#043F17 #34043F #3F040E
monochromatic
#021D0B #021D0B #043F17 #08792C #0BB241

Accessibility & contrast

On white

12.15
#043F17 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #043F17
12.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##043F17#FFFFFF#000000##FFFFFF
##043F171.0012.151.7312.15
#FFFFFF12.151.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.151.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #043f17;
/* rgb */ color: rgb(4, 63, 23);
/* oklch */ color: oklch(32.2% 0.088 148.5);
Tailwind
colors: {
  custom: {
    50: '#517555',
    500: '#043f17',
    950: '#000000',
  },
}
SCSS
$custom: #043f17;
$custom-light: #517555;
$custom-dark: #000000;
JSON
{
  "hex": "#043f17",
  "rgb": {
    "r": 4,
    "g": 63,
    "b": 23
  },
  "hsl": {
    "h": 139.322,
    "s": 88.06,
    "l": 13.137
  },
  "oklch": {
    "l": 0.32213,
    "c": 0.08847,
    "h": 148.5
  },
  "luminance": 0.03643
}

Semantic roles & 50–950 ramp

primary
#043F17
secondary
#801E61
accent
#2ABAFE
background
#F4F7F5
surface
#E7EDE8
border
#C3C8C4
text
#020803
muted
#787B78

Preview Lab

Preview with #043F17

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

Preview Lab → · Contrast checker → · Palette generator →

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