#12502A#12502A

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

Color values

HEX#12502A
RGBrgb(18, 80, 42)
HSLhsl(143, 63%, 19%)
HSVhsv(143, 78%, 31%)
CMYKcmyk(77.5%, 0%, 47.5%, 68.6%)
CIE-LABlab(29.49, -29.19, 16.93)
CIE-LCHlch(29.49, 33.74, 149.89°)
OKLaboklab(38.23% -0.0786 0.0418)
OKLCHoklch(38.23% 0.089 152)
XYZxyz(3.5357, 6.0327, 3.1681)
Luminance0.0603 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12502A #501238
analogous
#195012 #12502A #125049
triadic
#12502A #2A1250 #502A12
tetradic
#12502A #121950 #501238 #504912
square
#12502A #121950 #501238 #504912
split-complementary
#12502A #491250 #501219
monochromatic
#06190D #071E10 #12502A #1D8244 #28B45E

Accessibility & contrast

On white

9.52
#12502A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #12502A
9.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12502A#FFFFFF#000000##FFFFFF
##12502A1.009.522.219.52
#FFFFFF9.521.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#504927
Deuteranopia (green-blind)
#49432D
Tritanopia (blue-blind)
#004F47
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #12502a;
/* rgb */ color: rgb(18, 80, 42);
/* oklch */ color: oklch(38.2% 0.089 152.0);
Tailwind
colors: {
  custom: {
    50: '#5a8264',
    500: '#12502a',
    950: '#000000',
  },
}
SCSS
$custom: #12502a;
$custom-light: #5a8264;
$custom-dark: #000000;
JSON
{
  "hex": "#12502a",
  "rgb": {
    "r": 18,
    "g": 80,
    "b": 42
  },
  "hsl": {
    "h": 143.226,
    "s": 63.265,
    "l": 19.216
  },
  "oklch": {
    "l": 0.38229,
    "c": 0.08904,
    "h": 152
  },
  "luminance": 0.06033
}

Semantic roles & 50–950 ramp

primary
#12502A
secondary
#893568
accent
#41A7E6
background
#F5F8F6
surface
#E9EFEB
border
#C5CAC6
text
#040A05
muted
#797C7A

Preview Lab

Preview with #12502A

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

Preview Lab → · Contrast checker → · Palette generator →

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