#12420A#12420A

#12420A is a dark, moderate green. Relative luminance 0.040; OKLCH L 33.4% C 0.098 H 141.1°. Best body text is #FFFFFF at 11.61:1 contrast (WCAG AA passes).

Color values

HEX#12420A
RGBrgb(18, 66, 10)
HSLhsl(111, 74%, 15%)
HSVhsv(111, 85%, 26%)
CMYKcmyk(72.7%, 0%, 84.8%, 74.1%)
CIE-LABlab(23.83, -28.05, 27.50)
CIE-LCHlch(23.83, 39.28, 135.57°)
OKLaboklab(33.41% -0.0767 0.0618)
OKLCHoklch(33.41% 0.098 141.1)
XYZxyz(2.2523, 4.0467, 0.9495)
Luminance0.0405 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12420A #3A0A42
analogous
#2E420A #12420A #0A421E
triadic
#12420A #0A1242 #420A12
tetradic
#12420A #0A2E42 #3A0A42 #421E0A
square
#12420A #0A2E42 #3A0A42 #421E0A
split-complementary
#12420A #1E0A42 #420A2E
monochromatic
#071B04 #071B04 #12420A #207712 #2FAC1A

Accessibility & contrast

On white

11.61
#12420A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#12420A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #12420A
11.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12420A#FFFFFF#000000##FFFFFF
##12420A1.0011.611.8111.61
#FFFFFF11.611.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#443B02
Deuteranopia (green-blind)
#3E3710
Tritanopia (blue-blind)
#094037
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #12420a;
/* rgb */ color: rgb(18, 66, 10);
/* oklch */ color: oklch(33.4% 0.098 141.1);
Tailwind
colors: {
  custom: {
    50: '#58774e',
    500: '#12420a',
    950: '#000000',
  },
}
SCSS
$custom: #12420a;
$custom-light: #58774e;
$custom-dark: #000000;
JSON
{
  "hex": "#12420a",
  "rgb": {
    "r": 18,
    "g": 66,
    "b": 10
  },
  "hsl": {
    "h": 111.429,
    "s": 73.684,
    "l": 14.902
  },
  "oklch": {
    "l": 0.33408,
    "c": 0.09849,
    "h": 141.1
  },
  "luminance": 0.04047
}

Semantic roles & 50–950 ramp

primary
#12420A
secondary
#73297F
accent
#37F0D6
background
#F5F7F4
surface
#E9EDE7
border
#C5C8C3
text
#040801
muted
#797B77

Preview Lab

Preview with #12420A

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

Preview Lab → · Contrast checker → · Palette generator →

#12420A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva