#12451B#12451B

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

Color values

HEX#12451B
RGBrgb(18, 69, 27)
HSLhsl(131, 59%, 17%)
HSVhsv(131, 74%, 27%)
CMYKcmyk(73.9%, 0%, 60.9%, 72.9%)
CIE-LABlab(25.15, -27.19, 20.35)
CIE-LCHlch(25.15, 33.96, 143.19°)
OKLaboklab(34.56% -0.0734 0.0487)
OKLCHoklch(34.56% 0.088 146.4)
XYZxyz(2.5752, 4.4637, 1.7626)
Luminance0.0446 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12451B #45123C
analogous
#234512 #12451B #124535
triadic
#12451B #1B1245 #451B12
tetradic
#12451B #122345 #45123C #453512
square
#12451B #122345 #45123C #453512
split-complementary
#12451B #351245 #451223
monochromatic
#061809 #061809 #12451B #1F762E #2BA641

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##12451B#FFFFFF#000000##FFFFFF
##12451B1.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)
#463E17
Deuteranopia (green-blind)
#403A1E
Tritanopia (blue-blind)
#04433C
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #12451b;
/* rgb */ color: rgb(18, 69, 27);
/* oklch */ color: oklch(34.6% 0.088 146.4);
Tailwind
colors: {
  custom: {
    50: '#587958',
    500: '#12451b',
    950: '#000000',
  },
}
SCSS
$custom: #12451b;
$custom-light: #587958;
$custom-dark: #000000;
JSON
{
  "hex": "#12451b",
  "rgb": {
    "r": 18,
    "g": 69,
    "b": 27
  },
  "hsl": {
    "h": 130.588,
    "s": 58.621,
    "l": 17.059
  },
  "oklch": {
    "l": 0.34561,
    "c": 0.08811,
    "h": 146.4
  },
  "luminance": 0.04464
}

Semantic roles & 50–950 ramp

primary
#12451B
secondary
#7E3571
accent
#46C6E2
background
#F5F7F5
surface
#E9EDE9
border
#C5C8C5
text
#040903
muted
#797B78

Preview Lab

Preview with #12451B

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

Preview Lab → · Contrast checker → · Palette generator →

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