#12481B#12481B

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

Color values

HEX#12481B
RGBrgb(18, 72, 27)
HSLhsl(130, 60%, 18%)
HSVhsv(130, 75%, 28%)
CMYKcmyk(75%, 0%, 62.5%, 71.8%)
CIE-LABlab(26.28, -28.48, 21.71)
CIE-LCHlch(26.28, 35.81, 142.68°)
OKLaboklab(35.5% -0.0769 0.0517)
OKLCHoklch(35.5% 0.093 146.1)
XYZxyz(2.7645, 4.8422, 1.8256)
Luminance0.0484 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12481B #48123F
analogous
#244812 #12481B #124836
triadic
#12481B #1B1248 #481B12
tetradic
#12481B #122448 #48123F #483612
square
#12481B #122448 #48123F #483612
split-complementary
#12481B #361248 #481224
monochromatic
#061809 #061809 #12481B #1E792D #2AAA40

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##12481B#FFFFFF#000000##FFFFFF
##12481B1.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)
#494117
Deuteranopia (green-blind)
#433C1E
Tritanopia (blue-blind)
#02463E
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #12481b;
/* rgb */ color: rgb(18, 72, 27);
/* oklch */ color: oklch(35.5% 0.093 146.1);
Tailwind
colors: {
  custom: {
    50: '#587c59',
    500: '#12481b',
    950: '#000000',
  },
}
SCSS
$custom: #12481b;
$custom-light: #587c59;
$custom-dark: #000000;
JSON
{
  "hex": "#12481b",
  "rgb": {
    "r": 18,
    "g": 72,
    "b": 27
  },
  "hsl": {
    "h": 130,
    "s": 60,
    "l": 17.647
  },
  "oklch": {
    "l": 0.35496,
    "c": 0.09265,
    "h": 146.1
  },
  "luminance": 0.04842
}

Semantic roles & 50–950 ramp

primary
#12481B
secondary
#813574
accent
#45C9E3
background
#F5F7F5
surface
#E9EEE9
border
#C5C9C5
text
#040903
muted
#797B78

Preview Lab

Preview with #12481B

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

Preview Lab → · Contrast checker → · Palette generator →

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