#12481A#12481A

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

Color values

HEX#12481A
RGBrgb(18, 72, 26)
HSLhsl(129, 60%, 18%)
HSVhsv(129, 75%, 28%)
CMYKcmyk(75%, 0%, 63.9%, 71.8%)
CIE-LABlab(26.27, -28.63, 22.25)
CIE-LCHlch(26.27, 36.26, 142.15°)
OKLaboklab(35.48% -0.0773 0.0528)
OKLCHoklch(35.48% 0.094 145.7)
XYZxyz(2.7531, 4.8376, 1.7657)
Luminance0.0484 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12481A #481240
analogous
#254812 #12481A #124835
triadic
#12481A #1A1248 #481A12
tetradic
#12481A #122548 #481240 #483512
square
#12481A #122548 #481240 #483512
split-complementary
#12481A #351248 #481225
monochromatic
#061809 #061809 #12481A #1E792C #2AAA3D

Accessibility & contrast

On white

10.67
#12481A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #12481A
10.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12481A#FFFFFF#000000##FFFFFF
##12481A1.0010.671.9710.67
#FFFFFF10.671.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#494115
Deuteranopia (green-blind)
#433C1E
Tritanopia (blue-blind)
#03463E
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #12481a;
/* rgb */ color: rgb(18, 72, 26);
/* oklch */ color: oklch(35.5% 0.094 145.7);
Tailwind
colors: {
  custom: {
    50: '#597c58',
    500: '#12481a',
    950: '#000000',
  },
}
SCSS
$custom: #12481a;
$custom-light: #597c58;
$custom-dark: #000000;
JSON
{
  "hex": "#12481a",
  "rgb": {
    "r": 18,
    "g": 72,
    "b": 26
  },
  "hsl": {
    "h": 128.889,
    "s": 60,
    "l": 17.647
  },
  "oklch": {
    "l": 0.35481,
    "c": 0.09364,
    "h": 145.7
  },
  "luminance": 0.04838
}

Semantic roles & 50–950 ramp

primary
#12481A
secondary
#813576
accent
#45CCE3
background
#F5F7F5
surface
#E9EEE9
border
#C5C9C5
text
#040903
muted
#797B78

Preview Lab

Preview with #12481A

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

Preview Lab → · Contrast checker → · Palette generator →

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