#12511E#12511E

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

Color values

HEX#12511E
RGBrgb(18, 81, 30)
HSLhsl(131, 64%, 19%)
HSVhsv(131, 78%, 32%)
CMYKcmyk(77.8%, 0%, 63%, 68.2%)
CIE-LABlab(29.68, -31.73, 24.07)
CIE-LCHlch(29.68, 39.83, 142.82°)
OKLaboklab(38.32% -0.0856 0.0571)
OKLCHoklch(38.32% 0.103 146.3)
XYZxyz(3.4260, 6.1068, 2.2262)
Luminance0.0611 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12511E #511245
analogous
#265112 #12511E #12513E
triadic
#12511E #1E1251 #511E12
tetradic
#12511E #122651 #511245 #513E12
square
#12511E #122651 #511245 #513E12
split-complementary
#12511E #3E1251 #511226
monochromatic
#061909 #071F0B #12511E #1D8331 #28B543

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##12511E#FFFFFF#000000##FFFFFF
##12511E1.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)
#524919
Deuteranopia (green-blind)
#4B4422
Tritanopia (blue-blind)
#004F46
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #12511e;
/* rgb */ color: rgb(18, 81, 30);
/* oklch */ color: oklch(38.3% 0.103 146.3);
Tailwind
colors: {
  custom: {
    50: '#5b835b',
    500: '#12511e',
    950: '#000000',
  },
}
SCSS
$custom: #12511e;
$custom-light: #5b835b;
$custom-dark: #000000;
JSON
{
  "hex": "#12511e",
  "rgb": {
    "r": 18,
    "g": 81,
    "b": 30
  },
  "hsl": {
    "h": 131.429,
    "s": 63.636,
    "l": 19.412
  },
  "oklch": {
    "l": 0.38322,
    "c": 0.10287,
    "h": 146.3
  },
  "luminance": 0.06107
}

Semantic roles & 50–950 ramp

primary
#12511E
secondary
#8A357A
accent
#41C7E7
background
#F5F8F5
surface
#E9EFE9
border
#C5CAC5
text
#040A04
muted
#797C79

Preview Lab

Preview with #12511E

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

Preview Lab → · Contrast checker → · Palette generator →

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