#12460B#12460B

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

Color values

HEX#12460B
RGBrgb(18, 70, 11)
HSLhsl(113, 73%, 16%)
HSVhsv(113, 84%, 27%)
CMYKcmyk(74.3%, 0%, 84.3%, 72.5%)
CIE-LABlab(25.36, -29.58, 28.61)
CIE-LCHlch(25.36, 41.15, 135.96°)
OKLaboklab(34.68% -0.0807 0.0643)
OKLCHoklch(34.68% 0.103 141.5)
XYZxyz(2.4999, 4.5328, 1.0597)
Luminance0.0453 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12460B #3F0B46
analogous
#2F460B #12460B #0B4621
triadic
#12460B #0B1246 #460B12
tetradic
#12460B #0B2F46 #3F0B46 #46210B
square
#12460B #0B2F46 #3F0B46 #46210B
split-complementary
#12460B #210B46 #460B2F
monochromatic
#071A04 #071A04 #12460B #207B13 #2DB01C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##12460B#FFFFFF#000000##FFFFFF
##12460B1.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)
#483F02
Deuteranopia (green-blind)
#423B11
Tritanopia (blue-blind)
#08443B
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #12460b;
/* rgb */ color: rgb(18, 70, 11);
/* oklch */ color: oklch(34.7% 0.103 141.5);
Tailwind
colors: {
  custom: {
    50: '#597a4f',
    500: '#12460b',
    950: '#000000',
  },
}
SCSS
$custom: #12460b;
$custom-light: #597a4f;
$custom-dark: #000000;
JSON
{
  "hex": "#12460b",
  "rgb": {
    "r": 18,
    "g": 70,
    "b": 11
  },
  "hsl": {
    "h": 112.881,
    "s": 72.84,
    "l": 15.882
  },
  "oklch": {
    "l": 0.34682,
    "c": 0.10324,
    "h": 141.5
  },
  "luminance": 0.04533
}

Semantic roles & 50–950 ramp

primary
#12460B
secondary
#782A82
accent
#38F0DA
background
#F5F7F4
surface
#E9EDE7
border
#C5C8C3
text
#040902
muted
#797B78

Preview Lab

Preview with #12460B

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

Preview Lab → · Contrast checker → · Palette generator →

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