#12491C#12491C

#12491C is a dark, moderate green. Relative luminance 0.050; OKLCH L 35.8% C 0.093 H 146.4°. Best body text is #FFFFFF at 10.52:1 contrast (WCAG AA passes).

Color values

HEX#12491C
RGBrgb(18, 73, 28)
HSLhsl(131, 60%, 18%)
HSVhsv(131, 75%, 29%)
CMYKcmyk(75.3%, 0%, 61.6%, 71.4%)
CIE-LABlab(26.67, -28.74, 21.61)
CIE-LCHlch(26.67, 35.96, 143.06°)
OKLaboklab(35.82% -0.0776 0.0516)
OKLCHoklch(35.82% 0.093 146.4)
XYZxyz(2.8414, 4.9772, 1.9093)
Luminance0.0498 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12491C #49123F
analogous
#234912 #12491C #124937
triadic
#12491C #1C1249 #491C12
tetradic
#12491C #122349 #49123F #493712
square
#12491C #122349 #49123F #493712
split-complementary
#12491C #371249 #491223
monochromatic
#061909 #061909 #12491C #1E7A2F #2AAB42

Accessibility & contrast

On white

10.52
#12491C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#12491C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #12491C
10.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12491C#FFFFFF#000000##FFFFFF
##12491C1.0010.522.0010.52
#FFFFFF10.521.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A4218
Deuteranopia (green-blind)
#433D1F
Tritanopia (blue-blind)
#01473F
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #12491c;
/* rgb */ color: rgb(18, 73, 28);
/* oklch */ color: oklch(35.8% 0.093 146.4);
Tailwind
colors: {
  custom: {
    50: '#597c59',
    500: '#12491c',
    950: '#000000',
  },
}
SCSS
$custom: #12491c;
$custom-light: #597c59;
$custom-dark: #000000;
JSON
{
  "hex": "#12491c",
  "rgb": {
    "r": 18,
    "g": 73,
    "b": 28
  },
  "hsl": {
    "h": 130.909,
    "s": 60.44,
    "l": 17.843
  },
  "oklch": {
    "l": 0.35823,
    "c": 0.09314,
    "h": 146.4
  },
  "luminance": 0.04978
}

Semantic roles & 50–950 ramp

primary
#12491C
secondary
#823574
accent
#44C7E4
background
#F5F7F5
surface
#E9EEE9
border
#C5C9C5
text
#040903
muted
#797B78

Preview Lab

Preview with #12491C

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

Preview Lab → · Contrast checker → · Palette generator →

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