#12461F#12461F

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

Color values

HEX#12461F
RGBrgb(18, 70, 31)
HSLhsl(135, 59%, 17%)
HSVhsv(135, 74%, 27%)
CMYKcmyk(74.3%, 0%, 55.7%, 72.5%)
CIE-LABlab(25.59, -26.94, 18.55)
CIE-LCHlch(25.59, 32.71, 145.45°)
OKLaboklab(34.94% -0.0726 0.045)
OKLCHoklch(34.94% 0.085 148.2)
XYZxyz(2.6867, 4.6076, 2.0438)
Luminance0.0461 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12461F #461239
analogous
#1F4612 #12461F #124639
triadic
#12461F #1F1246 #461F12
tetradic
#12461F #121F46 #461239 #463912
square
#12461F #121F46 #461239 #463912
split-complementary
#12461F #391246 #46121F
monochromatic
#06180B #06180B #12461F #1F7735 #2BA74A

Accessibility & contrast

On white

10.93
#12461F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #12461F
10.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12461F#FFFFFF#000000##FFFFFF
##12461F1.0010.931.9210.93
#FFFFFF10.931.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#473F1C
Deuteranopia (green-blind)
#403B22
Tritanopia (blue-blind)
#01443D
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #12461f;
/* rgb */ color: rgb(18, 70, 31);
/* oklch */ color: oklch(34.9% 0.085 148.2);
Tailwind
colors: {
  custom: {
    50: '#587a5b',
    500: '#12461f',
    950: '#000000',
  },
}
SCSS
$custom: #12461f;
$custom-light: #587a5b;
$custom-dark: #000000;
JSON
{
  "hex": "#12461f",
  "rgb": {
    "r": 18,
    "g": 70,
    "b": 31
  },
  "hsl": {
    "h": 135,
    "s": 59.091,
    "l": 17.255
  },
  "oklch": {
    "l": 0.34942,
    "c": 0.08543,
    "h": 148.2
  },
  "luminance": 0.04608
}

Semantic roles & 50–950 ramp

primary
#12461F
secondary
#7F356C
accent
#46BBE2
background
#F5F7F5
surface
#E9EDE9
border
#C5C8C5
text
#040904
muted
#797B79

Preview Lab

Preview with #12461F

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

Preview Lab → · Contrast checker → · Palette generator →

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