#12492A#12492A

#12492A is a dark, moderate green. Relative luminance 0.051; OKLCH L 36.1% C 0.078 H 154.4°. Best body text is #FFFFFF at 10.44:1 contrast (WCAG AA passes).

Color values

HEX#12492A
RGBrgb(18, 73, 42)
HSLhsl(146, 60%, 18%)
HSVhsv(146, 75%, 29%)
CMYKcmyk(75.3%, 0%, 42.5%, 71.4%)
CIE-LABlab(26.91, -26.06, 13.53)
CIE-LCHlch(26.91, 29.36, 152.56°)
OKLaboklab(36.1% -0.0704 0.0338)
OKLCHoklch(36.1% 0.078 154.4)
XYZxyz(3.0496, 5.0605, 3.0061)
Luminance0.0506 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12492A #491231
analogous
#154912 #12492A #124945
triadic
#12492A #2A1249 #492A12
tetradic
#12492A #121549 #491231 #494512
square
#12492A #121549 #491231 #494512
split-complementary
#12492A #451249 #491215
monochromatic
#06190E #06190E #12492A #1E7A46 #2AAB62

Accessibility & contrast

On white

10.44
#12492A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#12492A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #12492A
10.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12492A#FFFFFF#000000##FFFFFF
##12492A1.0010.442.0110.44
#FFFFFF10.441.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#494328
Deuteranopia (green-blind)
#423E2C
Tritanopia (blue-blind)
#004841
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #12492a;
/* rgb */ color: rgb(18, 73, 42);
/* oklch */ color: oklch(36.1% 0.078 154.4);
Tailwind
colors: {
  custom: {
    50: '#587c63',
    500: '#12492a',
    950: '#000000',
  },
}
SCSS
$custom: #12492a;
$custom-light: #587c63;
$custom-dark: #000000;
JSON
{
  "hex": "#12492a",
  "rgb": {
    "r": 18,
    "g": 73,
    "b": 42
  },
  "hsl": {
    "h": 146.182,
    "s": 60.44,
    "l": 17.843
  },
  "oklch": {
    "l": 0.36095,
    "c": 0.07813,
    "h": 154.4
  },
  "luminance": 0.05061
}

Semantic roles & 50–950 ramp

primary
#12492A
secondary
#823560
accent
#449EE4
background
#F5F7F5
surface
#E9EEEA
border
#C5C9C6
text
#040905
muted
#797B79

Preview Lab

Preview with #12492A

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

Preview Lab → · Contrast checker → · Palette generator →

#12492A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva