#12480F#12480F

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

Color values

HEX#12480F
RGBrgb(18, 72, 15)
HSLhsl(117, 66%, 17%)
HSVhsv(117, 79%, 28%)
CMYKcmyk(75%, 0%, 79.2%, 71.8%)
CIE-LABlab(26.15, -30.01, 27.70)
CIE-LCHlch(26.15, 40.84, 137.30°)
OKLaboklab(35.35% -0.0817 0.0631)
OKLCHoklch(35.35% 0.103 142.3)
XYZxyz(2.6529, 4.7975, 1.2381)
Luminance0.0480 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12480F #450F48
analogous
#2F480F #12480F #0F4829
triadic
#12480F #0F1248 #480F12
tetradic
#12480F #0F2F48 #450F48 #48290F
square
#12480F #0F2F48 #450F48 #48290F
split-complementary
#12480F #290F48 #480F2F
monochromatic
#061905 #061905 #12480F #1F7B1A #2BAD24

Accessibility & contrast

On white

10.72
#12480F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #12480F
10.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12480F#FFFFFF#000000##FFFFFF
##12480F1.0010.721.9610.72
#FFFFFF10.721.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A4106
Deuteranopia (green-blind)
#433C15
Tritanopia (blue-blind)
#06463D
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #12480f;
/* rgb */ color: rgb(18, 72, 15);
/* oklch */ color: oklch(35.3% 0.103 142.3);
Tailwind
colors: {
  custom: {
    50: '#597c51',
    500: '#12480f',
    950: '#000000',
  },
}
SCSS
$custom: #12480f;
$custom-light: #597c51;
$custom-dark: #000000;
JSON
{
  "hex": "#12480f",
  "rgb": {
    "r": 18,
    "g": 72,
    "b": 15
  },
  "hsl": {
    "h": 116.842,
    "s": 65.517,
    "l": 17.059
  },
  "oklch": {
    "l": 0.35347,
    "c": 0.10318,
    "h": 142.3
  },
  "luminance": 0.04798
}

Semantic roles & 50–950 ramp

primary
#12480F
secondary
#7E3082
accent
#3FE8E0
background
#F5F7F4
surface
#E9EEE7
border
#C5C9C3
text
#040902
muted
#797B78

Preview Lab

Preview with #12480F

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

Preview Lab → · Contrast checker → · Palette generator →

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