#12451E#12451E

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

Color values

HEX#12451E
RGBrgb(18, 69, 30)
HSLhsl(134, 59%, 17%)
HSVhsv(134, 74%, 27%)
CMYKcmyk(73.9%, 0%, 56.5%, 72.9%)
CIE-LABlab(25.19, -26.68, 18.65)
CIE-LCHlch(25.19, 32.55, 145.04°)
OKLaboklab(34.61% -0.072 0.0452)
OKLCHoklch(34.61% 0.085 147.9)
XYZxyz(2.6117, 4.4783, 1.9548)
Luminance0.0448 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12451E #451239
analogous
#1F4512 #12451E #124538
triadic
#12451E #1E1245 #451E12
tetradic
#12451E #121F45 #451239 #453812
square
#12451E #121F45 #451239 #453812
split-complementary
#12451E #381245 #45121F
monochromatic
#06180B #06180B #12451E #1F7633 #2BA648

Accessibility & contrast

On white

11.08
#12451E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#12451E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #12451E
11.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12451E#FFFFFF#000000##FFFFFF
##12451E1.0011.081.9011.08
#FFFFFF11.081.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#463E1B
Deuteranopia (green-blind)
#3F3A21
Tritanopia (blue-blind)
#02433C
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #12451e;
/* rgb */ color: rgb(18, 69, 30);
/* oklch */ color: oklch(34.6% 0.085 147.9);
Tailwind
colors: {
  custom: {
    50: '#58795a',
    500: '#12451e',
    950: '#000000',
  },
}
SCSS
$custom: #12451e;
$custom-light: #58795a;
$custom-dark: #000000;
JSON
{
  "hex": "#12451e",
  "rgb": {
    "r": 18,
    "g": 69,
    "b": 30
  },
  "hsl": {
    "h": 134.118,
    "s": 58.621,
    "l": 17.059
  },
  "oklch": {
    "l": 0.34613,
    "c": 0.08495,
    "h": 147.9
  },
  "luminance": 0.04479
}

Semantic roles & 50–950 ramp

primary
#12451E
secondary
#7E356D
accent
#46BDE2
background
#F5F7F5
surface
#E9EDE9
border
#C5C8C5
text
#040904
muted
#797B79

Preview Lab

Preview with #12451E

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

Preview Lab → · Contrast checker → · Palette generator →

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