#12490C#12490C

#12490C is a dark, moderate green. Relative luminance 0.049; OKLCH L 35.6% C 0.107 H 141.7°. Best body text is #FFFFFF at 10.58:1 contrast (WCAG AA passes).

Color values

HEX#12490C
RGBrgb(18, 73, 12)
HSLhsl(114, 72%, 17%)
HSVhsv(114, 84%, 29%)
CMYKcmyk(75.3%, 0%, 83.6%, 71.4%)
CIE-LABlab(26.51, -30.68, 29.34)
CIE-LCHlch(26.51, 42.45, 136.29°)
OKLaboklab(35.63% -0.0837 0.066)
OKLCHoklch(35.63% 0.107 141.7)
XYZxyz(2.6982, 4.9199, 1.1552)
Luminance0.0492 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12490C #430C49
analogous
#31490C #12490C #0C4925
triadic
#12490C #0C1249 #490C12
tetradic
#12490C #0C3149 #430C49 #49250C
square
#12490C #0C3149 #430C49 #49250C
split-complementary
#12490C #250C49 #490C31
monochromatic
#061A04 #061A04 #12490C #1F7E15 #2CB21D

Accessibility & contrast

On white

10.58
#12490C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#12490C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #12490C
10.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12490C#FFFFFF#000000##FFFFFF
##12490C1.0010.581.9810.58
#FFFFFF10.581.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B4102
Deuteranopia (green-blind)
#453D13
Tritanopia (blue-blind)
#06463D
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #12490c;
/* rgb */ color: rgb(18, 73, 12);
/* oklch */ color: oklch(35.6% 0.107 141.7);
Tailwind
colors: {
  custom: {
    50: '#5a7c50',
    500: '#12490c',
    950: '#000000',
  },
}
SCSS
$custom: #12490c;
$custom-light: #5a7c50;
$custom-dark: #000000;
JSON
{
  "hex": "#12490c",
  "rgb": {
    "r": 18,
    "g": 73,
    "b": 12
  },
  "hsl": {
    "h": 114.098,
    "s": 71.765,
    "l": 16.667
  },
  "oklch": {
    "l": 0.35634,
    "c": 0.10657,
    "h": 141.7
  },
  "luminance": 0.0492
}

Semantic roles & 50–950 ramp

primary
#12490C
secondary
#7C2C85
accent
#39EEDD
background
#F5F7F4
surface
#E9EEE7
border
#C5C9C3
text
#040902
muted
#797B78

Preview Lab

Preview with #12490C

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

Preview Lab → · Contrast checker → · Palette generator →

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