#12420C#12420C

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

Color values

HEX#12420C
RGBrgb(18, 66, 12)
HSLhsl(113, 69%, 15%)
HSVhsv(113, 82%, 26%)
CMYKcmyk(72.7%, 0%, 81.8%, 74.1%)
CIE-LABlab(23.84, -27.86, 26.66)
CIE-LCHlch(23.84, 38.57, 136.26°)
OKLaboklab(33.43% -0.0761 0.0604)
OKLCHoklch(33.43% 0.097 141.5)
XYZxyz(2.2639, 4.0513, 1.0104)
Luminance0.0405 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12420C #3C0C42
analogous
#2D420C #12420C #0C4221
triadic
#12420C #0C1242 #420C12
tetradic
#12420C #0C2D42 #3C0C42 #42210C
square
#12420C #0C2D42 #3C0C42 #42210C
split-complementary
#12420C #210C42 #420C2D
monochromatic
#071A05 #071A05 #12420C #207615 #2EAA1F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##12420C#FFFFFF#000000##FFFFFF
##12420C1.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)
#443B04
Deuteranopia (green-blind)
#3E3712
Tritanopia (blue-blind)
#094037
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #12420c;
/* rgb */ color: rgb(18, 66, 12);
/* oklch */ color: oklch(33.4% 0.097 141.5);
Tailwind
colors: {
  custom: {
    50: '#58774f',
    500: '#12420c',
    950: '#000000',
  },
}
SCSS
$custom: #12420c;
$custom-light: #58774f;
$custom-dark: #000000;
JSON
{
  "hex": "#12420c",
  "rgb": {
    "r": 18,
    "g": 66,
    "b": 12
  },
  "hsl": {
    "h": 113.333,
    "s": 69.231,
    "l": 15.294
  },
  "oklch": {
    "l": 0.33426,
    "c": 0.09713,
    "h": 141.5
  },
  "luminance": 0.04052
}

Semantic roles & 50–950 ramp

primary
#12420C
secondary
#752C7E
accent
#3CECD8
background
#F5F7F4
surface
#E9EDE7
border
#C5C8C3
text
#040802
muted
#797B78

Preview Lab

Preview with #12420C

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

Preview Lab → · Contrast checker → · Palette generator →

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