#12461C#12461C

#12461C is a dark, moderate green. Relative luminance 0.046; OKLCH L 34.9% C 0.089 H 146.8°. Best body text is #FFFFFF at 10.95:1 contrast (WCAG AA passes).

Color values

HEX#12461C
RGBrgb(18, 70, 28)
HSLhsl(132, 59%, 17%)
HSVhsv(132, 74%, 27%)
CMYKcmyk(74.3%, 0%, 60%, 72.5%)
CIE-LABlab(25.54, -27.46, 20.25)
CIE-LCHlch(25.54, 34.12, 143.59°)
OKLaboklab(34.89% -0.0741 0.0486)
OKLCHoklch(34.89% 0.089 146.8)
XYZxyz(2.6490, 4.5925, 1.8452)
Luminance0.0459 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12461C #46123C
analogous
#224612 #12461C #124636
triadic
#12461C #1C1246 #461C12
tetradic
#12461C #122246 #46123C #463612
square
#12461C #122246 #46123C #463612
split-complementary
#12461C #361246 #461222
monochromatic
#06180A #06180A #12461C #1F772F #2BA743

Accessibility & contrast

On white

10.95
#12461C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#12461C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #12461C
10.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12461C#FFFFFF#000000##FFFFFF
##12461C1.0010.951.9210.95
#FFFFFF10.951.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#473F18
Deuteranopia (green-blind)
#413B1F
Tritanopia (blue-blind)
#03443C
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #12461c;
/* rgb */ color: rgb(18, 70, 28);
/* oklch */ color: oklch(34.9% 0.089 146.8);
Tailwind
colors: {
  custom: {
    50: '#587a59',
    500: '#12461c',
    950: '#000000',
  },
}
SCSS
$custom: #12461c;
$custom-light: #587a59;
$custom-dark: #000000;
JSON
{
  "hex": "#12461c",
  "rgb": {
    "r": 18,
    "g": 70,
    "b": 28
  },
  "hsl": {
    "h": 131.538,
    "s": 59.091,
    "l": 17.255
  },
  "oklch": {
    "l": 0.3489,
    "c": 0.08861,
    "h": 146.8
  },
  "luminance": 0.04593
}

Semantic roles & 50–950 ramp

primary
#12461C
secondary
#7F3571
accent
#46C4E2
background
#F5F7F5
surface
#E9EDE9
border
#C5C8C5
text
#040903
muted
#797B78

Preview Lab

Preview with #12461C

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

Preview Lab → · Contrast checker → · Palette generator →

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