#12550C#12550C

#12550C is a dark, vivid green. Relative luminance 0.067; OKLCH L 39.4% C 0.122 H 142.0°. Best body text is #FFFFFF at 9.01:1 contrast (WCAG AA passes).

Color values

HEX#12550C
RGBrgb(18, 85, 12)
HSLhsl(115, 75%, 19%)
HSVhsv(115, 86%, 33%)
CMYKcmyk(78.8%, 0%, 85.9%, 66.7%)
CIE-LABlab(31.00, -35.23, 33.70)
CIE-LCHlch(31.00, 48.75, 136.28°)
OKLaboklab(39.37% -0.096 0.0751)
OKLCHoklch(39.37% 0.122 142)
XYZxyz(3.5641, 6.6517, 1.4438)
Luminance0.0665 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12550C #4F0C55
analogous
#37550C #12550C #0C552B
triadic
#12550C #0C1255 #550C12
tetradic
#12550C #0C3755 #4F0C55 #552B0C
square
#12550C #0C3755 #4F0C55 #552B0C
split-complementary
#12550C #2B0C55 #550C37
monochromatic
#061B04 #071F04 #12550C #1D8B14 #29C01B

Accessibility & contrast

On white

9.01
#12550C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#12550C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #12550C
9.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12550C#FFFFFF#000000##FFFFFF
##12550C1.009.012.339.01
#FFFFFF9.011.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#574C00
Deuteranopia (green-blind)
#504715
Tritanopia (blue-blind)
#005248
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #12550c;
/* rgb */ color: rgb(18, 85, 12);
/* oklch */ color: oklch(39.4% 0.122 142.0);
Tailwind
colors: {
  custom: {
    50: '#5d8652',
    500: '#12550c',
    950: '#000000',
  },
}
SCSS
$custom: #12550c;
$custom-light: #5d8652;
$custom-dark: #000000;
JSON
{
  "hex": "#12550c",
  "rgb": {
    "r": 18,
    "g": 85,
    "b": 12
  },
  "hsl": {
    "h": 115.068,
    "s": 75.258,
    "l": 19.02
  },
  "oklch": {
    "l": 0.39365,
    "c": 0.12185,
    "h": 142
  },
  "luminance": 0.06652
}

Semantic roles & 50–950 ramp

primary
#12550C
secondary
#882D90
accent
#36F2E2
background
#F5F8F4
surface
#E9EFE7
border
#C5CAC3
text
#050B02
muted
#797C78

Preview Lab

Preview with #12550C

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

Preview Lab → · Contrast checker → · Palette generator →

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