#12492C#12492C

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

Color values

HEX#12492C
RGBrgb(18, 73, 44)
HSLhsl(148, 60%, 18%)
HSVhsv(148, 75%, 29%)
CMYKcmyk(75.3%, 0%, 39.7%, 71.4%)
CIE-LABlab(26.95, -25.60, 12.33)
CIE-LCHlch(26.95, 28.42, 154.28°)
OKLaboklab(36.14% -0.0693 0.031)
OKLCHoklch(36.14% 0.076 155.9)
XYZxyz(3.0863, 5.0752, 3.1993)
Luminance0.0508 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12492C #49122F
analogous
#134912 #12492C #124947
triadic
#12492C #2C1249 #492C12
tetradic
#12492C #121349 #49122F #494712
square
#12492C #121349 #49122F #494712
split-complementary
#12492C #471249 #491213
monochromatic
#06190F #06190F #12492C #1E7A4A #2AAB67

Accessibility & contrast

On white

10.42
#12492C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#12492C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #12492C
10.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12492C#FFFFFF#000000##FFFFFF
##12492C1.0010.422.0210.42
#FFFFFF10.421.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#49432A
Deuteranopia (green-blind)
#423E2E
Tritanopia (blue-blind)
#004842
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #12492c;
/* rgb */ color: rgb(18, 73, 44);
/* oklch */ color: oklch(36.1% 0.076 155.9);
Tailwind
colors: {
  custom: {
    50: '#587c65',
    500: '#12492c',
    950: '#000000',
  },
}
SCSS
$custom: #12492c;
$custom-light: #587c65;
$custom-dark: #000000;
JSON
{
  "hex": "#12492c",
  "rgb": {
    "r": 18,
    "g": 73,
    "b": 44
  },
  "hsl": {
    "h": 148.364,
    "s": 60.44,
    "l": 17.843
  },
  "oklch": {
    "l": 0.36143,
    "c": 0.07594,
    "h": 155.9
  },
  "luminance": 0.05076
}

Semantic roles & 50–950 ramp

primary
#12492C
secondary
#82355E
accent
#4498E4
background
#F5F7F6
surface
#E9EEEB
border
#C5C9C6
text
#040905
muted
#797B7A

Preview Lab

Preview with #12492C

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

Preview Lab → · Contrast checker → · Palette generator →

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