#12451A#12451A

#12451A is a dark, moderate green. Relative luminance 0.045; OKLCH L 34.5% C 0.089 H 146.0°. Best body text is #FFFFFF at 11.10:1 contrast (WCAG AA passes).

Color values

HEX#12451A
RGBrgb(18, 69, 26)
HSLhsl(129, 59%, 17%)
HSVhsv(129, 74%, 27%)
CMYKcmyk(73.9%, 0%, 62.3%, 72.9%)
CIE-LABlab(25.13, -27.35, 20.91)
CIE-LCHlch(25.13, 34.43, 142.60°)
OKLaboklab(34.54% -0.0739 0.0499)
OKLCHoklch(34.54% 0.089 146)
XYZxyz(2.5639, 4.4592, 1.7027)
Luminance0.0446 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12451A #45123D
analogous
#244512 #12451A #124534
triadic
#12451A #1A1245 #451A12
tetradic
#12451A #122445 #45123D #453412
square
#12451A #122445 #45123D #453412
split-complementary
#12451A #341245 #451224
monochromatic
#061809 #061809 #12451A #1F762C #2BA63F

Accessibility & contrast

On white

11.10
#12451A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #12451A
11.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12451A#FFFFFF#000000##FFFFFF
##12451A1.0011.101.8911.10
#FFFFFF11.101.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#463E16
Deuteranopia (green-blind)
#403A1D
Tritanopia (blue-blind)
#04433B
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #12451a;
/* rgb */ color: rgb(18, 69, 26);
/* oklch */ color: oklch(34.5% 0.089 146.0);
Tailwind
colors: {
  custom: {
    50: '#587958',
    500: '#12451a',
    950: '#000000',
  },
}
SCSS
$custom: #12451a;
$custom-light: #587958;
$custom-dark: #000000;
JSON
{
  "hex": "#12451a",
  "rgb": {
    "r": 18,
    "g": 69,
    "b": 26
  },
  "hsl": {
    "h": 129.412,
    "s": 58.621,
    "l": 17.059
  },
  "oklch": {
    "l": 0.34545,
    "c": 0.08914,
    "h": 146
  },
  "luminance": 0.04459
}

Semantic roles & 50–950 ramp

primary
#12451A
secondary
#7E3573
accent
#46C9E2
background
#F5F7F5
surface
#E9EDE9
border
#C5C8C5
text
#040903
muted
#797B78

Preview Lab

Preview with #12451A

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

Preview Lab → · Contrast checker → · Palette generator →

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