#12480B#12480B

#12480B is a dark, moderate green. Relative luminance 0.048; OKLCH L 35.3% C 0.106 H 141.5°. Best body text is #FFFFFF at 10.73:1 contrast (WCAG AA passes).

Color values

HEX#12480B
RGBrgb(18, 72, 11)
HSLhsl(113, 73%, 16%)
HSVhsv(113, 85%, 28%)
CMYKcmyk(75%, 0%, 84.7%, 71.8%)
CIE-LABlab(26.12, -30.37, 29.36)
CIE-LCHlch(26.12, 42.24, 135.98°)
OKLaboklab(35.31% -0.0829 0.0659)
OKLCHoklch(35.31% 0.106 141.5)
XYZxyz(2.6271, 4.7872, 1.1021)
Luminance0.0479 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12480B #410B48
analogous
#31480B #12480B #0B4823
triadic
#12480B #0B1248 #480B12
tetradic
#12480B #0B3148 #410B48 #48230B
square
#12480B #0B3148 #410B48 #48230B
split-complementary
#12480B #230B48 #480B31
monochromatic
#071B04 #071B04 #12480B #1F7D13 #2DB21B

Accessibility & contrast

On white

10.73
#12480B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#12480B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #12480B
10.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12480B#FFFFFF#000000##FFFFFF
##12480B1.0010.731.9610.73
#FFFFFF10.731.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A4001
Deuteranopia (green-blind)
#443C12
Tritanopia (blue-blind)
#07453C
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #12480b;
/* rgb */ color: rgb(18, 72, 11);
/* oklch */ color: oklch(35.3% 0.106 141.5);
Tailwind
colors: {
  custom: {
    50: '#597c4f',
    500: '#12480b',
    950: '#000000',
  },
}
SCSS
$custom: #12480b;
$custom-light: #597c4f;
$custom-dark: #000000;
JSON
{
  "hex": "#12480b",
  "rgb": {
    "r": 18,
    "g": 72,
    "b": 11
  },
  "hsl": {
    "h": 113.115,
    "s": 73.494,
    "l": 16.275
  },
  "oklch": {
    "l": 0.35312,
    "c": 0.10588,
    "h": 141.5
  },
  "luminance": 0.04787
}

Semantic roles & 50–950 ramp

primary
#12480B
secondary
#7A2A84
accent
#38F0DB
background
#F5F7F4
surface
#E9EEE7
border
#C5C9C3
text
#040902
muted
#797B78

Preview Lab

Preview with #12480B

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

Preview Lab → · Contrast checker → · Palette generator →

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