#12551B#12551B

#12551B is a dark, moderate green. Relative luminance 0.067; OKLCH L 39.5% C 0.111 H 145.0°. Best body text is #FFFFFF at 8.97:1 contrast (WCAG AA passes).

Color values

HEX#12551B
RGBrgb(18, 85, 27)
HSLhsl(128, 65%, 20%)
HSVhsv(128, 79%, 33%)
CMYKcmyk(78.8%, 0%, 68.2%, 66.7%)
CIE-LABlab(31.12, -33.73, 27.31)
CIE-LCHlch(31.12, 43.40, 141.01°)
OKLaboklab(39.51% -0.0911 0.0638)
OKLCHoklch(39.51% 0.111 145)
XYZxyz(3.6955, 6.7043, 2.1360)
Luminance0.0670 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12551B #55124C
analogous
#2A5512 #12551B #12553D
triadic
#12551B #1B1255 #551B12
tetradic
#12551B #122A55 #55124C #553D12
square
#12551B #122A55 #55124C #553D12
split-complementary
#12551B #3D1255 #55122A
monochromatic
#051908 #07220B #12551B #1D882B #27BA3B

Accessibility & contrast

On white

8.97
#12551B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#12551B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #12551B
8.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12551B#FFFFFF#000000##FFFFFF
##12551B1.008.972.348.97
#FFFFFF8.971.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#574C14
Deuteranopia (green-blind)
#4F4720
Tritanopia (blue-blind)
#005349
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #12551b;
/* rgb */ color: rgb(18, 85, 27);
/* oklch */ color: oklch(39.5% 0.111 145.0);
Tailwind
colors: {
  custom: {
    50: '#5c865a',
    500: '#12551b',
    950: '#000000',
  },
}
SCSS
$custom: #12551b;
$custom-light: #5c865a;
$custom-dark: #000000;
JSON
{
  "hex": "#12551b",
  "rgb": {
    "r": 18,
    "g": 85,
    "b": 27
  },
  "hsl": {
    "h": 128.06,
    "s": 65.049,
    "l": 20.196
  },
  "oklch": {
    "l": 0.39507,
    "c": 0.11122,
    "h": 145
  },
  "luminance": 0.06705
}

Semantic roles & 50–950 ramp

primary
#12551B
secondary
#8E3582
accent
#40D1E8
background
#F5F8F5
surface
#E9EFE9
border
#C5CAC5
text
#050B04
muted
#797C79

Preview Lab

Preview with #12551B

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

Preview Lab → · Contrast checker → · Palette generator →

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