#12502F#12502F

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

Color values

HEX#12502F
RGBrgb(18, 80, 47)
HSLhsl(148, 63%, 19%)
HSVhsv(148, 78%, 31%)
CMYKcmyk(77.5%, 0%, 41.3%, 68.6%)
CIE-LABlab(29.59, -28.11, 14.00)
CIE-LCHlch(29.59, 31.41, 153.52°)
OKLaboklab(38.34% -0.076 0.035)
OKLCHoklch(38.34% 0.084 155.2)
XYZxyz(3.6309, 6.0707, 3.6692)
Luminance0.0607 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12502F #501233
analogous
#145012 #12502F #12504E
triadic
#12502F #2F1250 #502F12
tetradic
#12502F #121450 #501233 #504E12
square
#12502F #121450 #501233 #504E12
split-complementary
#12502F #4E1250 #501214
monochromatic
#06190F #071E12 #12502F #1D824C #28B46A

Accessibility & contrast

On white

9.48
#12502F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #12502F
9.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12502F#FFFFFF#000000##FFFFFF
##12502F1.009.482.219.48
#FFFFFF9.481.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#50492D
Deuteranopia (green-blind)
#484431
Tritanopia (blue-blind)
#004F48
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #12502f;
/* rgb */ color: rgb(18, 80, 47);
/* oklch */ color: oklch(38.3% 0.084 155.2);
Tailwind
colors: {
  custom: {
    50: '#5a8267',
    500: '#12502f',
    950: '#000000',
  },
}
SCSS
$custom: #12502f;
$custom-light: #5a8267;
$custom-dark: #000000;
JSON
{
  "hex": "#12502f",
  "rgb": {
    "r": 18,
    "g": 80,
    "b": 47
  },
  "hsl": {
    "h": 148.065,
    "s": 63.265,
    "l": 19.216
  },
  "oklch": {
    "l": 0.38338,
    "c": 0.08367,
    "h": 155.2
  },
  "luminance": 0.06071
}

Semantic roles & 50–950 ramp

primary
#12502F
secondary
#893562
accent
#4199E6
background
#F5F8F6
surface
#E9EFEB
border
#C5CAC6
text
#040A06
muted
#797C7A

Preview Lab

Preview with #12502F

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

Preview Lab → · Contrast checker → · Palette generator →

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