#12541A#12541A

#12541A is a dark, moderate green. Relative luminance 0.065; OKLCH L 39.2% C 0.111 H 144.8°. Best body text is #FFFFFF at 9.10:1 contrast (WCAG AA passes).

Color values

HEX#12541A
RGBrgb(18, 84, 26)
HSLhsl(127, 65%, 20%)
HSVhsv(127, 79%, 33%)
CMYKcmyk(78.6%, 0%, 69%, 67.1%)
CIE-LABlab(30.74, -33.47, 27.39)
CIE-LCHlch(30.74, 43.25, 140.71°)
OKLaboklab(39.19% -0.0905 0.0638)
OKLCHoklch(39.19% 0.111 144.8)
XYZxyz(3.6060, 6.5434, 2.0500)
Luminance0.0654 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12541A #54124C
analogous
#2B5412 #12541A #12543B
triadic
#12541A #1A1254 #541A12
tetradic
#12541A #122B54 #54124C #543B12
square
#12541A #122B54 #54124C #543B12
split-complementary
#12541A #3B1254 #54122B
monochromatic
#051908 #07220A #12541A #1D862A #28B939

Accessibility & contrast

On white

9.10
#12541A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#12541A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #12541A
9.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12541A#FFFFFF#000000##FFFFFF
##12541A1.009.102.319.10
#FFFFFF9.101.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#564C13
Deuteranopia (green-blind)
#4E461F
Tritanopia (blue-blind)
#005248
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #12541a;
/* rgb */ color: rgb(18, 84, 26);
/* oklch */ color: oklch(39.2% 0.111 144.8);
Tailwind
colors: {
  custom: {
    50: '#5c8559',
    500: '#12541a',
    950: '#000000',
  },
}
SCSS
$custom: #12541a;
$custom-light: #5c8559;
$custom-dark: #000000;
JSON
{
  "hex": "#12541a",
  "rgb": {
    "r": 18,
    "g": 84,
    "b": 26
  },
  "hsl": {
    "h": 127.273,
    "s": 64.706,
    "l": 20
  },
  "oklch": {
    "l": 0.39188,
    "c": 0.11071,
    "h": 144.8
  },
  "luminance": 0.06544
}

Semantic roles & 50–950 ramp

primary
#12541A
secondary
#8D3582
accent
#40D3E8
background
#F5F8F5
surface
#E9EFE9
border
#C5CAC5
text
#050B04
muted
#797C79

Preview Lab

Preview with #12541A

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

Preview Lab → · Contrast checker → · Palette generator →

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