#12460F#12460F

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

Color values

HEX#12460F
RGBrgb(18, 70, 15)
HSLhsl(117, 65%, 17%)
HSVhsv(117, 79%, 27%)
CMYKcmyk(74.3%, 0%, 78.6%, 72.5%)
CIE-LABlab(25.39, -29.21, 26.91)
CIE-LCHlch(25.39, 39.71, 137.34°)
OKLaboklab(34.72% -0.0795 0.0614)
OKLCHoklch(34.72% 0.1 142.3)
XYZxyz(2.5257, 4.5431, 1.1957)
Luminance0.0454 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12460F #430F46
analogous
#2E460F #12460F #0F4628
triadic
#12460F #0F1246 #460F12
tetradic
#12460F #0F2E46 #430F46 #46280F
square
#12460F #0F2E46 #430F46 #46280F
split-complementary
#12460F #280F46 #460F2E
monochromatic
#061905 #061905 #12460F #1F781A #2CAB25

Accessibility & contrast

On white

11.00
#12460F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #12460F
11.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12460F#FFFFFF#000000##FFFFFF
##12460F1.0011.001.9111.00
#FFFFFF11.001.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF11.001.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #12460f;
/* rgb */ color: rgb(18, 70, 15);
/* oklch */ color: oklch(34.7% 0.100 142.3);
Tailwind
colors: {
  custom: {
    50: '#597a51',
    500: '#12460f',
    950: '#000000',
  },
}
SCSS
$custom: #12460f;
$custom-light: #597a51;
$custom-dark: #000000;
JSON
{
  "hex": "#12460f",
  "rgb": {
    "r": 18,
    "g": 70,
    "b": 15
  },
  "hsl": {
    "h": 116.727,
    "s": 64.706,
    "l": 16.667
  },
  "oklch": {
    "l": 0.34718,
    "c": 0.10044,
    "h": 142.3
  },
  "luminance": 0.04543
}

Semantic roles & 50–950 ramp

primary
#12460F
secondary
#7C3080
accent
#40E8DF
background
#F5F7F4
surface
#E9EDE7
border
#C5C8C3
text
#040902
muted
#797B78

Preview Lab

Preview with #12460F

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

Preview Lab → · Contrast checker → · Palette generator →

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