#12482C#12482C

#12482C is a dark, moderate green. Relative luminance 0.049; OKLCH L 35.8% C 0.074 H 156.4°. Best body text is #FFFFFF at 10.56:1 contrast (WCAG AA passes).

Color values

HEX#12482C
RGBrgb(18, 72, 44)
HSLhsl(149, 60%, 18%)
HSVhsv(149, 75%, 28%)
CMYKcmyk(75%, 0%, 38.9%, 71.8%)
CIE-LABlab(26.58, -25.14, 11.83)
CIE-LCHlch(26.58, 27.78, 154.79°)
OKLaboklab(35.84% -0.0681 0.0298)
OKLCHoklch(35.84% 0.074 156.4)
XYZxyz(3.0212, 4.9448, 3.1776)
Luminance0.0495 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12482C #48122E
analogous
#134812 #12482C #124847
triadic
#12482C #2C1248 #482C12
tetradic
#12482C #121348 #48122E #484712
square
#12482C #121348 #48122E #484712
split-complementary
#12482C #471248 #481213
monochromatic
#06180F #06180F #12482C #1E794A #2AAA68

Accessibility & contrast

On white

10.56
#12482C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#12482C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #12482C
10.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12482C#FFFFFF#000000##FFFFFF
##12482C1.0010.561.9910.56
#FFFFFF10.561.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#48422A
Deuteranopia (green-blind)
#413D2E
Tritanopia (blue-blind)
#004741
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #12482c;
/* rgb */ color: rgb(18, 72, 44);
/* oklch */ color: oklch(35.8% 0.074 156.4);
Tailwind
colors: {
  custom: {
    50: '#587b65',
    500: '#12482c',
    950: '#000000',
  },
}
SCSS
$custom: #12482c;
$custom-light: #587b65;
$custom-dark: #000000;
JSON
{
  "hex": "#12482c",
  "rgb": {
    "r": 18,
    "g": 72,
    "b": 44
  },
  "hsl": {
    "h": 148.889,
    "s": 60,
    "l": 17.647
  },
  "oklch": {
    "l": 0.35838,
    "c": 0.07436,
    "h": 156.4
  },
  "luminance": 0.04945
}

Semantic roles & 50–950 ramp

primary
#12482C
secondary
#81355C
accent
#4597E3
background
#F5F7F6
surface
#E9EEEB
border
#C5C9C6
text
#040905
muted
#797B7A

Preview Lab

Preview with #12482C

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

Preview Lab → · Contrast checker → · Palette generator →

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