#12511D#12511D

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

Color values

HEX#12511D
RGBrgb(18, 81, 29)
HSLhsl(130, 64%, 19%)
HSVhsv(130, 78%, 32%)
CMYKcmyk(77.8%, 0%, 64.2%, 68.2%)
CIE-LABlab(29.67, -31.88, 24.60)
CIE-LCHlch(29.67, 40.27, 142.35°)
OKLaboklab(38.31% -0.086 0.0582)
OKLCHoklch(38.31% 0.104 145.9)
XYZxyz(3.4134, 6.1018, 2.1600)
Luminance0.0610 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12511D #511246
analogous
#275112 #12511D #12513D
triadic
#12511D #1D1251 #511D12
tetradic
#12511D #122751 #511246 #513D12
square
#12511D #122751 #511246 #513D12
split-complementary
#12511D #3D1251 #511227
monochromatic
#061909 #071F0B #12511D #1D832F #28B541

Accessibility & contrast

On white

9.46
#12511D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #12511D
9.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12511D#FFFFFF#000000##FFFFFF
##12511D1.009.462.229.46
#FFFFFF9.461.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#524918
Deuteranopia (green-blind)
#4B4421
Tritanopia (blue-blind)
#004F46
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #12511d;
/* rgb */ color: rgb(18, 81, 29);
/* oklch */ color: oklch(38.3% 0.104 145.9);
Tailwind
colors: {
  custom: {
    50: '#5b835b',
    500: '#12511d',
    950: '#000000',
  },
}
SCSS
$custom: #12511d;
$custom-light: #5b835b;
$custom-dark: #000000;
JSON
{
  "hex": "#12511d",
  "rgb": {
    "r": 18,
    "g": 81,
    "b": 29
  },
  "hsl": {
    "h": 130.476,
    "s": 63.636,
    "l": 19.412
  },
  "oklch": {
    "l": 0.38308,
    "c": 0.10382,
    "h": 145.9
  },
  "luminance": 0.06102
}

Semantic roles & 50–950 ramp

primary
#12511D
secondary
#8A357B
accent
#41CAE7
background
#F5F8F5
surface
#E9EFE9
border
#C5CAC5
text
#040A04
muted
#797C79

Preview Lab

Preview with #12511D

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

Preview Lab → · Contrast checker → · Palette generator →

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