#12502D#12502D

#12502D is a dark, moderate green. Relative luminance 0.061; OKLCH L 38.3% C 0.086 H 153.9°. Best body text is #FFFFFF at 9.50:1 contrast (WCAG AA passes).

Color values

HEX#12502D
RGBrgb(18, 80, 45)
HSLhsl(146, 63%, 19%)
HSVhsv(146, 78%, 31%)
CMYKcmyk(77.5%, 0%, 43.7%, 68.6%)
CIE-LABlab(29.55, -28.56, 15.18)
CIE-LCHlch(29.55, 32.34, 152.01°)
OKLaboklab(38.29% -0.077 0.0378)
OKLCHoklch(38.29% 0.086 153.9)
XYZxyz(3.5914, 6.0550, 3.4616)
Luminance0.0605 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12502D #501235
analogous
#165012 #12502D #12504C
triadic
#12502D #2D1250 #502D12
tetradic
#12502D #121650 #501235 #504C12
square
#12502D #121650 #501235 #504C12
split-complementary
#12502D #4C1250 #501216
monochromatic
#06190E #071E11 #12502D #1D8249 #28B465

Accessibility & contrast

On white

9.50
#12502D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#12502D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #12502D
9.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12502D#FFFFFF#000000##FFFFFF
##12502D1.009.502.219.50
#FFFFFF9.501.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#50492B
Deuteranopia (green-blind)
#48432F
Tritanopia (blue-blind)
#004F47
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #12502d;
/* rgb */ color: rgb(18, 80, 45);
/* oklch */ color: oklch(38.3% 0.086 153.9);
Tailwind
colors: {
  custom: {
    50: '#5a8266',
    500: '#12502d',
    950: '#000000',
  },
}
SCSS
$custom: #12502d;
$custom-light: #5a8266;
$custom-dark: #000000;
JSON
{
  "hex": "#12502d",
  "rgb": {
    "r": 18,
    "g": 80,
    "b": 45
  },
  "hsl": {
    "h": 146.129,
    "s": 63.265,
    "l": 19.216
  },
  "oklch": {
    "l": 0.38293,
    "c": 0.08581,
    "h": 153.9
  },
  "luminance": 0.06055
}

Semantic roles & 50–950 ramp

primary
#12502D
secondary
#893564
accent
#419FE6
background
#F5F8F6
surface
#E9EFEB
border
#C5CAC6
text
#040A06
muted
#797C7A

Preview Lab

Preview with #12502D

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

Preview Lab → · Contrast checker → · Palette generator →

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