#12501F#12501F

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

Color values

HEX#12501F
RGBrgb(18, 80, 31)
HSLhsl(133, 63%, 19%)
HSVhsv(133, 78%, 31%)
CMYKcmyk(77.5%, 0%, 61.2%, 68.6%)
CIE-LABlab(29.32, -31.17, 23.10)
CIE-LCHlch(29.32, 38.80, 143.46°)
OKLaboklab(38.03% -0.084 0.0551)
OKLCHoklch(38.03% 0.1 146.8)
XYZxyz(3.3652, 5.9645, 2.2700)
Luminance0.0597 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12501F #501243
analogous
#245012 #12501F #12503E
triadic
#12501F #1F1250 #501F12
tetradic
#12501F #122450 #501243 #503E12
square
#12501F #122450 #501243 #503E12
split-complementary
#12501F #3E1250 #501224
monochromatic
#06190A #071E0C #12501F #1D8232 #28B446

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##12501F#FFFFFF#000000##FFFFFF
##12501F1.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)
#51481A
Deuteranopia (green-blind)
#4A4323
Tritanopia (blue-blind)
#004E45
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #12501f;
/* rgb */ color: rgb(18, 80, 31);
/* oklch */ color: oklch(38.0% 0.100 146.8);
Tailwind
colors: {
  custom: {
    50: '#5a825c',
    500: '#12501f',
    950: '#000000',
  },
}
SCSS
$custom: #12501f;
$custom-light: #5a825c;
$custom-dark: #000000;
JSON
{
  "hex": "#12501f",
  "rgb": {
    "r": 18,
    "g": 80,
    "b": 31
  },
  "hsl": {
    "h": 132.581,
    "s": 63.265,
    "l": 19.216
  },
  "oklch": {
    "l": 0.3803,
    "c": 0.10047,
    "h": 146.8
  },
  "luminance": 0.05965
}

Semantic roles & 50–950 ramp

primary
#12501F
secondary
#893577
accent
#41C4E6
background
#F5F8F5
surface
#E9EFE9
border
#C5CAC5
text
#040A04
muted
#797C79

Preview Lab

Preview with #12501F

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

Preview Lab → · Contrast checker → · Palette generator →

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