#043A12#043A12

#043A12 is a dark, moderate green. Relative luminance 0.031; OKLCH L 30.5% C 0.086 H 147.1°. Best body text is #FFFFFF at 12.97:1 contrast (WCAG AA passes).

Color values

HEX#043A12
RGBrgb(4, 58, 18)
HSLhsl(136, 87%, 12%)
HSVhsv(136, 93%, 23%)
CMYKcmyk(93.1%, 0%, 69%, 77.3%)
CIE-LABlab(20.42, -26.95, 19.80)
CIE-LCHlch(20.42, 33.44, 143.69°)
OKLaboklab(30.51% -0.0724 0.0468)
OKLCHoklch(30.51% 0.086 147.1)
XYZxyz(1.6722, 3.0954, 1.0815)
Luminance0.0310 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#043A12 #3A042C
analogous
#113A04 #043A12 #043A2D
triadic
#043A12 #12043A #3A1204
tetradic
#043A12 #04113A #3A042C #3A2D04
square
#043A12 #04113A #3A042C #3A2D04
split-complementary
#043A12 #2D043A #3A0411
monochromatic
#021D09 #021D09 #043A12 #087324 #0CAD36

Accessibility & contrast

On white

12.97
#043A12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #043A12
12.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##043A12#FFFFFF#000000##FFFFFF
##043A121.0012.971.6212.97
#FFFFFF12.971.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B340E
Deuteranopia (green-blind)
#353015
Tritanopia (blue-blind)
#003831
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #043a12;
/* rgb */ color: rgb(4, 58, 18);
/* oklch */ color: oklch(30.5% 0.086 147.1);
Tailwind
colors: {
  custom: {
    50: '#507151',
    500: '#043a12',
    950: '#000000',
  },
}
SCSS
$custom: #043a12;
$custom-light: #507151;
$custom-dark: #000000;
JSON
{
  "hex": "#043a12",
  "rgb": {
    "r": 4,
    "g": 58,
    "b": 18
  },
  "hsl": {
    "h": 135.556,
    "s": 87.097,
    "l": 12.157
  },
  "oklch": {
    "l": 0.30506,
    "c": 0.0862,
    "h": 147.1
  },
  "luminance": 0.03096
}

Semantic roles & 50–950 ramp

primary
#043A12
secondary
#7C1E63
accent
#2BC7FD
background
#F4F6F4
surface
#E7ECE7
border
#C3C7C3
text
#020702
muted
#787A78

Preview Lab

Preview with #043A12

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

Preview Lab → · Contrast checker → · Palette generator →

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