#12421B#12421B

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

Color values

HEX#12421B
RGBrgb(18, 66, 27)
HSLhsl(131, 57%, 16%)
HSVhsv(131, 73%, 26%)
CMYKcmyk(72.7%, 0%, 59.1%, 74.1%)
CIE-LABlab(24.01, -25.87, 18.97)
CIE-LCHlch(24.01, 32.08, 143.75°)
OKLaboklab(33.62% -0.0699 0.0457)
OKLCHoklch(33.62% 0.083 146.8)
XYZxyz(2.3953, 4.1039, 1.7026)
Luminance0.0410 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12421B #421239
analogous
#214212 #12421B #124233
triadic
#12421B #1B1242 #421B12
tetradic
#12421B #122142 #421239 #423312
square
#12421B #122142 #421239 #423312
split-complementary
#12421B #331242 #421221
monochromatic
#07180A #07180A #12421B #1F722F #2CA242

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##12421B#FFFFFF#000000##FFFFFF
##12421B1.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)
#433C18
Deuteranopia (green-blind)
#3D371E
Tritanopia (blue-blind)
#054039
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #12421b;
/* rgb */ color: rgb(18, 66, 27);
/* oklch */ color: oklch(33.6% 0.083 146.8);
Tailwind
colors: {
  custom: {
    50: '#577758',
    500: '#12421b',
    950: '#000000',
  },
}
SCSS
$custom: #12421b;
$custom-light: #577758;
$custom-dark: #000000;
JSON
{
  "hex": "#12421b",
  "rgb": {
    "r": 18,
    "g": 66,
    "b": 27
  },
  "hsl": {
    "h": 131.25,
    "s": 57.143,
    "l": 16.471
  },
  "oklch": {
    "l": 0.33623,
    "c": 0.08347,
    "h": 146.8
  },
  "luminance": 0.04104
}

Semantic roles & 50–950 ramp

primary
#12421B
secondary
#7B356E
accent
#47C4E0
background
#F5F7F5
surface
#E9EDE9
border
#C5C8C5
text
#030803
muted
#787B78

Preview Lab

Preview with #12421B

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

Preview Lab → · Contrast checker → · Palette generator →

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