#12541B#12541B

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

Color values

HEX#12541B
RGBrgb(18, 84, 27)
HSLhsl(128, 65%, 20%)
HSVhsv(128, 79%, 33%)
CMYKcmyk(78.6%, 0%, 67.9%, 67.1%)
CIE-LABlab(30.75, -33.34, 26.89)
CIE-LCHlch(30.75, 42.84, 141.11°)
OKLaboklab(39.2% -0.0901 0.0629)
OKLCHoklch(39.2% 0.11 145.1)
XYZxyz(3.6174, 6.5480, 2.1099)
Luminance0.0655 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12541B #54124B
analogous
#2A5412 #12541B #12543C
triadic
#12541B #1B1254 #541B12
tetradic
#12541B #122A54 #54124B #543C12
square
#12541B #122A54 #54124B #543C12
split-complementary
#12541B #3C1254 #54122A
monochromatic
#051908 #07220B #12541B #1D862B #28B93B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##12541B#FFFFFF#000000##FFFFFF
##12541B1.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)
#564C14
Deuteranopia (green-blind)
#4E4620
Tritanopia (blue-blind)
#005248
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #12541b;
/* rgb */ color: rgb(18, 84, 27);
/* oklch */ color: oklch(39.2% 0.110 145.1);
Tailwind
colors: {
  custom: {
    50: '#5c855a',
    500: '#12541b',
    950: '#000000',
  },
}
SCSS
$custom: #12541b;
$custom-light: #5c855a;
$custom-dark: #000000;
JSON
{
  "hex": "#12541b",
  "rgb": {
    "r": 18,
    "g": 84,
    "b": 27
  },
  "hsl": {
    "h": 128.182,
    "s": 64.706,
    "l": 20
  },
  "oklch": {
    "l": 0.39201,
    "c": 0.10985,
    "h": 145.1
  },
  "luminance": 0.06548
}

Semantic roles & 50–950 ramp

primary
#12541B
secondary
#8D3581
accent
#40D1E8
background
#F5F8F5
surface
#E9EFE9
border
#C5CAC5
text
#040B04
muted
#797C79

Preview Lab

Preview with #12541B

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

Preview Lab → · Contrast checker → · Palette generator →

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