#12501C#12501C

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

Color values

HEX#12501C
RGBrgb(18, 80, 28)
HSLhsl(130, 63%, 19%)
HSVhsv(130, 78%, 31%)
CMYKcmyk(77.5%, 0%, 65%, 68.6%)
CIE-LABlab(29.28, -31.62, 24.69)
CIE-LCHlch(29.28, 40.12, 142.02°)
OKLaboklab(37.99% -0.0854 0.0583)
OKLCHoklch(37.99% 0.103 145.7)
XYZxyz(3.3275, 5.9494, 2.0714)
Luminance0.0595 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12501C #501246
analogous
#275012 #12501C #12503B
triadic
#12501C #1C1250 #501C12
tetradic
#12501C #122750 #501246 #503B12
square
#12501C #122750 #501246 #503B12
split-complementary
#12501C #3B1250 #501227
monochromatic
#061909 #071E0B #12501C #1D822D #28B43F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##12501C#FFFFFF#000000##FFFFFF
##12501C1.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)
#514817
Deuteranopia (green-blind)
#4A4320
Tritanopia (blue-blind)
#004E45
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #12501c;
/* rgb */ color: rgb(18, 80, 28);
/* oklch */ color: oklch(38.0% 0.103 145.7);
Tailwind
colors: {
  custom: {
    50: '#5b825a',
    500: '#12501c',
    950: '#000000',
  },
}
SCSS
$custom: #12501c;
$custom-light: #5b825a;
$custom-dark: #000000;
JSON
{
  "hex": "#12501c",
  "rgb": {
    "r": 18,
    "g": 80,
    "b": 28
  },
  "hsl": {
    "h": 129.677,
    "s": 63.265,
    "l": 19.216
  },
  "oklch": {
    "l": 0.37986,
    "c": 0.10334,
    "h": 145.7
  },
  "luminance": 0.0595
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #12501C

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

Preview Lab → · Contrast checker → · Palette generator →

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