#12481E#12481E

#12481E is a dark, moderate green. Relative luminance 0.049; OKLCH L 35.5% C 0.090 H 147.4°. Best body text is #FFFFFF at 10.65:1 contrast (WCAG AA passes).

Color values

HEX#12481E
RGBrgb(18, 72, 30)
HSLhsl(133, 60%, 18%)
HSVhsv(133, 75%, 28%)
CMYKcmyk(75%, 0%, 58.3%, 71.8%)
CIE-LABlab(26.32, -27.99, 20.04)
CIE-LCHlch(26.32, 34.42, 144.39°)
OKLaboklab(35.55% -0.0755 0.0483)
OKLCHoklch(35.55% 0.09 147.4)
XYZxyz(2.8010, 4.8568, 2.0179)
Luminance0.0486 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12481E #48123C
analogous
#214812 #12481E #124839
triadic
#12481E #1E1248 #481E12
tetradic
#12481E #122148 #48123C #483912
square
#12481E #122148 #48123C #483912
split-complementary
#12481E #391248 #481221
monochromatic
#06180A #06180A #12481E #1E7932 #2AAA47

Accessibility & contrast

On white

10.65
#12481E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #12481E
10.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12481E#FFFFFF#000000##FFFFFF
##12481E1.0010.651.9710.65
#FFFFFF10.651.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#49411A
Deuteranopia (green-blind)
#423C21
Tritanopia (blue-blind)
#01463E
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #12481e;
/* rgb */ color: rgb(18, 72, 30);
/* oklch */ color: oklch(35.5% 0.090 147.4);
Tailwind
colors: {
  custom: {
    50: '#587c5b',
    500: '#12481e',
    950: '#000000',
  },
}
SCSS
$custom: #12481e;
$custom-light: #587c5b;
$custom-dark: #000000;
JSON
{
  "hex": "#12481e",
  "rgb": {
    "r": 18,
    "g": 72,
    "b": 30
  },
  "hsl": {
    "h": 133.333,
    "s": 60,
    "l": 17.647
  },
  "oklch": {
    "l": 0.35545,
    "c": 0.08958,
    "h": 147.4
  },
  "luminance": 0.04857
}

Semantic roles & 50–950 ramp

primary
#12481E
secondary
#813570
accent
#45C0E3
background
#F5F7F5
surface
#E9EEE9
border
#C5C9C5
text
#040904
muted
#797B79

Preview Lab

Preview with #12481E

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

Preview Lab → · Contrast checker → · Palette generator →

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