#12452A#12452A

#12452A is a dark, moderate green. Relative luminance 0.046; OKLCH L 34.9% C 0.072 H 156.1°. Best body text is #FFFFFF at 10.99:1 contrast (WCAG AA passes).

Color values

HEX#12452A
RGBrgb(18, 69, 42)
HSLhsl(148, 59%, 17%)
HSVhsv(148, 74%, 27%)
CMYKcmyk(73.9%, 0%, 39.1%, 72.9%)
CIE-LABlab(25.42, -24.19, 11.54)
CIE-LCHlch(25.42, 26.80, 154.50°)
OKLaboklab(34.87% -0.0656 0.029)
OKLCHoklch(34.87% 0.072 156.1)
XYZxyz(2.7952, 4.5517, 2.9213)
Luminance0.0455 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12452A #45122D
analogous
#144512 #12452A #124544
triadic
#12452A #2A1245 #452A12
tetradic
#12452A #121445 #45122D #454412
square
#12452A #121445 #45122D #454412
split-complementary
#12452A #441245 #451214
monochromatic
#06180F #06180F #12452A #1F7648 #2BA665

Accessibility & contrast

On white

10.99
#12452A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#12452A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #12452A
10.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12452A#FFFFFF#000000##FFFFFF
##12452A1.0010.991.9110.99
#FFFFFF10.991.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF10.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#453F28
Deuteranopia (green-blind)
#3E3A2C
Tritanopia (blue-blind)
#00443E
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #12452a;
/* rgb */ color: rgb(18, 69, 42);
/* oklch */ color: oklch(34.9% 0.072 156.1);
Tailwind
colors: {
  custom: {
    50: '#577963',
    500: '#12452a',
    950: '#000000',
  },
}
SCSS
$custom: #12452a;
$custom-light: #577963;
$custom-dark: #000000;
JSON
{
  "hex": "#12452a",
  "rgb": {
    "r": 18,
    "g": 69,
    "b": 42
  },
  "hsl": {
    "h": 148.235,
    "s": 58.621,
    "l": 17.059
  },
  "oklch": {
    "l": 0.34871,
    "c": 0.07172,
    "h": 156.1
  },
  "luminance": 0.04552
}

Semantic roles & 50–950 ramp

primary
#12452A
secondary
#7E355C
accent
#4698E2
background
#F5F7F5
surface
#E9EDEA
border
#C5C8C6
text
#030905
muted
#787B79

Preview Lab

Preview with #12452A

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

Preview Lab → · Contrast checker → · Palette generator →

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