#12502E#12502E

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

Color values

HEX#12502E
RGBrgb(18, 80, 46)
HSLhsl(147, 63%, 19%)
HSVhsv(147, 78%, 31%)
CMYKcmyk(77.5%, 0%, 42.5%, 68.6%)
CIE-LABlab(29.57, -28.34, 14.59)
CIE-LCHlch(29.57, 31.87, 152.76°)
OKLaboklab(38.32% -0.0765 0.0364)
OKLCHoklch(38.32% 0.085 154.6)
XYZxyz(3.6109, 6.0628, 3.5642)
Luminance0.0606 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12502E #501234
analogous
#155012 #12502E #12504D
triadic
#12502E #2E1250 #502E12
tetradic
#12502E #121550 #501234 #504D12
square
#12502E #121550 #501234 #504D12
split-complementary
#12502E #4D1250 #501215
monochromatic
#06190E #071E11 #12502E #1D824B #28B467

Accessibility & contrast

On white

9.49
#12502E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #12502E
9.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12502E#FFFFFF#000000##FFFFFF
##12502E1.009.492.219.49
#FFFFFF9.491.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#50492C
Deuteranopia (green-blind)
#484330
Tritanopia (blue-blind)
#004F47
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #12502e;
/* rgb */ color: rgb(18, 80, 46);
/* oklch */ color: oklch(38.3% 0.085 154.6);
Tailwind
colors: {
  custom: {
    50: '#5a8267',
    500: '#12502e',
    950: '#000000',
  },
}
SCSS
$custom: #12502e;
$custom-light: #5a8267;
$custom-dark: #000000;
JSON
{
  "hex": "#12502e",
  "rgb": {
    "r": 18,
    "g": 80,
    "b": 46
  },
  "hsl": {
    "h": 147.097,
    "s": 63.265,
    "l": 19.216
  },
  "oklch": {
    "l": 0.38315,
    "c": 0.08474,
    "h": 154.6
  },
  "luminance": 0.06063
}

Semantic roles & 50–950 ramp

primary
#12502E
secondary
#893563
accent
#419CE6
background
#F5F8F6
surface
#E9EFEB
border
#C5CAC6
text
#040A06
muted
#797C7A

Preview Lab

Preview with #12502E

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

Preview Lab → · Contrast checker → · Palette generator →

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