#12541D#12541D

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

Color values

HEX#12541D
RGBrgb(18, 84, 29)
HSLhsl(130, 65%, 20%)
HSVhsv(130, 79%, 33%)
CMYKcmyk(78.6%, 0%, 65.5%, 67.1%)
CIE-LABlab(30.78, -33.07, 25.88)
CIE-LCHlch(30.78, 42.00, 141.95°)
OKLaboklab(39.23% -0.0892 0.0609)
OKLCHoklch(39.23% 0.108 145.7)
XYZxyz(3.6413, 6.5575, 2.2360)
Luminance0.0656 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12541D #541249
analogous
#285412 #12541D #12543E
triadic
#12541D #1D1254 #541D12
tetradic
#12541D #122854 #541249 #543E12
square
#12541D #122854 #541249 #543E12
split-complementary
#12541D #3E1254 #541228
monochromatic
#051909 #07220C #12541D #1D862E #28B940

Accessibility & contrast

On white

9.08
#12541D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #12541D
9.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12541D#FFFFFF#000000##FFFFFF
##12541D1.009.082.319.08
#FFFFFF9.081.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.081.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #12541d;
/* rgb */ color: rgb(18, 84, 29);
/* oklch */ color: oklch(39.2% 0.108 145.7);
Tailwind
colors: {
  custom: {
    50: '#5c855b',
    500: '#12541d',
    950: '#000000',
  },
}
SCSS
$custom: #12541d;
$custom-light: #5c855b;
$custom-dark: #000000;
JSON
{
  "hex": "#12541d",
  "rgb": {
    "r": 18,
    "g": 84,
    "b": 29
  },
  "hsl": {
    "h": 130,
    "s": 64.706,
    "l": 20
  },
  "oklch": {
    "l": 0.39227,
    "c": 0.10805,
    "h": 145.7
  },
  "luminance": 0.06558
}

Semantic roles & 50–950 ramp

primary
#12541D
secondary
#8D357E
accent
#40CCE8
background
#F5F8F5
surface
#E9EFE9
border
#C5CAC5
text
#040B04
muted
#797C79

Preview Lab

Preview with #12541D

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

Preview Lab → · Contrast checker → · Palette generator →

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