#12501E#12501E

#12501E is a dark, moderate green. Relative luminance 0.060; OKLCH L 38.0% C 0.101 H 146.4°. Best body text is #FFFFFF at 9.58:1 contrast (WCAG AA passes).

Color values

HEX#12501E
RGBrgb(18, 80, 30)
HSLhsl(132, 63%, 19%)
HSVhsv(132, 78%, 31%)
CMYKcmyk(77.5%, 0%, 62.5%, 68.6%)
CIE-LABlab(29.31, -31.33, 23.63)
CIE-LCHlch(29.31, 39.24, 142.97°)
OKLaboklab(38.02% -0.0845 0.0562)
OKLCHoklch(38.02% 0.101 146.4)
XYZxyz(3.3522, 5.9593, 2.2016)
Luminance0.0596 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12501E #501244
analogous
#255012 #12501E #12503D
triadic
#12501E #1E1250 #501E12
tetradic
#12501E #122550 #501244 #503D12
square
#12501E #122550 #501244 #503D12
split-complementary
#12501E #3D1250 #501225
monochromatic
#061909 #071E0B #12501E #1D8231 #28B443

Accessibility & contrast

On white

9.58
#12501E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#12501E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #12501E
9.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12501E#FFFFFF#000000##FFFFFF
##12501E1.009.582.199.58
#FFFFFF9.581.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#514819
Deuteranopia (green-blind)
#4A4322
Tritanopia (blue-blind)
#004E45
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #12501e;
/* rgb */ color: rgb(18, 80, 30);
/* oklch */ color: oklch(38.0% 0.101 146.4);
Tailwind
colors: {
  custom: {
    50: '#5b825b',
    500: '#12501e',
    950: '#000000',
  },
}
SCSS
$custom: #12501e;
$custom-light: #5b825b;
$custom-dark: #000000;
JSON
{
  "hex": "#12501e",
  "rgb": {
    "r": 18,
    "g": 80,
    "b": 30
  },
  "hsl": {
    "h": 131.613,
    "s": 63.265,
    "l": 19.216
  },
  "oklch": {
    "l": 0.38015,
    "c": 0.10144,
    "h": 146.4
  },
  "luminance": 0.0596
}

Semantic roles & 50–950 ramp

primary
#12501E
secondary
#893579
accent
#41C6E6
background
#F5F8F5
surface
#E9EFE9
border
#C5CAC5
text
#040A04
muted
#797C79

Preview Lab

Preview with #12501E

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

Preview Lab → · Contrast checker → · Palette generator →

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