#12451C#12451C

#12451C is a dark, moderate green. Relative luminance 0.045; OKLCH L 34.6% C 0.087 H 146.9°. Best body text is #FFFFFF at 11.09:1 contrast (WCAG AA passes).

Color values

HEX#12451C
RGBrgb(18, 69, 28)
HSLhsl(132, 59%, 17%)
HSVhsv(132, 74%, 27%)
CMYKcmyk(73.9%, 0%, 59.4%, 72.9%)
CIE-LABlab(25.16, -27.02, 19.79)
CIE-LCHlch(25.16, 33.50, 143.78°)
OKLaboklab(34.58% -0.0729 0.0476)
OKLCHoklch(34.58% 0.087 146.9)
XYZxyz(2.5870, 4.4684, 1.8245)
Luminance0.0447 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12451C #45123B
analogous
#224512 #12451C #124536
triadic
#12451C #1C1245 #451C12
tetradic
#12451C #122245 #45123B #453612
square
#12451C #122245 #45123B #453612
split-complementary
#12451C #361245 #451222
monochromatic
#06180A #06180A #12451C #1F7630 #2BA643

Accessibility & contrast

On white

11.09
#12451C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#12451C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #12451C
11.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12451C#FFFFFF#000000##FFFFFF
##12451C1.0011.091.8911.09
#FFFFFF11.091.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#463E18
Deuteranopia (green-blind)
#403A1F
Tritanopia (blue-blind)
#03433C
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #12451c;
/* rgb */ color: rgb(18, 69, 28);
/* oklch */ color: oklch(34.6% 0.087 146.9);
Tailwind
colors: {
  custom: {
    50: '#587959',
    500: '#12451c',
    950: '#000000',
  },
}
SCSS
$custom: #12451c;
$custom-light: #587959;
$custom-dark: #000000;
JSON
{
  "hex": "#12451c",
  "rgb": {
    "r": 18,
    "g": 69,
    "b": 28
  },
  "hsl": {
    "h": 131.765,
    "s": 58.621,
    "l": 17.059
  },
  "oklch": {
    "l": 0.34578,
    "c": 0.08707,
    "h": 146.9
  },
  "luminance": 0.04469
}

Semantic roles & 50–950 ramp

primary
#12451C
secondary
#7E3570
accent
#46C3E2
background
#F5F7F5
surface
#E9EDE9
border
#C5C8C5
text
#040903
muted
#797B78

Preview Lab

Preview with #12451C

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

Preview Lab → · Contrast checker → · Palette generator →

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