#12550F#12550F

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

Color values

HEX#12550F
RGBrgb(18, 85, 15)
HSLhsl(117, 70%, 20%)
HSVhsv(117, 82%, 33%)
CMYKcmyk(78.8%, 0%, 82.4%, 66.7%)
CIE-LABlab(31.02, -35.00, 32.61)
CIE-LCHlch(31.02, 47.84, 137.02°)
OKLaboklab(39.39% -0.0952 0.0733)
OKLCHoklch(39.39% 0.12 142.4)
XYZxyz(3.5840, 6.6597, 1.5484)
Luminance0.0666 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12550F #520F55
analogous
#35550F #12550F #0F552F
triadic
#12550F #0F1255 #550F12
tetradic
#12550F #0F3555 #520F55 #552F0F
square
#12550F #0F3555 #520F55 #552F0F
split-complementary
#12550F #2F0F55 #550F35
monochromatic
#061A05 #072106 #12550F #1D8918 #28BD21

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##12550F#FFFFFF#000000##FFFFFF
##12550F1.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)
#574C02
Deuteranopia (green-blind)
#504717
Tritanopia (blue-blind)
#005248
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #12550f;
/* rgb */ color: rgb(18, 85, 15);
/* oklch */ color: oklch(39.4% 0.120 142.4);
Tailwind
colors: {
  custom: {
    50: '#5d8653',
    500: '#12550f',
    950: '#000000',
  },
}
SCSS
$custom: #12550f;
$custom-light: #5d8653;
$custom-dark: #000000;
JSON
{
  "hex": "#12550f",
  "rgb": {
    "r": 18,
    "g": 85,
    "b": 15
  },
  "hsl": {
    "h": 117.429,
    "s": 70,
    "l": 19.608
  },
  "oklch": {
    "l": 0.39386,
    "c": 0.12013,
    "h": 142.4
  },
  "luminance": 0.0666
}

Semantic roles & 50–950 ramp

primary
#12550F
secondary
#8B318F
accent
#3BEDE5
background
#F5F8F4
surface
#E9EFE7
border
#C5CAC3
text
#050B03
muted
#797C78

Preview Lab

Preview with #12550F

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

Preview Lab → · Contrast checker → · Palette generator →

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