#12420B#12420B

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

Color values

HEX#12420B
RGBrgb(18, 66, 11)
HSLhsl(112, 71%, 15%)
HSVhsv(112, 83%, 26%)
CMYKcmyk(72.7%, 0%, 83.3%, 74.1%)
CIE-LABlab(23.83, -27.96, 27.09)
CIE-LCHlch(23.83, 38.93, 135.91°)
OKLaboklab(33.42% -0.0764 0.0612)
OKLCHoklch(33.42% 0.098 141.3)
XYZxyz(2.2580, 4.0490, 0.9791)
Luminance0.0405 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12420B #3B0B42
analogous
#2D420B #12420B #0B4220
triadic
#12420B #0B1242 #420B12
tetradic
#12420B #0B2D42 #3B0B42 #42200B
square
#12420B #0B2D42 #3B0B42 #42200B
split-complementary
#12420B #200B42 #420B2D
monochromatic
#071A04 #071A04 #12420B #207614 #2FAB1C

Accessibility & contrast

On white

11.60
#12420B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #12420B
11.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12420B#FFFFFF#000000##FFFFFF
##12420B1.0011.601.8111.60
#FFFFFF11.601.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.601.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #12420b;
/* rgb */ color: rgb(18, 66, 11);
/* oklch */ color: oklch(33.4% 0.098 141.3);
Tailwind
colors: {
  custom: {
    50: '#58774e',
    500: '#12420b',
    950: '#000000',
  },
}
SCSS
$custom: #12420b;
$custom-light: #58774e;
$custom-dark: #000000;
JSON
{
  "hex": "#12420b",
  "rgb": {
    "r": 18,
    "g": 66,
    "b": 11
  },
  "hsl": {
    "h": 112.364,
    "s": 71.429,
    "l": 15.098
  },
  "oklch": {
    "l": 0.33417,
    "c": 0.09783,
    "h": 141.3
  },
  "luminance": 0.04049
}

Semantic roles & 50–950 ramp

primary
#12420B
secondary
#742A7F
accent
#3AEED7
background
#F5F7F4
surface
#E9EDE7
border
#C5C8C3
text
#040802
muted
#797B78

Preview Lab

Preview with #12420B

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

Preview Lab → · Contrast checker → · Palette generator →

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