#12460C#12460C

#12460C is a dark, moderate green. Relative luminance 0.045; OKLCH L 34.7% C 0.103 H 141.7°. Best body text is #FFFFFF at 11.01:1 contrast (WCAG AA passes).

Color values

HEX#12460C
RGBrgb(18, 70, 12)
HSLhsl(114, 71%, 16%)
HSVhsv(114, 83%, 27%)
CMYKcmyk(74.3%, 0%, 82.9%, 72.5%)
CIE-LABlab(25.37, -29.49, 28.20)
CIE-LCHlch(25.37, 40.81, 136.28°)
OKLaboklab(34.69% -0.0804 0.0636)
OKLCHoklch(34.69% 0.103 141.7)
XYZxyz(2.5058, 4.5352, 1.0911)
Luminance0.0454 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12460C #400C46
analogous
#2F460C #12460C #0C4623
triadic
#12460C #0C1246 #460C12
tetradic
#12460C #0C2F46 #400C46 #46230C
square
#12460C #0C2F46 #400C46 #46230C
split-complementary
#12460C #230C46 #460C2F
monochromatic
#071A04 #071A04 #12460C #1F7A15 #2DAE1E

Accessibility & contrast

On white

11.01
#12460C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#12460C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #12460C
11.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12460C#FFFFFF#000000##FFFFFF
##12460C1.0011.011.9111.01
#FFFFFF11.011.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF11.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#483F03
Deuteranopia (green-blind)
#423B12
Tritanopia (blue-blind)
#07443B
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #12460c;
/* rgb */ color: rgb(18, 70, 12);
/* oklch */ color: oklch(34.7% 0.103 141.7);
Tailwind
colors: {
  custom: {
    50: '#597a4f',
    500: '#12460c',
    950: '#000000',
  },
}
SCSS
$custom: #12460c;
$custom-light: #597a4f;
$custom-dark: #000000;
JSON
{
  "hex": "#12460c",
  "rgb": {
    "r": 18,
    "g": 70,
    "b": 12
  },
  "hsl": {
    "h": 113.793,
    "s": 70.732,
    "l": 16.078
  },
  "oklch": {
    "l": 0.3469,
    "c": 0.10258,
    "h": 141.7
  },
  "luminance": 0.04535
}

Semantic roles & 50–950 ramp

primary
#12460C
secondary
#792C82
accent
#3AEDDB
background
#F5F7F4
surface
#E9EDE7
border
#C5C8C3
text
#040902
muted
#797B78

Preview Lab

Preview with #12460C

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

Preview Lab → · Contrast checker → · Palette generator →

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