#12490F#12490F

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

Color values

HEX#12490F
RGBrgb(18, 73, 15)
HSLhsl(117, 66%, 17%)
HSVhsv(117, 79%, 29%)
CMYKcmyk(75.3%, 0%, 79.5%, 71.4%)
CIE-LABlab(26.53, -30.41, 28.09)
CIE-LCHlch(26.53, 41.40, 137.27°)
OKLaboklab(35.66% -0.0827 0.0639)
OKLCHoklch(35.66% 0.105 142.3)
XYZxyz(2.7181, 4.9279, 1.2598)
Luminance0.0493 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12490F #460F49
analogous
#2F490F #12490F #0F4929
triadic
#12490F #0F1249 #490F12
tetradic
#12490F #0F2F49 #460F49 #49290F
square
#12490F #0F2F49 #460F49 #49290F
split-complementary
#12490F #290F49 #490F2F
monochromatic
#061905 #061905 #12490F #1F7C19 #2BAF24

Accessibility & contrast

On white

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

On black

1.99
#12490F on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##12490F#FFFFFF#000000##FFFFFF
##12490F1.0010.581.9910.58
#FFFFFF10.581.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B4106
Deuteranopia (green-blind)
#443D15
Tritanopia (blue-blind)
#05473E
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #12490f;
/* rgb */ color: rgb(18, 73, 15);
/* oklch */ color: oklch(35.7% 0.105 142.3);
Tailwind
colors: {
  custom: {
    50: '#597c51',
    500: '#12490f',
    950: '#000000',
  },
}
SCSS
$custom: #12490f;
$custom-light: #597c51;
$custom-dark: #000000;
JSON
{
  "hex": "#12490f",
  "rgb": {
    "r": 18,
    "g": 73,
    "b": 15
  },
  "hsl": {
    "h": 116.897,
    "s": 65.909,
    "l": 17.255
  },
  "oklch": {
    "l": 0.3566,
    "c": 0.10453,
    "h": 142.3
  },
  "luminance": 0.04928
}

Semantic roles & 50–950 ramp

primary
#12490F
secondary
#7F3083
accent
#3FE9E0
background
#F5F7F4
surface
#E9EEE7
border
#C5C9C3
text
#040902
muted
#797B78

Preview Lab

Preview with #12490F

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

Preview Lab → · Contrast checker → · Palette generator →

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