#12450B#12450B

#12450B is a dark, moderate green. Relative luminance 0.044; OKLCH L 34.4% C 0.102 H 141.4°. Best body text is #FFFFFF at 11.16:1 contrast (WCAG AA passes).

Color values

HEX#12450B
RGBrgb(18, 69, 11)
HSLhsl(113, 73%, 16%)
HSVhsv(113, 84%, 27%)
CMYKcmyk(73.9%, 0%, 84.1%, 72.9%)
CIE-LABlab(24.98, -29.18, 28.23)
CIE-LCHlch(24.98, 40.60, 135.94°)
OKLaboklab(34.37% -0.0797 0.0635)
OKLCHoklch(34.37% 0.102 141.4)
XYZxyz(2.4379, 4.4088, 1.0390)
Luminance0.0441 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12450B #3E0B45
analogous
#2F450B #12450B #0B4521
triadic
#12450B #0B1245 #450B12
tetradic
#12450B #0B2F45 #3E0B45 #45210B
square
#12450B #0B2F45 #3E0B45 #45210B
split-complementary
#12450B #210B45 #450B2F
monochromatic
#071A04 #071A04 #12450B #207A13 #2EAF1C

Accessibility & contrast

On white

11.16
#12450B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#12450B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #12450B
11.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12450B#FFFFFF#000000##FFFFFF
##12450B1.0011.161.8811.16
#FFFFFF11.161.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#473E02
Deuteranopia (green-blind)
#413A11
Tritanopia (blue-blind)
#08433A
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #12450b;
/* rgb */ color: rgb(18, 69, 11);
/* oklch */ color: oklch(34.4% 0.102 141.4);
Tailwind
colors: {
  custom: {
    50: '#59794f',
    500: '#12450b',
    950: '#000000',
  },
}
SCSS
$custom: #12450b;
$custom-light: #59794f;
$custom-dark: #000000;
JSON
{
  "hex": "#12450b",
  "rgb": {
    "r": 18,
    "g": 69,
    "b": 11
  },
  "hsl": {
    "h": 112.759,
    "s": 72.5,
    "l": 15.686
  },
  "oklch": {
    "l": 0.34367,
    "c": 0.1019,
    "h": 141.4
  },
  "luminance": 0.04409
}

Semantic roles & 50–950 ramp

primary
#12450B
secondary
#772A81
accent
#39EFD9
background
#F5F7F4
surface
#E9EDE7
border
#C5C8C3
text
#040902
muted
#797B78

Preview Lab

Preview with #12450B

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

Preview Lab → · Contrast checker → · Palette generator →

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