#12511F#12511F

#12511F is a dark, moderate green. Relative luminance 0.061; OKLCH L 38.3% C 0.102 H 146.6°. Best body text is #FFFFFF at 9.45:1 contrast (WCAG AA passes).

Color values

HEX#12511F
RGBrgb(18, 81, 31)
HSLhsl(132, 64%, 19%)
HSVhsv(132, 78%, 32%)
CMYKcmyk(77.8%, 0%, 61.7%, 68.2%)
CIE-LABlab(29.69, -31.58, 23.54)
CIE-LCHlch(29.69, 39.39, 143.30°)
OKLaboklab(38.34% -0.0851 0.056)
OKLCHoklch(38.34% 0.102 146.6)
XYZxyz(3.4390, 6.1120, 2.2946)
Luminance0.0611 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12511F #511244
analogous
#255112 #12511F #12513F
triadic
#12511F #1F1251 #511F12
tetradic
#12511F #122551 #511244 #513F12
square
#12511F #122551 #511244 #513F12
split-complementary
#12511F #3F1251 #511225
monochromatic
#06190A #071F0C #12511F #1D8332 #28B545

Accessibility & contrast

On white

9.45
#12511F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#12511F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #12511F
9.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12511F#FFFFFF#000000##FFFFFF
##12511F1.009.452.229.45
#FFFFFF9.451.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#52491A
Deuteranopia (green-blind)
#4B4423
Tritanopia (blue-blind)
#004F46
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #12511f;
/* rgb */ color: rgb(18, 81, 31);
/* oklch */ color: oklch(38.3% 0.102 146.6);
Tailwind
colors: {
  custom: {
    50: '#5b835c',
    500: '#12511f',
    950: '#000000',
  },
}
SCSS
$custom: #12511f;
$custom-light: #5b835c;
$custom-dark: #000000;
JSON
{
  "hex": "#12511f",
  "rgb": {
    "r": 18,
    "g": 81,
    "b": 31
  },
  "hsl": {
    "h": 132.381,
    "s": 63.636,
    "l": 19.412
  },
  "oklch": {
    "l": 0.38337,
    "c": 0.10191,
    "h": 146.6
  },
  "luminance": 0.06112
}

Semantic roles & 50–950 ramp

primary
#12511F
secondary
#8A3578
accent
#41C5E7
background
#F5F8F5
surface
#E9EFE9
border
#C5CAC5
text
#040A04
muted
#797C79

Preview Lab

Preview with #12511F

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

Preview Lab → · Contrast checker → · Palette generator →

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