#12752C#12752C

#12752C is a mid, vivid green. Relative luminance 0.130; OKLCH L 49.3% C 0.139 H 146.9°. Best body text is #FFFFFF at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#12752C
RGBrgb(18, 117, 44)
HSLhsl(136, 73%, 26%)
HSVhsv(136, 85%, 46%)
CMYKcmyk(84.6%, 0%, 62.4%, 54.1%)
CIE-LABlab(42.81, -43.27, 32.12)
CIE-LCHlch(42.81, 53.89, 143.41°)
OKLaboklab(49.27% -0.1163 0.0758)
OKLCHoklch(49.27% 0.139 146.9)
XYZxyz(7.0648, 13.0322, 4.5255)
Luminance0.1303 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12752C #75125B
analogous
#2A7512 #12752C #12755E
triadic
#12752C #2C1275 #752C12
tetradic
#12752C #122A75 #75125B #755E12
square
#12752C #122A75 #75125B #755E12
split-complementary
#12752C #5E1275 #75122A
monochromatic
#041B0A #0A4018 #12752C #1AAA40 #24DD55

Accessibility & contrast

On white

5.82
#12752C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#12752C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #12752C
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12752C#FFFFFF#000000##FFFFFF
##12752C1.005.823.615.82
#FFFFFF5.821.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#776A24
Deuteranopia (green-blind)
#6C6232
Tritanopia (blue-blind)
#007265
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #12752c;
/* rgb */ color: rgb(18, 117, 44);
/* oklch */ color: oklch(49.3% 0.139 146.9);
Tailwind
colors: {
  custom: {
    50: '#649e68',
    500: '#12752c',
    950: '#000000',
  },
}
SCSS
$custom: #12752c;
$custom-light: #649e68;
$custom-dark: #000000;
JSON
{
  "hex": "#12752c",
  "rgb": {
    "r": 18,
    "g": 117,
    "b": 44
  },
  "hsl": {
    "h": 135.758,
    "s": 73.333,
    "l": 26.471
  },
  "oklch": {
    "l": 0.49266,
    "c": 0.13885,
    "h": 146.9
  },
  "luminance": 0.13033
}

Semantic roles & 50–950 ramp

primary
#12752C
secondary
#AC378D
accent
#38C0F0
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#060E06
muted
#7A7E7A

Preview Lab

Preview with #12752C

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

Preview Lab → · Contrast checker → · Palette generator →

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