#12452B#12452B

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

Color values

HEX#12452B
RGBrgb(18, 69, 43)
HSLhsl(149, 59%, 17%)
HSVhsv(149, 74%, 27%)
CMYKcmyk(73.9%, 0%, 37.7%, 72.9%)
CIE-LABlab(25.44, -23.95, 10.93)
CIE-LCHlch(25.44, 26.33, 155.47°)
OKLaboklab(34.9% -0.065 0.0276)
OKLCHoklch(34.9% 0.071 157)
XYZxyz(2.8134, 4.5590, 3.0167)
Luminance0.0456 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12452B #45122C
analogous
#124512 #12452B #124545
triadic
#12452B #2B1245 #452B12
tetradic
#12452B #121245 #45122C #454512
square
#12452B #121245 #45122C #454512
split-complementary
#12452B #451245 #451212
monochromatic
#06180F #06180F #12452B #1F7649 #2BA667

Accessibility & contrast

On white

10.98
#12452B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #12452B
10.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12452B#FFFFFF#000000##FFFFFF
##12452B1.0010.981.9110.98
#FFFFFF10.981.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF10.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#443F29
Deuteranopia (green-blind)
#3E3A2D
Tritanopia (blue-blind)
#00443E
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #12452b;
/* rgb */ color: rgb(18, 69, 43);
/* oklch */ color: oklch(34.9% 0.071 157.0);
Tailwind
colors: {
  custom: {
    50: '#577964',
    500: '#12452b',
    950: '#000000',
  },
}
SCSS
$custom: #12452b;
$custom-light: #577964;
$custom-dark: #000000;
JSON
{
  "hex": "#12452b",
  "rgb": {
    "r": 18,
    "g": 69,
    "b": 43
  },
  "hsl": {
    "h": 149.412,
    "s": 58.621,
    "l": 17.059
  },
  "oklch": {
    "l": 0.34896,
    "c": 0.07063,
    "h": 157
  },
  "luminance": 0.04559
}

Semantic roles & 50–950 ramp

primary
#12452B
secondary
#7E355A
accent
#4695E2
background
#F5F7F6
surface
#E9EDEB
border
#C5C8C6
text
#030905
muted
#787B7A

Preview Lab

Preview with #12452B

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

Preview Lab → · Contrast checker → · Palette generator →

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