#12460E#12460E

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

Color values

HEX#12460E
RGBrgb(18, 70, 14)
HSLhsl(116, 67%, 16%)
HSVhsv(116, 80%, 27%)
CMYKcmyk(74.3%, 0%, 80%, 72.5%)
CIE-LABlab(25.38, -29.31, 27.36)
CIE-LCHlch(25.38, 40.09, 136.97°)
OKLaboklab(34.71% -0.0798 0.0622)
OKLCHoklch(34.71% 0.101 142.1)
XYZxyz(2.5187, 4.5404, 1.1590)
Luminance0.0454 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12460E #420E46
analogous
#2E460E #12460E #0E4626
triadic
#12460E #0E1246 #460E12
tetradic
#12460E #0E2E46 #420E46 #46260E
square
#12460E #0E2E46 #420E46 #46260E
split-complementary
#12460E #260E46 #460E2E
monochromatic
#071A05 #071A05 #12460E #1F7918 #2CAC22

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##12460E#FFFFFF#000000##FFFFFF
##12460E1.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)
#483F05
Deuteranopia (green-blind)
#423B14
Tritanopia (blue-blind)
#07443B
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #12460e;
/* rgb */ color: rgb(18, 70, 14);
/* oklch */ color: oklch(34.7% 0.101 142.1);
Tailwind
colors: {
  custom: {
    50: '#597a50',
    500: '#12460e',
    950: '#000000',
  },
}
SCSS
$custom: #12460e;
$custom-light: #597a50;
$custom-dark: #000000;
JSON
{
  "hex": "#12460e",
  "rgb": {
    "r": 18,
    "g": 70,
    "b": 14
  },
  "hsl": {
    "h": 115.714,
    "s": 66.667,
    "l": 16.471
  },
  "oklch": {
    "l": 0.34708,
    "c": 0.10118,
    "h": 142.1
  },
  "luminance": 0.04541
}

Semantic roles & 50–950 ramp

primary
#12460E
secondary
#7B2F81
accent
#3EEADD
background
#F5F7F4
surface
#E9EDE7
border
#C5C8C3
text
#040902
muted
#797B78

Preview Lab

Preview with #12460E

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

Preview Lab → · Contrast checker → · Palette generator →

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