#12501A#12501A

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

Color values

HEX#12501A
RGBrgb(18, 80, 26)
HSLhsl(128, 63%, 19%)
HSVhsv(128, 78%, 31%)
CMYKcmyk(77.5%, 0%, 67.5%, 68.6%)
CIE-LABlab(29.26, -31.90, 25.71)
CIE-LCHlch(29.26, 40.98, 141.13°)
OKLaboklab(37.96% -0.0862 0.0603)
OKLCHoklch(37.96% 0.105 145)
XYZxyz(3.3043, 5.9401, 1.9495)
Luminance0.0594 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12501A #501248
analogous
#295012 #12501A #125039
triadic
#12501A #1A1250 #501A12
tetradic
#12501A #122950 #501248 #503912
square
#12501A #122950 #501248 #503912
split-complementary
#12501A #391250 #501229
monochromatic
#061908 #071E0A #12501A #1D822A #28B43A

Accessibility & contrast

On white

9.60
#12501A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #12501A
9.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12501A#FFFFFF#000000##FFFFFF
##12501A1.009.602.199.60
#FFFFFF9.601.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.601.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #12501a;
/* rgb */ color: rgb(18, 80, 26);
/* oklch */ color: oklch(38.0% 0.105 145.0);
Tailwind
colors: {
  custom: {
    50: '#5b8259',
    500: '#12501a',
    950: '#000000',
  },
}
SCSS
$custom: #12501a;
$custom-light: #5b8259;
$custom-dark: #000000;
JSON
{
  "hex": "#12501a",
  "rgb": {
    "r": 18,
    "g": 80,
    "b": 26
  },
  "hsl": {
    "h": 127.742,
    "s": 63.265,
    "l": 19.216
  },
  "oklch": {
    "l": 0.37959,
    "c": 0.10517,
    "h": 145
  },
  "luminance": 0.05941
}

Semantic roles & 50–950 ramp

primary
#12501A
secondary
#89357E
accent
#41D1E6
background
#F5F8F5
surface
#E9EFE9
border
#C5CAC5
text
#040A03
muted
#797C78

Preview Lab

Preview with #12501A

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

Preview Lab → · Contrast checker → · Palette generator →

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