#12421E#12421E

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

Color values

HEX#12421E
RGBrgb(18, 66, 30)
HSLhsl(135, 57%, 16%)
HSVhsv(135, 73%, 26%)
CMYKcmyk(72.7%, 0%, 54.5%, 74.1%)
CIE-LABlab(24.06, -25.34, 17.24)
CIE-LCHlch(24.06, 30.65, 145.77°)
OKLaboklab(33.68% -0.0684 0.042)
OKLCHoklch(33.68% 0.08 148.5)
XYZxyz(2.4318, 4.1185, 1.8948)
Luminance0.0412 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12421E #421236
analogous
#1E4212 #12421E #124236
triadic
#12421E #1E1242 #421E12
tetradic
#12421E #121E42 #421236 #423612
square
#12421E #121E42 #421236 #423612
split-complementary
#12421E #361242 #42121E
monochromatic
#07180B #07180B #12421E #1F7234 #2CA24A

Accessibility & contrast

On white

11.51
#12421E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #12421E
11.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12421E#FFFFFF#000000##FFFFFF
##12421E1.0011.511.8211.51
#FFFFFF11.511.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#433C1B
Deuteranopia (green-blind)
#3D3821
Tritanopia (blue-blind)
#04413A
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #12421e;
/* rgb */ color: rgb(18, 66, 30);
/* oklch */ color: oklch(33.7% 0.080 148.5);
Tailwind
colors: {
  custom: {
    50: '#57775a',
    500: '#12421e',
    950: '#000000',
  },
}
SCSS
$custom: #12421e;
$custom-light: #57775a;
$custom-dark: #000000;
JSON
{
  "hex": "#12421e",
  "rgb": {
    "r": 18,
    "g": 66,
    "b": 30
  },
  "hsl": {
    "h": 135,
    "s": 57.143,
    "l": 16.471
  },
  "oklch": {
    "l": 0.33677,
    "c": 0.08022,
    "h": 148.5
  },
  "luminance": 0.04119
}

Semantic roles & 50–950 ramp

primary
#12421E
secondary
#7B3569
accent
#47BAE0
background
#F5F7F5
surface
#E9EDE9
border
#C5C8C5
text
#030804
muted
#787B79

Preview Lab

Preview with #12421E

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

Preview Lab → · Contrast checker → · Palette generator →

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