#12502B#12502B

#12502B is a dark, moderate green. Relative luminance 0.060; OKLCH L 38.2% C 0.088 H 152.6°. Best body text is #FFFFFF at 9.51:1 contrast (WCAG AA passes).

Color values

HEX#12502B
RGBrgb(18, 80, 43)
HSLhsl(144, 63%, 19%)
HSVhsv(144, 78%, 31%)
CMYKcmyk(77.5%, 0%, 46.2%, 68.6%)
CIE-LABlab(29.51, -28.98, 16.34)
CIE-LCHlch(29.51, 33.27, 150.58°)
OKLaboklab(38.25% -0.0781 0.0405)
OKLCHoklch(38.25% 0.088 152.6)
XYZxyz(3.5539, 6.0399, 3.2636)
Luminance0.0604 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12502B #501237
analogous
#185012 #12502B #12504A
triadic
#12502B #2B1250 #502B12
tetradic
#12502B #121850 #501237 #504A12
square
#12502B #121850 #501237 #504A12
split-complementary
#12502B #4A1250 #501218
monochromatic
#06190D #071E10 #12502B #1D8246 #28B461

Accessibility & contrast

On white

9.51
#12502B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #12502B
9.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12502B#FFFFFF#000000##FFFFFF
##12502B1.009.512.219.51
#FFFFFF9.511.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#504928
Deuteranopia (green-blind)
#49432E
Tritanopia (blue-blind)
#004F47
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #12502b;
/* rgb */ color: rgb(18, 80, 43);
/* oklch */ color: oklch(38.2% 0.088 152.6);
Tailwind
colors: {
  custom: {
    50: '#5a8265',
    500: '#12502b',
    950: '#000000',
  },
}
SCSS
$custom: #12502b;
$custom-light: #5a8265;
$custom-dark: #000000;
JSON
{
  "hex": "#12502b",
  "rgb": {
    "r": 18,
    "g": 80,
    "b": 43
  },
  "hsl": {
    "h": 144.194,
    "s": 63.265,
    "l": 19.216
  },
  "oklch": {
    "l": 0.38249,
    "c": 0.08797,
    "h": 152.6
  },
  "luminance": 0.0604
}

Semantic roles & 50–950 ramp

primary
#12502B
secondary
#893567
accent
#41A4E6
background
#F5F8F6
surface
#E9EFEB
border
#C5CAC6
text
#040A05
muted
#797C7A

Preview Lab

Preview with #12502B

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

Preview Lab → · Contrast checker → · Palette generator →

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