#12421F#12421F

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

Color values

HEX#12421F
RGBrgb(18, 66, 31)
HSLhsl(136, 57%, 16%)
HSVhsv(136, 73%, 26%)
CMYKcmyk(72.7%, 0%, 53%, 74.1%)
CIE-LABlab(24.08, -25.15, 16.65)
CIE-LCHlch(24.08, 30.16, 146.49°)
OKLaboklab(33.7% -0.0678 0.0407)
OKLCHoklch(33.7% 0.079 149)
XYZxyz(2.4448, 4.1237, 1.9632)
Luminance0.0412 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12421F #421235
analogous
#1D4212 #12421F #124237
triadic
#12421F #1F1242 #421F12
tetradic
#12421F #121D42 #421235 #423712
square
#12421F #121D42 #421235 #423712
split-complementary
#12421F #371242 #42121D
monochromatic
#07180B #07180B #12421F #1F7236 #2CA24C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##12421F#FFFFFF#000000##FFFFFF
##12421F1.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)
#433C1C
Deuteranopia (green-blind)
#3D3821
Tritanopia (blue-blind)
#03413A
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #12421f;
/* rgb */ color: rgb(18, 66, 31);
/* oklch */ color: oklch(33.7% 0.079 149.0);
Tailwind
colors: {
  custom: {
    50: '#57775b',
    500: '#12421f',
    950: '#000000',
  },
}
SCSS
$custom: #12421f;
$custom-light: #57775b;
$custom-dark: #000000;
JSON
{
  "hex": "#12421f",
  "rgb": {
    "r": 18,
    "g": 66,
    "b": 31
  },
  "hsl": {
    "h": 136.25,
    "s": 57.143,
    "l": 16.471
  },
  "oklch": {
    "l": 0.33697,
    "c": 0.07912,
    "h": 149
  },
  "luminance": 0.04124
}

Semantic roles & 50–950 ramp

primary
#12421F
secondary
#7B3568
accent
#47B7E0
background
#F5F7F5
surface
#E9EDE9
border
#C5C8C5
text
#030804
muted
#787B79

Preview Lab

Preview with #12421F

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

Preview Lab → · Contrast checker → · Palette generator →

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