#12501D#12501D

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

Color values

HEX#12501D
RGBrgb(18, 80, 29)
HSLhsl(131, 63%, 19%)
HSVhsv(131, 78%, 31%)
CMYKcmyk(77.5%, 0%, 63.7%, 68.6%)
CIE-LABlab(29.30, -31.48, 24.16)
CIE-LCHlch(29.30, 39.68, 142.49°)
OKLaboklab(38% -0.0849 0.0572)
OKLCHoklch(38% 0.102 146)
XYZxyz(3.3397, 5.9543, 2.1354)
Luminance0.0595 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12501D #501245
analogous
#265012 #12501D #12503C
triadic
#12501D #1D1250 #501D12
tetradic
#12501D #122650 #501245 #503C12
square
#12501D #122650 #501245 #503C12
split-complementary
#12501D #3C1250 #501226
monochromatic
#061909 #071E0B #12501D #1D822F #28B441

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##12501D#FFFFFF#000000##FFFFFF
##12501D1.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)
#514818
Deuteranopia (green-blind)
#4A4321
Tritanopia (blue-blind)
#004E45
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #12501d;
/* rgb */ color: rgb(18, 80, 29);
/* oklch */ color: oklch(38.0% 0.102 146.0);
Tailwind
colors: {
  custom: {
    50: '#5b825b',
    500: '#12501d',
    950: '#000000',
  },
}
SCSS
$custom: #12501d;
$custom-light: #5b825b;
$custom-dark: #000000;
JSON
{
  "hex": "#12501d",
  "rgb": {
    "r": 18,
    "g": 80,
    "b": 29
  },
  "hsl": {
    "h": 130.645,
    "s": 63.265,
    "l": 19.216
  },
  "oklch": {
    "l": 0.38,
    "c": 0.10239,
    "h": 146
  },
  "luminance": 0.05955
}

Semantic roles & 50–950 ramp

primary
#12501D
secondary
#89357A
accent
#41C9E6
background
#F5F8F5
surface
#E9EFE9
border
#C5CAC5
text
#040A04
muted
#797C79

Preview Lab

Preview with #12501D

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

Preview Lab → · Contrast checker → · Palette generator →

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