#12450C#12450C

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

Color values

HEX#12450C
RGBrgb(18, 69, 12)
HSLhsl(114, 70%, 16%)
HSVhsv(114, 83%, 27%)
CMYKcmyk(73.9%, 0%, 82.6%, 72.9%)
CIE-LABlab(24.99, -29.09, 27.82)
CIE-LCHlch(24.99, 40.25, 136.28°)
OKLaboklab(34.38% -0.0794 0.0628)
OKLCHoklch(34.38% 0.101 141.6)
XYZxyz(2.4438, 4.4111, 1.0704)
Luminance0.0441 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12450C #3F0C45
analogous
#2E450C #12450C #0C4522
triadic
#12450C #0C1245 #450C12
tetradic
#12450C #0C2E45 #3F0C45 #45220C
square
#12450C #0C2E45 #3F0C45 #45220C
split-complementary
#12450C #220C45 #450C2E
monochromatic
#071A05 #071A05 #12450C #207915 #2DAD1E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##12450C#FFFFFF#000000##FFFFFF
##12450C1.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)
#473E03
Deuteranopia (green-blind)
#413A12
Tritanopia (blue-blind)
#08433A
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #12450c;
/* rgb */ color: rgb(18, 69, 12);
/* oklch */ color: oklch(34.4% 0.101 141.6);
Tailwind
colors: {
  custom: {
    50: '#59794f',
    500: '#12450c',
    950: '#000000',
  },
}
SCSS
$custom: #12450c;
$custom-light: #59794f;
$custom-dark: #000000;
JSON
{
  "hex": "#12450c",
  "rgb": {
    "r": 18,
    "g": 69,
    "b": 12
  },
  "hsl": {
    "h": 113.684,
    "s": 70.37,
    "l": 15.882
  },
  "oklch": {
    "l": 0.34375,
    "c": 0.10123,
    "h": 141.6
  },
  "luminance": 0.04411
}

Semantic roles & 50–950 ramp

primary
#12450C
secondary
#782C81
accent
#3BEDDA
background
#F5F7F4
surface
#E9EDE7
border
#C5C8C3
text
#040902
muted
#797B78

Preview Lab

Preview with #12450C

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

Preview Lab → · Contrast checker → · Palette generator →

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