#043A17#043A17

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

Color values

HEX#043A17
RGBrgb(4, 58, 23)
HSLhsl(141, 87%, 12%)
HSVhsv(141, 93%, 23%)
CMYKcmyk(93.1%, 0%, 60.3%, 77.3%)
CIE-LABlab(20.49, -26.09, 16.96)
CIE-LCHlch(20.49, 31.12, 146.97°)
OKLaboklab(30.59% -0.07 0.041)
OKLCHoklch(30.59% 0.081 149.7)
XYZxyz(1.7176, 3.1136, 1.3209)
Luminance0.0311 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#043A17 #3A0427
analogous
#0C3A04 #043A17 #043A32
triadic
#043A17 #17043A #3A1704
tetradic
#043A17 #040C3A #3A0427 #3A3204
square
#043A17 #040C3A #3A0427 #3A3204
split-complementary
#043A17 #32043A #3A040C
monochromatic
#021D0B #021D0B #043A17 #08732E #0CAD44

Accessibility & contrast

On white

12.94
#043A17 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #043A17
12.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##043A17#FFFFFF#000000##FFFFFF
##043A171.0012.941.6212.94
#FFFFFF12.941.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.941.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #043a17;
/* rgb */ color: rgb(4, 58, 23);
/* oklch */ color: oklch(30.6% 0.081 149.7);
Tailwind
colors: {
  custom: {
    50: '#4f7155',
    500: '#043a17',
    950: '#000000',
  },
}
SCSS
$custom: #043a17;
$custom-light: #4f7155;
$custom-dark: #000000;
JSON
{
  "hex": "#043a17",
  "rgb": {
    "r": 4,
    "g": 58,
    "b": 23
  },
  "hsl": {
    "h": 141.111,
    "s": 87.097,
    "l": 12.157
  },
  "oklch": {
    "l": 0.30588,
    "c": 0.08108,
    "h": 149.7
  },
  "luminance": 0.03114
}

Semantic roles & 50–950 ramp

primary
#043A17
secondary
#7C1E5B
accent
#2BB3FD
background
#F4F6F4
surface
#E7ECE8
border
#C3C7C4
text
#020703
muted
#787A78

Preview Lab

Preview with #043A17

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

Preview Lab → · Contrast checker → · Palette generator →

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