#12502C#12502C

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

Color values

HEX#12502C
RGBrgb(18, 80, 44)
HSLhsl(145, 63%, 19%)
HSVhsv(145, 78%, 31%)
CMYKcmyk(77.5%, 0%, 45%, 68.6%)
CIE-LABlab(29.53, -28.77, 15.76)
CIE-LCHlch(29.53, 32.81, 151.28°)
OKLaboklab(38.27% -0.0776 0.0391)
OKLCHoklch(38.27% 0.087 153.2)
XYZxyz(3.5724, 6.0474, 3.3614)
Luminance0.0605 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12502C #501236
analogous
#175012 #12502C #12504B
triadic
#12502C #2C1250 #502C12
tetradic
#12502C #121750 #501236 #504B12
square
#12502C #121750 #501236 #504B12
split-complementary
#12502C #4B1250 #501217
monochromatic
#06190E #071E11 #12502C #1D8247 #28B463

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##12502C#FFFFFF#000000##FFFFFF
##12502C1.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)
#504929
Deuteranopia (green-blind)
#48432E
Tritanopia (blue-blind)
#004F47
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #12502c;
/* rgb */ color: rgb(18, 80, 44);
/* oklch */ color: oklch(38.3% 0.087 153.2);
Tailwind
colors: {
  custom: {
    50: '#5a8265',
    500: '#12502c',
    950: '#000000',
  },
}
SCSS
$custom: #12502c;
$custom-light: #5a8265;
$custom-dark: #000000;
JSON
{
  "hex": "#12502c",
  "rgb": {
    "r": 18,
    "g": 80,
    "b": 44
  },
  "hsl": {
    "h": 145.161,
    "s": 63.265,
    "l": 19.216
  },
  "oklch": {
    "l": 0.38271,
    "c": 0.08689,
    "h": 153.2
  },
  "luminance": 0.06048
}

Semantic roles & 50–950 ramp

primary
#12502C
secondary
#893566
accent
#41A1E6
background
#F5F8F6
surface
#E9EFEB
border
#C5CAC6
text
#040A05
muted
#797C7A

Preview Lab

Preview with #12502C

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

Preview Lab → · Contrast checker → · Palette generator →

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