#12481F#12481F

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

Color values

HEX#12481F
RGBrgb(18, 72, 31)
HSLhsl(134, 60%, 18%)
HSVhsv(134, 75%, 28%)
CMYKcmyk(75%, 0%, 56.9%, 71.8%)
CIE-LABlab(26.34, -27.81, 19.48)
CIE-LCHlch(26.34, 33.96, 145.00°)
OKLaboklab(35.56% -0.075 0.0471)
OKLCHoklch(35.56% 0.089 147.9)
XYZxyz(2.8139, 4.8620, 2.0862)
Luminance0.0486 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12481F #48123B
analogous
#204812 #12481F #12483A
triadic
#12481F #1F1248 #481F12
tetradic
#12481F #122048 #48123B #483A12
square
#12481F #122048 #48123B #483A12
split-complementary
#12481F #3A1248 #481220
monochromatic
#06180B #06180B #12481F #1E7934 #2AAA49

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##12481F#FFFFFF#000000##FFFFFF
##12481F1.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)
#49411B
Deuteranopia (green-blind)
#423D22
Tritanopia (blue-blind)
#01463F
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #12481f;
/* rgb */ color: rgb(18, 72, 31);
/* oklch */ color: oklch(35.6% 0.089 147.9);
Tailwind
colors: {
  custom: {
    50: '#587c5b',
    500: '#12481f',
    950: '#000000',
  },
}
SCSS
$custom: #12481f;
$custom-light: #587c5b;
$custom-dark: #000000;
JSON
{
  "hex": "#12481f",
  "rgb": {
    "r": 18,
    "g": 72,
    "b": 31
  },
  "hsl": {
    "h": 134.444,
    "s": 60,
    "l": 17.647
  },
  "oklch": {
    "l": 0.35563,
    "c": 0.08852,
    "h": 147.9
  },
  "luminance": 0.04862
}

Semantic roles & 50–950 ramp

primary
#12481F
secondary
#81356F
accent
#45BDE3
background
#F5F7F5
surface
#E9EEE9
border
#C5C9C5
text
#040904
muted
#797B79

Preview Lab

Preview with #12481F

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

Preview Lab → · Contrast checker → · Palette generator →

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