#12421D#12421D

#12421D is a dark, moderate green. Relative luminance 0.041; OKLCH L 33.7% C 0.081 H 147.9°. Best body text is #FFFFFF at 11.52:1 contrast (WCAG AA passes).

Color values

HEX#12421D
RGBrgb(18, 66, 29)
HSLhsl(134, 57%, 16%)
HSVhsv(134, 73%, 26%)
CMYKcmyk(72.7%, 0%, 56.1%, 74.1%)
CIE-LABlab(24.04, -25.52, 17.82)
CIE-LCHlch(24.04, 31.13, 145.07°)
OKLaboklab(33.66% -0.0689 0.0432)
OKLCHoklch(33.66% 0.081 147.9)
XYZxyz(2.4193, 4.1135, 1.8286)
Luminance0.0411 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12421D #421237
analogous
#1F4212 #12421D #124235
triadic
#12421D #1D1242 #421D12
tetradic
#12421D #121F42 #421237 #423512
square
#12421D #121F42 #421237 #423512
split-complementary
#12421D #351242 #42121F
monochromatic
#07180B #07180B #12421D #1F7232 #2CA247

Accessibility & contrast

On white

11.52
#12421D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #12421D
11.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12421D#FFFFFF#000000##FFFFFF
##12421D1.0011.521.8211.52
#FFFFFF11.521.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.521.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #12421d;
/* rgb */ color: rgb(18, 66, 29);
/* oklch */ color: oklch(33.7% 0.081 147.9);
Tailwind
colors: {
  custom: {
    50: '#57775a',
    500: '#12421d',
    950: '#000000',
  },
}
SCSS
$custom: #12421d;
$custom-light: #57775a;
$custom-dark: #000000;
JSON
{
  "hex": "#12421d",
  "rgb": {
    "r": 18,
    "g": 66,
    "b": 29
  },
  "hsl": {
    "h": 133.75,
    "s": 57.143,
    "l": 16.471
  },
  "oklch": {
    "l": 0.33659,
    "c": 0.08131,
    "h": 147.9
  },
  "luminance": 0.04114
}

Semantic roles & 50–950 ramp

primary
#12421D
secondary
#7B356B
accent
#47BDE0
background
#F5F7F5
surface
#E9EDE9
border
#C5C8C5
text
#030803
muted
#787B78

Preview Lab

Preview with #12421D

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

Preview Lab → · Contrast checker → · Palette generator →

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