#12492D#12492D

#12492D is a dark, moderate green. Relative luminance 0.051; OKLCH L 36.2% C 0.075 H 156.8°. Best body text is #FFFFFF at 10.41:1 contrast (WCAG AA passes).

Color values

HEX#12492D
RGBrgb(18, 73, 45)
HSLhsl(149, 60%, 18%)
HSVhsv(149, 75%, 29%)
CMYKcmyk(75.3%, 0%, 38.4%, 71.4%)
CIE-LABlab(26.97, -25.37, 11.73)
CIE-LCHlch(26.97, 27.95, 155.18°)
OKLaboklab(36.17% -0.0688 0.0295)
OKLCHoklch(36.17% 0.075 156.8)
XYZxyz(3.1054, 5.0828, 3.2995)
Luminance0.0508 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12492D #49122E
analogous
#124912 #12492D #124949
triadic
#12492D #2D1249 #492D12
tetradic
#12492D #121249 #49122E #494912
square
#12492D #121249 #49122E #494912
split-complementary
#12492D #491249 #491212
monochromatic
#06190F #06190F #12492D #1E7A4B #2AAB6A

Accessibility & contrast

On white

10.41
#12492D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #12492D
10.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12492D#FFFFFF#000000##FFFFFF
##12492D1.0010.412.0210.41
#FFFFFF10.411.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#48432B
Deuteranopia (green-blind)
#413E2F
Tritanopia (blue-blind)
#004842
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #12492d;
/* rgb */ color: rgb(18, 73, 45);
/* oklch */ color: oklch(36.2% 0.075 156.8);
Tailwind
colors: {
  custom: {
    50: '#587c66',
    500: '#12492d',
    950: '#000000',
  },
}
SCSS
$custom: #12492d;
$custom-light: #587c66;
$custom-dark: #000000;
JSON
{
  "hex": "#12492d",
  "rgb": {
    "r": 18,
    "g": 73,
    "b": 45
  },
  "hsl": {
    "h": 149.455,
    "s": 60.44,
    "l": 17.843
  },
  "oklch": {
    "l": 0.36168,
    "c": 0.07486,
    "h": 156.8
  },
  "luminance": 0.05083
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #12492D

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

Preview Lab → · Contrast checker → · Palette generator →

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