#12481C#12481C

#12481C is a dark, moderate green. Relative luminance 0.048; OKLCH L 35.5% C 0.092 H 146.5°. Best body text is #FFFFFF at 10.66:1 contrast (WCAG AA passes).

Color values

HEX#12481C
RGBrgb(18, 72, 28)
HSLhsl(131, 60%, 18%)
HSVhsv(131, 75%, 28%)
CMYKcmyk(75%, 0%, 61.1%, 71.8%)
CIE-LABlab(26.29, -28.32, 21.16)
CIE-LCHlch(26.29, 35.35, 143.23°)
OKLaboklab(35.51% -0.0764 0.0506)
OKLCHoklch(35.51% 0.092 146.5)
XYZxyz(2.7762, 4.8469, 1.8876)
Luminance0.0485 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12481C #48123E
analogous
#234812 #12481C #124837
triadic
#12481C #1C1248 #481C12
tetradic
#12481C #122348 #48123E #483712
square
#12481C #122348 #48123E #483712
split-complementary
#12481C #371248 #481223
monochromatic
#06180A #06180A #12481C #1E792F #2AAA42

Accessibility & contrast

On white

10.66
#12481C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#12481C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #12481C
10.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12481C#FFFFFF#000000##FFFFFF
##12481C1.0010.661.9710.66
#FFFFFF10.661.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#494118
Deuteranopia (green-blind)
#433C1F
Tritanopia (blue-blind)
#02463E
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #12481c;
/* rgb */ color: rgb(18, 72, 28);
/* oklch */ color: oklch(35.5% 0.092 146.5);
Tailwind
colors: {
  custom: {
    50: '#587c59',
    500: '#12481c',
    950: '#000000',
  },
}
SCSS
$custom: #12481c;
$custom-light: #587c59;
$custom-dark: #000000;
JSON
{
  "hex": "#12481c",
  "rgb": {
    "r": 18,
    "g": 72,
    "b": 28
  },
  "hsl": {
    "h": 131.111,
    "s": 60,
    "l": 17.647
  },
  "oklch": {
    "l": 0.35512,
    "c": 0.09164,
    "h": 146.5
  },
  "luminance": 0.04847
}

Semantic roles & 50–950 ramp

primary
#12481C
secondary
#813573
accent
#45C6E3
background
#F5F7F5
surface
#E9EEE9
border
#C5C9C5
text
#040903
muted
#797B78

Preview Lab

Preview with #12481C

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

Preview Lab → · Contrast checker → · Palette generator →

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