#12421C#12421C

#12421C is a dark, moderate green. Relative luminance 0.041; OKLCH L 33.6% C 0.082 H 147.3°. Best body text is #FFFFFF at 11.53:1 contrast (WCAG AA passes).

Color values

HEX#12421C
RGBrgb(18, 66, 28)
HSLhsl(133, 57%, 16%)
HSVhsv(133, 73%, 26%)
CMYKcmyk(72.7%, 0%, 57.6%, 74.1%)
CIE-LABlab(24.03, -25.70, 18.40)
CIE-LCHlch(24.03, 31.61, 144.40°)
OKLaboklab(33.64% -0.0694 0.0445)
OKLCHoklch(33.64% 0.082 147.3)
XYZxyz(2.4071, 4.1086, 1.7646)
Luminance0.0411 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12421C #421238
analogous
#204212 #12421C #124234
triadic
#12421C #1C1242 #421C12
tetradic
#12421C #122042 #421238 #423412
square
#12421C #122042 #421238 #423412
split-complementary
#12421C #341242 #421220
monochromatic
#07180A #07180A #12421C #1F7230 #2CA245

Accessibility & contrast

On white

11.53
#12421C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#12421C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #12421C
11.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12421C#FFFFFF#000000##FFFFFF
##12421C1.0011.531.8211.53
#FFFFFF11.531.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#433C19
Deuteranopia (green-blind)
#3D381F
Tritanopia (blue-blind)
#044039
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #12421c;
/* rgb */ color: rgb(18, 66, 28);
/* oklch */ color: oklch(33.6% 0.082 147.3);
Tailwind
colors: {
  custom: {
    50: '#577759',
    500: '#12421c',
    950: '#000000',
  },
}
SCSS
$custom: #12421c;
$custom-light: #577759;
$custom-dark: #000000;
JSON
{
  "hex": "#12421c",
  "rgb": {
    "r": 18,
    "g": 66,
    "b": 28
  },
  "hsl": {
    "h": 132.5,
    "s": 57.143,
    "l": 16.471
  },
  "oklch": {
    "l": 0.33641,
    "c": 0.0824,
    "h": 147.3
  },
  "luminance": 0.04109
}

Semantic roles & 50–950 ramp

primary
#12421C
secondary
#7B356C
accent
#47C1E0
background
#F5F7F5
surface
#E9EDE9
border
#C5C8C5
text
#030803
muted
#787B78

Preview Lab

Preview with #12421C

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

Preview Lab → · Contrast checker → · Palette generator →

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