#12501B#12501B

#12501B is a dark, moderate green. Relative luminance 0.059; OKLCH L 38.0% C 0.104 H 145.4°. Best body text is #FFFFFF at 9.59:1 contrast (WCAG AA passes).

Color values

HEX#12501B
RGBrgb(18, 80, 27)
HSLhsl(129, 63%, 19%)
HSVhsv(129, 78%, 31%)
CMYKcmyk(77.5%, 0%, 66.3%, 68.6%)
CIE-LABlab(29.27, -31.77, 25.20)
CIE-LCHlch(29.27, 40.55, 141.57°)
OKLaboklab(37.97% -0.0858 0.0593)
OKLCHoklch(37.97% 0.104 145.4)
XYZxyz(3.3157, 5.9447, 2.0094)
Luminance0.0595 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12501B #501247
analogous
#285012 #12501B #12503A
triadic
#12501B #1B1250 #501B12
tetradic
#12501B #122850 #501247 #503A12
square
#12501B #122850 #501247 #503A12
split-complementary
#12501B #3A1250 #501228
monochromatic
#061908 #071E0A #12501B #1D822C #28B43D

Accessibility & contrast

On white

9.59
#12501B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #12501B
9.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12501B#FFFFFF#000000##FFFFFF
##12501B1.009.592.199.59
#FFFFFF9.591.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.591.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #12501b;
/* rgb */ color: rgb(18, 80, 27);
/* oklch */ color: oklch(38.0% 0.104 145.4);
Tailwind
colors: {
  custom: {
    50: '#5b8259',
    500: '#12501b',
    950: '#000000',
  },
}
SCSS
$custom: #12501b;
$custom-light: #5b8259;
$custom-dark: #000000;
JSON
{
  "hex": "#12501b",
  "rgb": {
    "r": 18,
    "g": 80,
    "b": 27
  },
  "hsl": {
    "h": 128.71,
    "s": 63.265,
    "l": 19.216
  },
  "oklch": {
    "l": 0.37972,
    "c": 0.10426,
    "h": 145.4
  },
  "luminance": 0.05945
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #12501B

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

Preview Lab → · Contrast checker → · Palette generator →

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