#043218#043218

#043218 is a dark, moderate green. Relative luminance 0.024; OKLCH L 28.0% C 0.068 H 153.2°. Best body text is #FFFFFF at 14.24:1 contrast (WCAG AA passes).

Color values

HEX#043218
RGBrgb(4, 50, 24)
HSLhsl(146, 85%, 11%)
HSVhsv(146, 92%, 20%)
CMYKcmyk(92%, 0%, 52%, 80.4%)
CIE-LABlab(17.33, -22.43, 12.35)
CIE-LCHlch(17.33, 25.60, 151.17°)
OKLaboklab(27.98% -0.0603 0.0305)
OKLCHoklch(27.98% 0.068 153.2)
XYZxyz(1.3554, 2.3728, 1.2505)
Luminance0.0237 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#043218 #32041E
analogous
#073204 #043218 #04322F
triadic
#043218 #180432 #321804
tetradic
#043218 #040732 #32041E #322F04
square
#043218 #040732 #32041E #322F04
split-complementary
#043218 #2F0432 #320407
monochromatic
#021C0E #021C0E #043218 #096B33 #0DA34E

Accessibility & contrast

On white

14.24
#043218 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#043218 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #043218
14.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##043218#FFFFFF#000000##FFFFFF
##0432181.0014.241.4714.24
#FFFFFF14.241.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#322D16
Deuteranopia (green-blind)
#2D291A
Tritanopia (blue-blind)
#00312C
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #043218;
/* rgb */ color: rgb(4, 50, 24);
/* oklch */ color: oklch(28.0% 0.068 153.2);
Tailwind
colors: {
  custom: {
    50: '#4d6a55',
    500: '#043218',
    950: '#000000',
  },
}
SCSS
$custom: #043218;
$custom-light: #4d6a55;
$custom-dark: #000000;
JSON
{
  "hex": "#043218",
  "rgb": {
    "r": 4,
    "g": 50,
    "b": 24
  },
  "hsl": {
    "h": 146.087,
    "s": 85.185,
    "l": 10.588
  },
  "oklch": {
    "l": 0.27976,
    "c": 0.06756,
    "h": 153.2
  },
  "luminance": 0.02373
}

Semantic roles & 50–950 ramp

primary
#043218
secondary
#741D4F
accent
#2CA1FB
background
#F4F6F4
surface
#E7EBE7
border
#C3C6C3
text
#020603
muted
#787A78

Preview Lab

Preview with #043218

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

Preview Lab → · Contrast checker → · Palette generator →

#043218 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva