#12541C#12541C

#12541C is a dark, moderate green. Relative luminance 0.066; OKLCH L 39.2% C 0.109 H 145.4°. Best body text is #FFFFFF at 9.09:1 contrast (WCAG AA passes).

Color values

HEX#12541C
RGBrgb(18, 84, 28)
HSLhsl(129, 65%, 20%)
HSVhsv(129, 79%, 33%)
CMYKcmyk(78.6%, 0%, 66.7%, 67.1%)
CIE-LABlab(30.77, -33.21, 26.39)
CIE-LCHlch(30.77, 42.42, 141.53°)
OKLaboklab(39.21% -0.0896 0.0619)
OKLCHoklch(39.21% 0.109 145.4)
XYZxyz(3.6291, 6.5527, 2.1719)
Luminance0.0655 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12541C #54124A
analogous
#295412 #12541C #12543D
triadic
#12541C #1C1254 #541C12
tetradic
#12541C #122954 #54124A #543D12
square
#12541C #122954 #54124A #543D12
split-complementary
#12541C #3D1254 #541229
monochromatic
#051908 #07220B #12541C #1D862D #28B93E

Accessibility & contrast

On white

9.09
#12541C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #12541C
9.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12541C#FFFFFF#000000##FFFFFF
##12541C1.009.092.319.09
#FFFFFF9.091.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#554C16
Deuteranopia (green-blind)
#4E4621
Tritanopia (blue-blind)
#005248
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #12541c;
/* rgb */ color: rgb(18, 84, 28);
/* oklch */ color: oklch(39.2% 0.109 145.4);
Tailwind
colors: {
  custom: {
    50: '#5c855a',
    500: '#12541c',
    950: '#000000',
  },
}
SCSS
$custom: #12541c;
$custom-light: #5c855a;
$custom-dark: #000000;
JSON
{
  "hex": "#12541c",
  "rgb": {
    "r": 18,
    "g": 84,
    "b": 28
  },
  "hsl": {
    "h": 129.091,
    "s": 64.706,
    "l": 20
  },
  "oklch": {
    "l": 0.39214,
    "c": 0.10896,
    "h": 145.4
  },
  "luminance": 0.06553
}

Semantic roles & 50–950 ramp

primary
#12541C
secondary
#8D357F
accent
#40CEE8
background
#F5F8F5
surface
#E9EFE9
border
#C5CAC5
text
#040B04
muted
#797C79

Preview Lab

Preview with #12541C

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

Preview Lab → · Contrast checker → · Palette generator →

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